aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2009-12-08 14:55:21 +0800
committerwen <wen@FreeBSD.org>2009-12-08 14:55:21 +0800
commit10784250e309bfa171d414eb050575d700feba19 (patch)
tree8f2f77ad38cd10dca2d2c3d0314461e42bb14138 /www
parent7132fa405cab6b7c3c9d774468e351ffbc4d92b3 (diff)
downloadfreebsd-ports-gnome-10784250e309bfa171d414eb050575d700feba19.tar.gz
freebsd-ports-gnome-10784250e309bfa171d414eb050575d700feba19.tar.zst
freebsd-ports-gnome-10784250e309bfa171d414eb050575d700feba19.zip
- Update to 3.1
PR: ports/141265 Submitted by: Douglas William Thrift <douglas@douglasthrift.net> (maintainer)
Diffstat (limited to 'www')
-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