[105758] trunk/dports/lang/luajit/Portfile
and.damore at macports.org
and.damore at macports.org
Sun May 5 01:11:40 PDT 2013
Revision: 105758
https://trac.macports.org/changeset/105758
Author: and.damore at macports.org
Date: 2013-05-05 01:11:40 -0700 (Sun, 05 May 2013)
Log Message:
-----------
port luajit: using make arguments rather than file patching
Modified Paths:
--------------
trunk/dports/lang/luajit/Portfile
Modified: trunk/dports/lang/luajit/Portfile
===================================================================
--- trunk/dports/lang/luajit/Portfile 2013-05-05 06:10:32 UTC (rev 105757)
+++ trunk/dports/lang/luajit/Portfile 2013-05-05 08:11:40 UTC (rev 105758)
@@ -18,13 +18,8 @@
sha1 330492aa5366e4e60afeec72f15e44df8a794db5 \
rmd160 99b6ef067a3f09865ff312baeb1ceb012bb9acb3
-post-patch {
- reinplace "s|/usr/local|${prefix}|g" \
- ${worksrcpath}/etc/luajit.pc \
- ${worksrcpath}/Makefile \
- ${worksrcpath}/src/luaconf.h \
- ${worksrcpath}/src/Makefile
-}
+build.post_args-append PREFIX=$prefix
+destroot.post_args-append PREFIX=$prefix
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130505/a064c94b/attachment.html>
More information about the macports-changes
mailing list