[38909] trunk/dports/aqua/fugu/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Aug 2 02:29:12 PDT 2008


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

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

Modified: trunk/dports/aqua/fugu/Portfile
===================================================================
--- trunk/dports/aqua/fugu/Portfile	2008-08-02 09:26:08 UTC (rev 38908)
+++ trunk/dports/aqua/fugu/Portfile	2008-08-02 09:29:12 UTC (rev 38909)
@@ -37,10 +37,15 @@
 		${worksrcpath}/Fugu.pbproj/project.pbxproj
 }
 
+# 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/UninstalledProducts/${my_name}.app \
-		${destroot}/Applications/MacPorts
+		${destroot}${applications_dir}
 }
 
 variant universal {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/6751c121/attachment-0001.html 


More information about the macports-changes mailing list