# $Id: Portfile 102721 2013-02-07 19:33:58Z jmr@macports.org $

PortSystem          1.0

name                lua-luaexpat
version             1.1
revision            0
categories          devel
license             MIT
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
