[57853] trunk/dports/www
and.damore at macports.org
and.damore at macports.org
Thu Sep 17 08:30:21 PDT 2009
Revision: 57853
http://trac.macports.org/changeset/57853
Author: and.damore at macports.org
Date: 2009-09-17 08:30:17 -0700 (Thu, 17 Sep 2009)
Log Message:
-----------
xavante web server, new port
Added Paths:
-----------
trunk/dports/www/xavante/
trunk/dports/www/xavante/Portfile
trunk/dports/www/xavante/files/
trunk/dports/www/xavante/files/patch-Makefile.diff
trunk/dports/www/xavante/files/patch-config.diff
Added: trunk/dports/www/xavante/Portfile
===================================================================
--- trunk/dports/www/xavante/Portfile (rev 0)
+++ trunk/dports/www/xavante/Portfile 2009-09-17 15:30:17 UTC (rev 57853)
@@ -0,0 +1,29 @@
+# $Id$
+PortSystem 1.0
+
+name xavante
+version 2.0.1
+categories www
+maintainers and.damore openmaintainer
+description A Lua Web Server with WSAPI support
+long_description Xavante is a Lua HTTP 1.1 Web server that uses a modular architecture \
+ 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/
+platforms darwin
+master_sites http://luaforge.net/frs/download.php/3966
+checksums md5 522f1423c76c737aa6fbdd079b1c19b6 \
+ sha1 0dd9fda9a9cbc23892584c90efd137b0d045b979 \
+ rmd160 0fa867d07cd2e82e5f50db69e52441c7cfc1d578
+patchfiles patch-Makefile.diff \
+ patch-config.diff
+post-patch {
+ reinplace "s|%%PREFIX%%|${prefix}|g" ${worksrcpath}/config
+}
+depends_lib port:lua \
+ port:lua-copas \
+ port:lua-luasocket \
+ port:lua-luafilesystem
+use_configure no
+
Property changes on: trunk/dports/www/xavante/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/www/xavante/files/patch-Makefile.diff
===================================================================
--- trunk/dports/www/xavante/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/www/xavante/files/patch-Makefile.diff 2009-09-17 15:30:17 UTC (rev 57853)
@@ -0,0 +1,14 @@
+--- Makefile.orig 2009-09-17 14:03:07.000000000 +0200
++++ Makefile 2009-09-17 14:04:35.000000000 +0200
+@@ -13,8 +13,8 @@
+ all:
+
+ install:
+- mkdir -p $(LUA_DIR)/xavante
+- cp $(ROOT_LUAS) $(SAJAX_LUAS) $(LUA_DIR)
+- cp $(XAVANTE_LUAS) $(LUA_DIR)/xavante
++ mkdir -p $(DESTDIR)/$(LUA_DIR)/xavante
++ cp $(ROOT_LUAS) $(SAJAX_LUAS) $(DESTDIR)/$(LUA_DIR)
++ cp $(XAVANTE_LUAS) $(DESTDIR)/$(LUA_DIR)/xavante
+
+ clean:
Added: trunk/dports/www/xavante/files/patch-config.diff
===================================================================
--- trunk/dports/www/xavante/files/patch-config.diff (rev 0)
+++ trunk/dports/www/xavante/files/patch-config.diff 2009-09-17 15:30:17 UTC (rev 57853)
@@ -0,0 +1,11 @@
+--- config.orig 2009-09-17 14:03:32.000000000 +0200
++++ config 2009-09-17 14:03:56.000000000 +0200
+@@ -1,7 +1,7 @@
+ # $Id: config,v 1.16 2007/11/17 14:15:23 carregal Exp $
+
+ # Default prefix
+-PREFIX = /usr/local
++PREFIX = %%PREFIX%%
+
+ # System's libraries directory (where binary libraries are installed)
+ LUA_LIBDIR= $(PREFIX)/lib/lua/5.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090917/5f1ba725/attachment.html>
More information about the macports-changes
mailing list