[38843] trunk/dports/aqua/istumbler/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Aug 1 02:37:22 PDT 2008
Revision: 38843
http://trac.macosforge.org/projects/macports/changeset/38843
Author: ryandesign at macports.org
Date: 2008-08-01 02:37:22 -0700 (Fri, 01 Aug 2008)
Log Message:
-----------
istumbler:
* use ${applications_dir}; don't assume /Applications/MacPorts
* create directory using xinstall -d instead of file mkdir
Modified Paths:
--------------
trunk/dports/aqua/istumbler/Portfile
Modified: trunk/dports/aqua/istumbler/Portfile
===================================================================
--- trunk/dports/aqua/istumbler/Portfile 2008-08-01 09:31:48 UTC (rev 38842)
+++ trunk/dports/aqua/istumbler/Portfile 2008-08-01 09:37:22 UTC (rev 38843)
@@ -43,6 +43,11 @@
default_variants +use_binary
}
+# Can be removed once MacPorts 1.7.0 is released
+if {![info exists applications_dir]} {
+ set applications_dir /Applications/MacPorts
+}
+
variant use_binary conflicts use_source description {Install from binary distribution (default)} {
distname ${name}-${version}
checksums \
@@ -53,8 +58,8 @@
use_configure no
build {}
destroot {
- file mkdir ${destroot}/Applications/MacPorts
- file copy ${workpath}/iStumbler.app ${destroot}/Applications/MacPorts
+ xinstall -d ${destroot}${applications_dir}
+ file copy ${workpath}/iStumbler.app ${destroot}${applications_dir}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080801/1aa7fcdd/attachment.html
More information about the macports-changes
mailing list