[38839] trunk/dports/aqua

jmr at macports.org jmr at macports.org
Fri Aug 1 02:20:41 PDT 2008


Revision: 38839
          http://trac.macosforge.org/projects/macports/changeset/38839
Author:   jmr at macports.org
Date:     2008-08-01 02:20:41 -0700 (Fri, 01 Aug 2008)
Log Message:
-----------
dnsupdate, dnsupdate27: use ${applications_dir} instead of assuming /Applications/MacPorts

Modified Paths:
--------------
    trunk/dports/aqua/dnsupdate/Portfile
    trunk/dports/aqua/dnsupdate27/Portfile

Modified: trunk/dports/aqua/dnsupdate/Portfile
===================================================================
--- trunk/dports/aqua/dnsupdate/Portfile	2008-08-01 09:19:48 UTC (rev 38838)
+++ trunk/dports/aqua/dnsupdate/Portfile	2008-08-01 09:20:41 UTC (rev 38839)
@@ -73,10 +73,15 @@
 
 xcode.target	All
 
+# Can be removed once MacPorts 1.7.0 is released
+if {![info exists applications_dir]} {
+    set applications_dir /Applications/MacPorts
+}
+
 destroot {
 	# Install DNSUpdate application
 	set appName DNSUpdate
-	set appPath ${destroot}/Applications/MacPorts
+	set appPath ${destroot}${applications_dir}
 	xinstall -d -m 0755 ${appPath}
 	file copy ${worksrcpath}/build/Deployment/${appName}.app ${appPath}/${appName}.app
 

Modified: trunk/dports/aqua/dnsupdate27/Portfile
===================================================================
--- trunk/dports/aqua/dnsupdate27/Portfile	2008-08-01 09:19:48 UTC (rev 38838)
+++ trunk/dports/aqua/dnsupdate27/Portfile	2008-08-01 09:20:41 UTC (rev 38839)
@@ -67,10 +67,15 @@
 
 xcode.target		All
 
+# Can be removed once MacPorts 1.7.0 is released
+if {![info exists applications_dir]} {
+    set applications_dir /Applications/MacPorts
+}
+
 destroot {
 	# Install DNSUpdate application
 	set appName DNSUpdate
-	set appPath ${destroot}/Applications/MacPorts
+	set appPath ${destroot}${applications_dir}
 	xinstall -d -m 0755 ${appPath}
 	file copy ${worksrcpath}/build/${appName}.app ${appPath}/${appName}.app
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/7dc57e07/attachment.html 


More information about the macports-changes mailing list