# $Id$
PortSystem 1.0
name                lua-luazip
version             1.2.3
categories          devel
platforms           darwin
maintainers         and.damore openmaintainer
description         LuaZip is a Lua extension library used to read files stored inside zip \
                    files.
long_description    ${description}       
homepage            http://www.keplerproject.org/luazip/index.html
master_sites        http://luaforge.net/frs/download.php/2493/
distname            luazip-${version}
use_configure       no
checksums           md5  8129ba93a8df6ebd324fee9adca23fae \
                    sha1  40d2589d5060582ce5dc1dd87604114eb42067ea \
                    rmd160  035d290488a7d67efe9df461e6c790ea67c908dd
patchfiles          config-patch.diff \
					Makefile-patch.diff
post-patch {
   reinplace "s|%PREFIX%|${prefix}|g" ${worksrcpath}/config
}
depends_lib         port:libzzip
build.target