Modified: trunk/dports/net/gajim-devel/Portfile (39573 => 39574)
--- trunk/dports/net/gajim-devel/Portfile 2008-08-25 17:18:20 UTC (rev 39573)
+++ trunk/dports/net/gajim-devel/Portfile 2008-08-25 17:41:56 UTC (rev 39574)
@@ -71,14 +71,19 @@
--disable-remote \
CC=gcc CPP=cpp CXX=g++
+# Can be removed once MacPorts 1.7.0 is released
+if {![info exists applications_dir]} {
+ set applications_dir /Applications/MacPorts
+}
+
destroot {
system "cd ${worksrcpath} && ${prefix}/bin/python2.5 setup_osx.py build"
- xinstall -d ${destroot}/Applications/MacPorts
+ xinstall -d ${destroot}${applications_dir}
file rename ${worksrcpath}/dist/Gajim.app \
- ${destroot}/Applications/MacPorts/
+ ${destroot}${applications_dir}/
ui_msg "********************************************************"
- ui_msg "*** Gajim has been installed to /Application/MacPorts **"
- ui_msg "*** Double click Gajim.app to start using it. **"
+ ui_msg "* Gajim has been installed to ${applications_dir}"
+ ui_msg "* Double click Gajim.app to start using it."
ui_msg "********************************************************"
}