[26026] trunk/dports/www
source_changes at macosforge.org
source_changes at macosforge.org
Sat Jun 9 08:43:25 PDT 2007
Revision: 26026
http://trac.macosforge.org/projects/macports/changeset/26026
Author: sfiera at macports.org
Date: 2007-06-09 08:43:25 -0700 (Sat, 09 Jun 2007)
Log Message:
-----------
* New port www/ajp-wsgi, thanks Bryan!
* Resolves #11581
Added Paths:
-----------
trunk/dports/www/ajp-wsgi/
trunk/dports/www/ajp-wsgi/Portfile
Added: trunk/dports/www/ajp-wsgi/Portfile
===================================================================
--- trunk/dports/www/ajp-wsgi/Portfile (rev 0)
+++ trunk/dports/www/ajp-wsgi/Portfile 2007-06-09 15:43:25 UTC (rev 26026)
@@ -0,0 +1,57 @@
+# $Id$
+
+PortSystem 1.0
+name ajp-wsgi
+version 1.0
+categories www
+maintainers blb at macports.org
+description WSGI server/gateway implementing AJP
+long_description \
+ ajp-wsgi is a WSGI server/gateway that implements AJP 1.3 to \
+ communicate with a web server. It is written in C and embeds a Python \
+ interpreter to run the actual application. Since all of the low-level \
+ transport code is in C, ajp-wsgi is significantly faster than flup's \
+ pure-Python ajp server.
+
+platforms darwin
+
+homepage http://www.saddi.com/software/ajp-wsgi
+master_sites ${homepage}/dist/
+use_bzip2 yes
+
+checksums md5 bce919cac8d964dfecfc4f407002d52b \
+ sha1 1c17de9dbd8057b0754850b261a798bfcd874cab \
+ rmd160 a18856043b83dcdcee4ab41f79de4ae13bc19022
+
+depends_lib port:python24
+
+configure {
+ cd ${worksrcpath}
+ if {[variant_isset python25]} {
+ system "${prefix}/bin/python2.5 configure.py"
+ } else {
+ system "${prefix}/bin/python configure.py"
+ }
+}
+
+post-configure {
+ reinplace "s|Python.framework/Versions/.../Python||" ${worksrcpath}/Makefile
+ reinplace "s|LDFLAGS=.*$|LDFLAGS=-L${prefix}/lib|" ${worksrcpath}/Makefile
+}
+
+destroot {
+ xinstall -m 755 -d ${destroot}${prefix}/bin \
+ ${destroot}${prefix}/share/doc/${name} \
+ ${destroot}${prefix}/share/examples/${name}
+ xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin
+ xinstall -m 644 -W ${worksrcpath} ChangeLog README \
+ ${destroot}${prefix}/share/doc/${name}
+ xinstall -m 644 -W ${worksrcpath} test.py \
+ ${destroot}${prefix}/share/examples/${name}
+}
+
+variant python25 {
+ depends_lib-delete port:python24
+ depends_lib-append port:python25
+}
+
Property changes on: trunk/dports/www/ajp-wsgi/Portfile
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070609/8a1c526e/attachment.html
More information about the macports-changes
mailing list