# $Id: Portfile 63325 2010-02-01 21:58:22Z and.damore@macports.org $
PortSystem 1.0

name                lua-luafilesystem
version             1.5.0
categories          devel
platforms           darwin
maintainers         and.damore openmaintainer
description         File System Library for the Lua Programming Language
long_description    LuaFileSystem is a Lua library developed to complement the set of functions \
                    related to file systems offered by the standard Lua distribution.

homepage            http://keplerproject.github.com/luafilesystem/
master_sites        http://github.com/keplerproject/luafilesystem/tarball
checksums           md5     31478c7d3dd9975f6899ededa5c11f26 \
                    sha1    92970cd632fca0180ce80b1c94d9f43491349202 \
                    rmd160  3e6424074befe01108334982df5dbfdf90b7b61e

distfiles           v${version}
depends_lib         port:lua
worksrcdir          keplerproject-luafilesystem-8ff2013
patchfiles          patch-config.diff \
					patch-Makefile.diff

post-patch {
   reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/config
}
use_configure       no
build.target        
