[66883] trunk/dports/net/pastebinit/Portfile
mnick at macports.org
mnick at macports.org
Sat Apr 24 12:48:29 PDT 2010
Revision: 66883
http://trac.macports.org/changeset/66883
Author: mnick at macports.org
Date: 2010-04-24 12:48:27 -0700 (Sat, 24 Apr 2010)
Log Message:
-----------
don't hardcode /opt/local
Modified Paths:
--------------
trunk/dports/net/pastebinit/Portfile
Modified: trunk/dports/net/pastebinit/Portfile
===================================================================
--- trunk/dports/net/pastebinit/Portfile 2010-04-24 19:47:57 UTC (rev 66882)
+++ trunk/dports/net/pastebinit/Portfile 2010-04-24 19:48:27 UTC (rev 66883)
@@ -29,7 +29,7 @@
depends_lib-append port:py26-configobj
post-patch {
- reinplace "s|^#!/usr/bin/python|#!/opt/local/bin/python2.6|" ${worksrcpath}/pastebinit
+ reinplace "s|^#!/usr/bin/python|#!${prefix}/bin/python2.6|" ${worksrcpath}/pastebinit
}
build {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100424/2cf41dc8/attachment.html>
More information about the macports-changes
mailing list