Revision
89673
Author
and.damore@macports.org
Date
2012-02-06 06:26:34 -0800 (Mon, 06 Feb 2012)

Log Message

port lua-wsapi: switched to github portgroup, upgraded version, added lib dependency from port fcgi

Modified Paths

Diff

Modified: trunk/dports/devel/lua-wsapi/Portfile (89672 => 89673)


--- trunk/dports/devel/lua-wsapi/Portfile	2012-02-06 13:45:03 UTC (rev 89672)
+++ trunk/dports/devel/lua-wsapi/Portfile	2012-02-06 14:26:34 UTC (rev 89673)
@@ -1,9 +1,10 @@
 # $Id$
 PortSystem 1.0
+PortGroup           github 1.0 
 
-name                lua-wsapi
-version             1.4
-revision            3
+github.setup        keplerproject wsapi 1.5
+name                lua-${github.project}
+license             GPL-3
 categories          devel
 platforms           darwin
 maintainers         and.damore openmaintainer
@@ -12,23 +13,14 @@
                     By coding against WSAPI your application can run on any of the supported \
                     servers and interfaces (currently CGI, FastCGI and Xavante, on Windows \
                     and UNIX-based systems).
-homepage            http://wsapi.luaforge.net/
 
-master_sites        https://github.com/keplerproject/wsapi/tarball/v${version}
+checksums           md5     5c983a1db3659ed73e28c473ffd4f4d5 \
+                    sha1    8c9c86f4cb45f94afb110390c6af808ed8238fe4 \
+                    rmd160  a675f92700b588771f9da977912fb0171a28e0bf
 
-# actual name on web server is different than ${distname} but github returns a
-# tarball with the last part of URI as name
-# we'll end with a ${distname}${extract.suffix} anyway but we need to strip
-# first component of path in order to have a consistent tree
-extract.mkdir       yes
-extract.post_args   "| tar --strip-components=1 -xf -"
-
-checksums           md5     5cfdaf867aed48e155d732f964985d3d \
-                    sha1    b041148e4a13fb454c08c21de2a8f9ba9a4a3ec6 \
-                    rmd160  d81aa518bf6e1a14814a778e075a3bef7b267f69
-
 depends_lib         port:lua \
-                    port:lua-luafilesystem
+                    port:lua-luafilesystem \
+                    port:fcgi
 
 patchfiles          patch-Makefile.diff \
                     patch-configure.diff \