[75200] trunk/dports/devel/redo/Portfile
singingwolfboy at macports.org
singingwolfboy at macports.org
Mon Jan 17 17:57:07 PST 2011
Revision: 75200
http://trac.macports.org/changeset/75200
Author: singingwolfboy at macports.org
Date: 2011-01-17 17:57:00 -0800 (Mon, 17 Jan 2011)
Log Message:
-----------
redo: rewrite shebang lines to refer to prefix
Modified Paths:
--------------
trunk/dports/devel/redo/Portfile
Modified: trunk/dports/devel/redo/Portfile
===================================================================
--- trunk/dports/devel/redo/Portfile 2011-01-18 01:36:48 UTC (rev 75199)
+++ trunk/dports/devel/redo/Portfile 2011-01-18 01:57:00 UTC (rev 75200)
@@ -35,7 +35,9 @@
including jobserver compatibility with make -j\; \
oh, and you can write a plug-compatible toy implementation in 100 lines of shell.
-use_configure no
+configure {
+ eval reinplace "s|#!/usr/|#!${prefix}/|" [glob ${worksrcpath}/*]
+}
build.cmd ${worksrcpath}/${name}
destroot.destdir ""
destroot.env-append DESTDIR=${destroot} PREFIX=${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110117/3f8d7710/attachment-0001.html>
More information about the macports-changes
mailing list