Hi,

I'm using the latest versions of MacPorts, Xcode, and PackageMaker. I have a 
portfile where I define:

post-pkg {
        set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
        file copy -force -- 
${workpath}/${worksrcdir}/scripts/macosx/License.html ${resources}
        file copy -force -- 
${workpath}/${worksrcdir}/scripts/macosx/ReadMe.html ${resources}
        file copy -force -- 
${workpath}/${worksrcdir}/scripts/macosx/Welcome.html ${resources}
        file copy -force -- ${workpath}/${worksrcdir}/scripts/macosx/postflight 
${resources}
}

Trying to create a package fails with the error:

Error: org.macports.pkg for port logtalk returned: error copying 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_logtalk/logtalk/work/lgt2441/scripts/macosx/License.html"
 to 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_logtalk/logtalk/work/logtalk-2.44.1.pkg/Contents/Resources/":
 not a directory

This worked before so I guess something change in the latest MacPorts and/or 
PackageMaker versions. Any hints?

Cheers,

Paulo


-----------------------------------------------------------------
Paulo Jorge Lopes de Moura, PhD
Assistant Professor
Dep. of Computer Science, University of Beira Interior
6201-001 Covilhã, Portugal

Office 3.18  Ext. 3276
Phone: +351 275 242081 Fax: +351 275 319899
Email: <mailto:[email protected]>

Home page: <http://www.di.ubi.pt/~pmoura>
Research:  <http://logtalk.org/> Blog: <http://blog.logtalk.org/>
-----------------------------------------------------------------








_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to