[38915] trunk/dports/aqua/DesktopManager/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Aug 2 04:04:03 PDT 2008


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

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

Modified: trunk/dports/aqua/DesktopManager/Portfile
===================================================================
--- trunk/dports/aqua/DesktopManager/Portfile	2008-08-02 10:52:12 UTC (rev 38914)
+++ trunk/dports/aqua/DesktopManager/Portfile	2008-08-02 11:04:03 UTC (rev 38915)
@@ -26,12 +26,17 @@
 
 xcode.destroot.settings	SKIP_INSTALL=yes
 
+# 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/Desktop Manager.app" \
-		${destroot}/Applications/MacPorts
+		${destroot}${applications_dir}
 
-	eval delete [glob "${destroot}/Applications/MacPorts/Desktop Manager.app/Contents/{PlugIns,Resources/*}/*.bundle/*.bundle"]
+	eval delete [glob "${destroot}${applications_dir}/Desktop Manager.app/Contents/{PlugIns,Resources/*}/*.bundle/*.bundle"]
 }
 
 livecheck.check	regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080802/f138ec0a/attachment-0001.html 


More information about the macports-changes mailing list