[40544] trunk/dports/aqua/a52decX/Portfile
jmr at macports.org
jmr at macports.org
Mon Oct 6 12:10:29 PDT 2008
Revision: 40544
http://trac.macports.org/changeset/40544
Author: jmr at macports.org
Date: 2008-10-06 12:10:29 -0700 (Mon, 06 Oct 2008)
Log Message:
-----------
a52decX: don't use cd, and respect applications_dir
Modified Paths:
--------------
trunk/dports/aqua/a52decX/Portfile
Modified: trunk/dports/aqua/a52decX/Portfile
===================================================================
--- trunk/dports/aqua/a52decX/Portfile 2008-10-06 19:01:27 UTC (rev 40543)
+++ trunk/dports/aqua/a52decX/Portfile 2008-10-06 19:10:29 UTC (rev 40544)
@@ -26,10 +26,13 @@
patchfiles patch-a52decX.pbproj-project.pbxproj
+if {![info exists applications_dir]} {
+ set applications_dir /Applications/MacPorts
+}
post-destroot {
- cd ${destroot}/Applications/MacPorts/${name}.app/Contents/Resources
+ set resdir ${destroot}${applications_dir}/${name}.app/Contents/Resources
foreach {exe} {a52dec lame} {
- ln -s ${prefix}/bin/${exe}
+ ln -s ${prefix}/bin/${exe} ${resdir}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081006/67124a2d/attachment.html
More information about the macports-changes
mailing list