Skip to content
Permalink
Browse files

port lua-luafilesystem: revision bump, changed master_sites, distname…

…, augmented destroot to install doc and example

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@77699 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
anddam committed Apr 9, 2011
1 parent 35d290a commit e63f2510619de7b0c043e3bda217a50bbbdef363
Showing with 15 additions and 6 deletions.
  1. +15 −6 devel/lua-luafilesystem/Portfile
@@ -3,6 +3,7 @@ PortSystem 1.0

name lua-luafilesystem
version 1.5.0
revision 1
categories devel
platforms darwin
maintainers and.damore openmaintainer
@@ -11,14 +12,13 @@ long_description LuaFileSystem is a Lua library developed to complement the s
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
master_sites http://github.com/downloads/keplerproject/luafilesystem
checksums md5 3cf4882bbce956e7a0b010f148f194a3 \
sha1 1ee2ca3b5dbc3cf7c21c7168a0873b2983b7e241 \
rmd160 db1e597046d47ab12df202e7c65fb3b815c9f922

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

@@ -27,3 +27,12 @@ post-patch {
}
use_configure no
build.target

post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}

xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 {*}[glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 {*}[glob ${worksrcpath}/tests/*] ${destroot}${prefix}/share/examples/${name}
}

0 comments on commit e63f251

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