[77699] trunk/dports/devel/lua-luafilesystem/Portfile

and.damore at macports.org and.damore at macports.org
Sat Apr 9 13:32:10 PDT 2011


Revision: 77699
          http://trac.macports.org/changeset/77699
Author:   and.damore at macports.org
Date:     2011-04-09 13:32:09 -0700 (Sat, 09 Apr 2011)
Log Message:
-----------
port lua-luafilesystem: revision bump, changed master_sites, distname, augmented destroot to install doc and example

Modified Paths:
--------------
    trunk/dports/devel/lua-luafilesystem/Portfile

Modified: trunk/dports/devel/lua-luafilesystem/Portfile
===================================================================
--- trunk/dports/devel/lua-luafilesystem/Portfile	2011-04-09 20:25:02 UTC (rev 77698)
+++ trunk/dports/devel/lua-luafilesystem/Portfile	2011-04-09 20:32:09 UTC (rev 77699)
@@ -3,6 +3,7 @@
 
 name                lua-luafilesystem
 version             1.5.0
+revision            1
 categories          devel
 platforms           darwin
 maintainers         and.damore openmaintainer
@@ -11,14 +12,13 @@
                     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 @@
 }
 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}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110409/f61399a1/attachment.html>


More information about the macports-changes mailing list