[119852] trunk/dports/devel/gource/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu May 8 05:15:13 PDT 2014
Revision: 119852
https://trac.macports.org/changeset/119852
Author: ryandesign at macports.org
Date: 2014-05-08 05:15:13 -0700 (Thu, 08 May 2014)
Log Message:
-----------
gource: patch in post-patch, not post-extract
Modified Paths:
--------------
trunk/dports/devel/gource/Portfile
Modified: trunk/dports/devel/gource/Portfile
===================================================================
--- trunk/dports/devel/gource/Portfile 2014-05-08 04:38:57 UTC (rev 119851)
+++ trunk/dports/devel/gource/Portfile 2014-05-08 12:15:13 UTC (rev 119852)
@@ -37,7 +37,7 @@
# gource's configure script assumes gnu 'sed -e' and 'tac' which are not included on
# darwin so we replace 'tac' with 'awk' and 'sed -e' with 'perl -pe'
-post-extract {
+post-patch {
reinplace "s, tac, awk '1 { last = NR; line\[last\] = \$0; } END { for (i = last; i > 0; i--) { print line\[i\]; } }'," ${worksrcpath}/configure
reinplace "s,sed -e 's;^lib\\\\(boost_system.*\\\\)\\\\.\\\\(so\\\\|a\\\\),perl -pe 's;^lib(boost_system.*)\\\\.(dylib|so|a)," ${worksrcpath}/configure
reinplace "s,sed -e 's;^lib\\\\(boost_filesystem.*\\\\)\\\\.\\\\(dylib\\\\|a\\\\|so\\\\),perl -pe 's;^lib(boost_filesystem.*)\\\\.(dylib|so|a)," ${worksrcpath}/configure
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140508/4fa5d905/attachment.html>
More information about the macports-changes
mailing list