[39106] trunk/dports/lang
simon at macports.org
simon at macports.org
Fri Aug 8 02:35:34 PDT 2008
Revision: 39106
http://trac.macosforge.org/projects/macports/changeset/39106
Author: simon at macports.org
Date: 2008-08-08 02:35:34 -0700 (Fri, 08 Aug 2008)
Log Message:
-----------
lang/lua50: New port, lua 5.0.3, necessary for elinks.
Modified Paths:
--------------
trunk/dports/lang/lua50/Portfile
Added Paths:
-----------
trunk/dports/lang/lua50/
Copied: trunk/dports/lang/lua50 (from rev 9130, trunk/dports/lang/lua)
Modified: trunk/dports/lang/lua50/Portfile
===================================================================
--- trunk/dports/lang/lua/Portfile 2004-11-03 19:30:28 UTC (rev 9130)
+++ trunk/dports/lang/lua50/Portfile 2008-08-08 09:35:34 UTC (rev 39106)
@@ -1,21 +1,22 @@
# $Id: Portfile,v 1.4 2004/11/03 19:30:27 rshaw Exp $
PortSystem 1.0
-name lua
-version 5.0.2
-revision 1
+
+name lua50
+version 5.0.3
categories lang
-maintainers anselmg at t-online.de
+maintainers simon openmaintainer
description powerfull, light-weight programming language
long_description Lua is a powerful, light-weight programming language \
designed for extending applications. Lua is also frequently \
- used as a general-purpose, stand-alone language.
+ used as a general-purpose, stand-alone language.
platforms darwin
homepage http://www.lua.org
master_sites ${homepage}/ftp/
-checksums md5 dea74646b7e5c621fef7174df83c34b1
+checksums md5 feee27132056de2949ce499b0ef4c480
+distname lua-${version}
-depends_lib lib:libreadline:readline
+depends_lib port:readline
patchfiles patch-config \
patch-Makefile
@@ -28,27 +29,23 @@
destroot.target install dylibinstall
post-destroot {
- cd ${worksrcpath}
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
- xinstall -m 0644 README ${destroot}${prefix}/share/doc/${name}
- xinstall -m 0644 COPYRIGHT ${destroot}${prefix}/share/doc/${name}
- xinstall -m 0644 HISTORY ${destroot}${prefix}/share/doc/${name}
+ xinstall -W ${worksrcpath} -m 0644 README ${destroot}${prefix}/share/doc/${name}
+ xinstall -W ${worksrcpath} -m 0644 COPYRIGHT ${destroot}${prefix}/share/doc/${name}
+ xinstall -W ${worksrcpath} -m 0644 HISTORY ${destroot}${prefix}/share/doc/${name}
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}/html
foreach html [glob doc/*.html doc/*.gif] {
- xinstall -m 0644 ${html} ${destroot}${prefix}/share/doc/${name}/html
+ xinstall -W ${worksrcpath} -m 0644 ${html} ${destroot}${prefix}/share/doc/${name}/html
}
xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}/test
foreach test [glob test/README test/*.lua] {
- xinstall -m 0644 ${test} ${destroot}${prefix}/share/doc/${name}/test
+ xinstall -W ${worksrcpath} -m 0644 ${test} ${destroot}${prefix}/share/doc/${name}/test
}
}
test.run yes
test.env DYLD_LIBRARY_PATH=./lib
-variant static {
- build.target all
- destroot.target install
- test.env
-}
-
+livecheck.check regex
+livecheck.url ${master_sites}
+livecheck.regex "lua-(5.0(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080808/b180769c/attachment.html
More information about the macports-changes
mailing list