[77087] trunk/dports/lang/lua/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Mar 19 21:09:28 PDT 2011
Revision: 77087
http://trac.macports.org/changeset/77087
Author: ryandesign at macports.org
Date: 2011-03-19 21:09:26 -0700 (Sat, 19 Mar 2011)
Log Message:
-----------
lua: simplify portfile by combining multiple reinplaces
Modified Paths:
--------------
trunk/dports/lang/lua/Portfile
Modified: trunk/dports/lang/lua/Portfile
===================================================================
--- trunk/dports/lang/lua/Portfile 2011-03-20 00:57:52 UTC (rev 77086)
+++ trunk/dports/lang/lua/Portfile 2011-03-20 04:09:26 UTC (rev 77087)
@@ -28,15 +28,12 @@
patchfiles patch-dlopen.diff
patch.args -p1
post-patch {
- reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile
- reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/src/luaconf.h
+ reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile ${worksrcpath}/src/luaconf.h
reinplace "s|/man/man1|/share/man/man1|g" ${worksrcpath}/Makefile
# reinplace %VERSION% and %COMPAT_VERSION% after applying patch-dlopen.diff
- reinplace "s|%VERSION%|${version}|g" ${worksrcpath}/Makefile
- reinplace "s|%VERSION%|${version}|g" ${worksrcpath}/src/Makefile
- reinplace "s|%COMPAT_VERSION%|${compat_version}|g" ${worksrcpath}/Makefile
- reinplace "s|%COMPAT_VERSION%|${compat_version}|g" ${worksrcpath}/src/Makefile
+ reinplace "s|%VERSION%|${version}|g" ${worksrcpath}/Makefile ${worksrcpath}/src/Makefile
+ reinplace "s|%COMPAT_VERSION%|${compat_version}|g" ${worksrcpath}/Makefile ${worksrcpath}/src/Makefile
# reinplace %PREFIX% to fix @executable_path, cf. ticket no. 28726
reinplace "s|%PREFIX%|${prefix}|g" ${worksrcpath}/src/Makefile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110319/d17334b5/attachment.html>
More information about the macports-changes
mailing list