aboutsummaryrefslogtreecommitdiff
path: root/www/mod_wsgi3
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2009-12-08 06:55:21 +0000
committerWen Heping <wen@FreeBSD.org>2009-12-08 06:55:21 +0000
commita7012ff662b3e2b4289b2ba5c4666cf1ca2b83fd (patch)
tree507f6ea10e488b02b37af429e54fb6fd476e792d /www/mod_wsgi3
parent1d034a28531cd6ce473f82c97c7d5039a4e43579 (diff)
downloadports-a7012ff662b3e2b4289b2ba5c4666cf1ca2b83fd.tar.gz
ports-a7012ff662b3e2b4289b2ba5c4666cf1ca2b83fd.zip
Notes
Diffstat (limited to 'www/mod_wsgi3')
-rw-r--r--www/mod_wsgi3/Makefile16
-rw-r--r--www/mod_wsgi3/distinfo6
2 files changed, 14 insertions, 8 deletions
diff --git a/www/mod_wsgi3/Makefile b/www/mod_wsgi3/Makefile
index e78936f48c44..62166f531d1a 100644
--- a/www/mod_wsgi3/Makefile
+++ b/www/mod_wsgi3/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= mod_wsgi
-PORTVERSION= 2.8
+PORTVERSION= 3.1
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
http://apt.douglasthrift.net/files/${PORTNAME}/ \
@@ -17,21 +17,27 @@ COMMENT= Python WSGI adapter module for Apache
MAKE_JOBS_SAFE= yes
-LATEST_LINK= mod_wsgi
-CONFLICTS= mod_wsgi-3.*
+#LATEST_LINK= mod_wsgi
+CONFLICTS= mod_wsgi-2.*
PROJECTHOST= modwsgi
USE_APACHE= 1.3+
-USE_PYTHON= 2.3-2.6
+USE_PYTHON= 2.3+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
SUB_FILES= pkg-message
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 300 && ${PYTHON_REL} < 310
+IGNORE= is unsupported with Python 3.0
+.endif
+
post-install:
@${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so"
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/www/mod_wsgi3/distinfo b/www/mod_wsgi3/distinfo
index 0da57b1560c6..e892e13c770d 100644
--- a/www/mod_wsgi3/distinfo
+++ b/www/mod_wsgi3/distinfo
@@ -1,3 +1,3 @@
-MD5 (mod_wsgi-2.8.tar.gz) = f4d09ce314502f438af3155348cfc234
-SHA256 (mod_wsgi-2.8.tar.gz) = 4c93167002d718c5899afb86495152acdc9f15f351e374a6886caff76b7f7d82
-SIZE (mod_wsgi-2.8.tar.gz) = 99997
+MD5 (mod_wsgi-3.1.tar.gz) = f9aabdcd7a3f66a2319d10793477f9e9
+SHA256 (mod_wsgi-3.1.tar.gz) = 167b75d757cf43ec7d54f98dd666ff86b0f37807b24c867eb153dd4d3f973887
+SIZE (mod_wsgi-3.1.tar.gz) = 116568