aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_wsgi3/Makefile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-06-21 07:12:20 +0800
committermiwi <miwi@FreeBSD.org>2008-06-21 07:12:20 +0800
commit058cf6a0a33f520360adace0c1bcb2bc5606b474 (patch)
tree435d35c5d74abe658cdcc7a8dffc7f970cd5544f /www/mod_wsgi3/Makefile
parent907d359ceca96f119b5c21afd552efa14d886213 (diff)
downloadfreebsd-ports-gnome-058cf6a0a33f520360adace0c1bcb2bc5606b474.tar.gz
freebsd-ports-gnome-058cf6a0a33f520360adace0c1bcb2bc5606b474.tar.zst
freebsd-ports-gnome-058cf6a0a33f520360adace0c1bcb2bc5606b474.zip
The mod_wsgi adapter is an Apache module that provides a WSGI compliant
interface for hosting Python based web applications within Apache. The adapter is written completely in C code against the Apache C runtime and for hosting WSGI applications within Apache has a lower overhead than using existing WSGI adapters for mod_python or CGI. WWW: http://www.modwsgi.org/ PR: ports/122612 Submitted by: Douglas Thrift
Diffstat (limited to 'www/mod_wsgi3/Makefile')
-rw-r--r--www/mod_wsgi3/Makefile28
1 files changed, 28 insertions, 0 deletions
diff --git a/www/mod_wsgi3/Makefile b/www/mod_wsgi3/Makefile
new file mode 100644
index 000000000000..c14edd658bfc
--- /dev/null
+++ b/www/mod_wsgi3/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: mod_wsgi
+# Date created: 07 April 2008
+# Whom: Douglas Thrift
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_wsgi
+PORTVERSION= 2.0
+CATEGORIES= www python
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+
+MAINTAINER= douglas@douglasthrift.net
+COMMENT= Python WSGI adapter module for Apache
+
+PROJECTHOST= modwsgi
+
+USE_APACHE= 1.3+
+USE_PYTHON= 2.3+
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
+
+post-install:
+ @${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so"
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>