[117743] trunk/dports/devel/lua-luaexpat
snc at macports.org
snc at macports.org
Mon Mar 10 11:58:48 PDT 2014
Revision: 117743
https://trac.macports.org/changeset/117743
Author: snc at macports.org
Date: 2014-03-10 11:58:48 -0700 (Mon, 10 Mar 2014)
Log Message:
-----------
lua-luaexpat: update to 1.2.0, #41846
Modified Paths:
--------------
trunk/dports/devel/lua-luaexpat/Portfile
trunk/dports/devel/lua-luaexpat/files/config-patch.diff
Modified: trunk/dports/devel/lua-luaexpat/Portfile
===================================================================
--- trunk/dports/devel/lua-luaexpat/Portfile 2014-03-10 18:32:19 UTC (rev 117742)
+++ trunk/dports/devel/lua-luaexpat/Portfile 2014-03-10 18:58:48 UTC (rev 117743)
@@ -4,8 +4,8 @@
PortSystem 1.0
name lua-luaexpat
-version 1.1
-revision 0
+version 1.2.0
+set buildhash 30c2491fe44a
categories devel
license MIT
platforms darwin
@@ -14,16 +14,18 @@
long_description LuaExpat is a SAX XML parser based on the Expat library. \
LuaExpat is free software and uses the same license as Lua 5.1.
homepage http://www.keplerproject.org/luaexpat/index.html
-master_sites http://luaforge.net/frs/download.php/2469/
-distname luaexpat-${version}
+master_sites http://code.matthewwild.co.uk/lua-expat/archive
+distname ${buildhash}
use_configure no
-checksums md5 6ecb895ccf5cff1e7f2facd438b1f8d0 \
- sha1 ea359bdbd346ee378c47179a17ac3ee410be5c9d \
- rmd160 f661c0e7f22363f51862187e96306498addea9d9
+checksums sha1 c8de19c12f9d0899c3ecf5bf3c679910ea5d1c32 \
+ rmd160 d1b6c8de59cfe1de814fb28f753ff850298ac735
+worksrcdir lua-expat-${buildhash}
patchfiles config-patch.diff \
makefile-patch.diff
post-patch {
reinplace "s|%PREFIX%|${prefix}|g" ${worksrcpath}/config
+ reinplace s|luaL_reg|luaL_Reg|g ${worksrcpath}/src/lxplib.c
}
+depends_build port:lua
depends_lib port:expat
build.target
Modified: trunk/dports/devel/lua-luaexpat/files/config-patch.diff
===================================================================
--- trunk/dports/devel/lua-luaexpat/files/config-patch.diff 2014-03-10 18:32:19 UTC (rev 117742)
+++ trunk/dports/devel/lua-luaexpat/files/config-patch.diff 2014-03-10 18:58:48 UTC (rev 117743)
@@ -4,10 +4,10 @@
# Installation directories
# System's libraries directory (where binary libraries are installed)
-LUA_LIBDIR= /usr/local/lib/lua/5.0
-+LUA_LIBDIR= %PREFIX%/lib/lua/5.1
++LUA_LIBDIR= %PREFIX%/lib/lua/5.2
# System's lua directory (where Lua libraries are installed)
-LUA_DIR= /usr/local/share/lua/5.0
-+LUA_DIR= %PREFIX%/share/lua/5.1
++LUA_DIR= %PREFIX%/share/lua/5.2
# Lua includes directory
-LUA_INC= /usr/local/include
+LUA_INC= %PREFIX%/include
@@ -27,7 +27,7 @@
# first version digit * 100 + second version digit
# e.g. Lua 5.0.2 => 500, Lua 5.1 => 501, Lua 5.1.1 => 501)
-LUA_VERSION_NUM= 500
-+LUA_VERSION_NUM= 501
++LUA_VERSION_NUM= 502
COMPAT_DIR= ../compat/src
# Compilation parameters
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140310/ad6b0b64/attachment.html>
More information about the macports-changes
mailing list