[38908] trunk/dports/aqua/IcyJuice/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Aug 2 02:26:08 PDT 2008


Revision: 38908
          http://trac.macosforge.org/projects/macports/changeset/38908
Author:   ryandesign at macports.org
Date:     2008-08-02 02:26:08 -0700 (Sat, 02 Aug 2008)
Log Message:
-----------
IcyJuice: use ${applications_dir}

Modified Paths:
--------------
    trunk/dports/aqua/IcyJuice/Portfile

Modified: trunk/dports/aqua/IcyJuice/Portfile
===================================================================
--- trunk/dports/aqua/IcyJuice/Portfile	2008-08-02 09:22:34 UTC (rev 38907)
+++ trunk/dports/aqua/IcyJuice/Portfile	2008-08-02 09:26:08 UTC (rev 38908)
@@ -41,10 +41,15 @@
 build.args		"-project \"${my_name}.xcodeproj\""
 destroot.args	"-project \"${my_name}.xcodeproj\""
 
+# Can be removed once MacPorts 1.7.0 is released
+if {![info exists applications_dir]} {
+    set applications_dir /Applications/MacPorts
+}
+
 post-destroot {
-	xinstall -d ${destroot}/Applications/MacPorts
+	xinstall -d ${destroot}${applications_dir}
 	copy ${worksrcpath}/build/${xcode.configuration}/${my_name}.app \
-		${destroot}/Applications/MacPorts
+		${destroot}${applications_dir}
 }
 
 livecheck.check	regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/094d74b5/attachment-0001.html 


More information about the macports-changes mailing list