Changeset 77699 for trunk/dports


Ignore:
Timestamp:
Apr 9, 2011, 8:32:09 PM (13 years ago)
Author:
and.damore@…
Message:

port lua-luafilesystem: revision bump, changed master_sites, distname, augmented destroot to install doc and example

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/lua-luafilesystem/Portfile

    r63325 r77699  
    44name                lua-luafilesystem
    55version             1.5.0
     6revision            1
    67categories          devel
    78platforms           darwin
     
    1213
    1314homepage            http://keplerproject.github.com/luafilesystem/
    14 master_sites        http://github.com/keplerproject/luafilesystem/tarball
    15 checksums           md5     31478c7d3dd9975f6899ededa5c11f26 \
    16                     sha1    92970cd632fca0180ce80b1c94d9f43491349202 \
    17                     rmd160  3e6424074befe01108334982df5dbfdf90b7b61e
     15master_sites        http://github.com/downloads/keplerproject/luafilesystem
     16checksums           md5     3cf4882bbce956e7a0b010f148f194a3 \
     17                    sha1    1ee2ca3b5dbc3cf7c21c7168a0873b2983b7e241 \
     18                    rmd160  db1e597046d47ab12df202e7c65fb3b815c9f922
    1819
    19 distfiles           v${version}
     20distname            luafilesystem-${version}
    2021depends_lib         port:lua
    21 worksrcdir          keplerproject-luafilesystem-8ff2013
    2222patchfiles          patch-config.diff \
    2323                                        patch-Makefile.diff
     
    2828use_configure       no
    2929build.target       
     30
     31post-destroot {
     32    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     33    xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
     34   
     35    xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
     36    xinstall -m 644 {*}[glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name}
     37    xinstall -m 644 {*}[glob ${worksrcpath}/tests/*] ${destroot}${prefix}/share/examples/${name}
     38}
Note: See TracChangeset for help on using the changeset viewer.