Revision: 89674 http://trac.macports.org/changeset/89674 Author: and.damore@macports.org Date: 2012-02-06 06:58:13 -0800 (Mon, 06 Feb 2012) Log Message: ----------- port lua-xavante: switched to github portgroup, version upgrade, added license, added post-destroot to install further modules, doc and examples Modified Paths: -------------- trunk/dports/devel/lua-xavante/Portfile Modified: trunk/dports/devel/lua-xavante/Portfile =================================================================== --- trunk/dports/devel/lua-xavante/Portfile 2012-02-06 14:26:34 UTC (rev 89673) +++ trunk/dports/devel/lua-xavante/Portfile 2012-02-06 14:58:13 UTC (rev 89674) @@ -1,8 +1,11 @@ # $Id$ PortSystem 1.0 +PortGroup github 1.0 +github.setup keplerproject xavante 2.2.1 name lua-xavante -version 2.0.1 +version 2.2.1 +license GPL-3 categories devel www maintainers and.damore openmaintainer description A Lua Web Server with WSAPI support @@ -10,13 +13,11 @@ based on URI mapped handlers. Xavante currently offers a file handler, a \ redirect handler and a WSAPI handler. Those are used for general files, \ URI remapping and WSAPI applications respectively. -homepage http://www.keplerproject.org/xavante/ +homepage http://keplerproject.github.com/xavante/ platforms darwin -master_sites http://luaforge.net/frs/download.php/3966 -distname xavante-${version} -checksums md5 522f1423c76c737aa6fbdd079b1c19b6 \ - sha1 0dd9fda9a9cbc23892584c90efd137b0d045b979 \ - rmd160 0fa867d07cd2e82e5f50db69e52441c7cfc1d578 +checksums md5 fbbb0655095bcd6b8345095f39470a1a \ + sha1 9b75b3750bc058eb8af115d081d56d76c67fa4dc \ + rmd160 75c2a41d3c333d7e05a221eec2f816431ee8b515 patchfiles patch-Makefile.diff \ patch-config.diff post-patch { @@ -29,3 +30,15 @@ port:lua-luafilesystem use_configure no +post-destroot { + file copy ${worksrcpath}/src/codeweb ${worksrcpath}/src/webdav ${destroot}${prefix}/share/lua/5.1 + xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} + xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name} + eval xinstall -m 644 [glob ${worksrcpath}/doc/us/*] ${destroot}${prefix}/share/doc/${name} + + xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name} + file copy ${worksrcpath}/examples ${worksrcpath}/web ${destroot}${prefix}/share/examples/${name} + file rename ${destroot}${prefix}/share/examples/${name}/examples \ + ${destroot}${prefix}/share/examples/${name}/config +} +
participants (1)
-
and.damore@macports.org