Skip to content
Permalink
Browse files

lua-luaexpat: update to 1.2.0, https://trac.macports.org/ticket/41846

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@117743 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
nerdling committed Mar 10, 2014
1 parent 4b55c13 commit c626e64ee5964259b7fa71b771ecf121d7a5e62c
Showing with 12 additions and 10 deletions.
  1. +9 −7 devel/lua-luaexpat/Portfile
  2. +3 −3 devel/lua-luaexpat/files/config-patch.diff
@@ -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 @@ description SAX XML parser
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
@@ -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

0 comments on commit c626e64

Please sign in to comment.
You can’t perform that action at this time.