[70137] trunk/dports/sysutils/zeroinstall-injector/Portfile
afb at macports.org
afb at macports.org
Fri Jul 30 01:59:12 PDT 2010
Revision: 70137
http://trac.macports.org/changeset/70137
Author: afb at macports.org
Date: 2010-07-30 01:59:07 -0700 (Fri, 30 Jul 2010)
Log Message:
-----------
use absolute path and version suffix for running python (#16511)
avoids user error with not having PATH nor python_select set up
Modified Paths:
--------------
trunk/dports/sysutils/zeroinstall-injector/Portfile
Modified: trunk/dports/sysutils/zeroinstall-injector/Portfile
===================================================================
--- trunk/dports/sysutils/zeroinstall-injector/Portfile 2010-07-30 08:00:00 UTC (rev 70136)
+++ trunk/dports/sysutils/zeroinstall-injector/Portfile 2010-07-30 08:59:07 UTC (rev 70137)
@@ -4,6 +4,7 @@
name zeroinstall-injector
version 0.41.1
+revision 1
platforms darwin freebsd linux
categories sysutils
maintainers afb
@@ -36,5 +37,10 @@
destroot.cmd ${prefix}/bin/python2.5 setup.py
destroot.destdir --prefix=${prefix} --skip-build --root=${destroot}
+post-destroot {
+ reinplace "s|/usr/bin/env python|${prefix}/bin/python2.5|" \
+ ${destroot}${prefix}/lib/python2.5/site-packages/zeroinstall/0launch-gui/0launch-gui
+}
+
livecheck.name zero-install
livecheck.distname injector
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100730/eeb282ed/attachment.html>
More information about the macports-changes
mailing list