[23745] trunk/dports/lang/lua/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Sun Apr 8 03:18:15 PDT 2007
Revision: 23745
http://trac.macosforge.org/projects/macports/changeset/23745
Author: pmq at macports.org
Date: 2007-04-08 03:18:15 -0700 (Sun, 08 Apr 2007)
Log Message:
-----------
Closes #11738.
Submitted by: chpickel at stwing.upenn.edu
Approved by: pmq@
Modified Paths:
--------------
trunk/dports/lang/lua/Portfile
Modified: trunk/dports/lang/lua/Portfile
===================================================================
--- trunk/dports/lang/lua/Portfile 2007-04-08 07:34:51 UTC (rev 23744)
+++ trunk/dports/lang/lua/Portfile 2007-04-08 10:18:15 UTC (rev 23745)
@@ -4,7 +4,7 @@
name lua
version 5.1.1
-revision 2
+revision 3
categories lang
platforms darwin
maintainers pmq at macports.org openmaintainer at macports.org
@@ -33,6 +33,8 @@
reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/src/luaconf.h
# to complement the use_readline patch
reinplace "s|MYLDFLAGS=|MYLDFLAGS=-L${prefix}/lib|" ${worksrcpath}/src/Makefile
+ # for the pkgconfig file
+ reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/etc/lua.pc
}
destroot.target install INSTALL_TOP=${destroot}/${prefix}
@@ -50,6 +52,8 @@
foreach test [glob test/README test/*.lua] {
xinstall -m 0644 ${test} ${destroot}${prefix}/share/doc/${name}/test
}
+ xinstall -d -m 0755 ${destroot}${prefix}/lib/pkgconfig
+ xinstall -m 0644 etc/lua.pc ${destroot}${prefix}/lib/pkgconfig/lua.pc
}
variant static {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070408/af0a9ef5/attachment.html
More information about the macports-changes
mailing list