# $Id: Portfile 59191 2009-10-11 09:46:53Z and.damore@macports.org $
PortSystem          1.0
name                lua-luaexpat
version             1.1
revision            0
categories          devel
platforms           darwin
maintainers         and.damore openmaintainer
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}             
use_configure       no
checksums           md5  6ecb895ccf5cff1e7f2facd438b1f8d0 \
                    sha1  ea359bdbd346ee378c47179a17ac3ee410be5c9d \
                    rmd160  f661c0e7f22363f51862187e96306498addea9d9
patchfiles          config-patch.diff \
					makefile-patch.diff
post-patch {
   reinplace "s|%PREFIX%|${prefix}|g" ${worksrcpath}/config
}
depends_lib         port:expat
build.target
