svn commit: r334504 - head/www/mod_wsgi3
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Nov 21 17:38:41 UTC 2013
Author: sunpoet
Date: Thu Nov 21 17:38:40 2013
New Revision: 334504
URL: http://svnweb.freebsd.org/changeset/ports/334504
Log:
- Fix PKGNAME collision
- Update MASTER_SITES
- Support STAGEDIR
- While I'm here:
- update USE_PYTHON
- Remove outdated PYTHON_REL check
- Use bsd.port.mk instead of bsd.port.pre.mk + bsd.port.post.mk
PR: ports/184065
Submitted by: Douglas William Thrift <douglas at douglasthrift.net> (maintainer)
Modified:
head/www/mod_wsgi3/Makefile
Modified: head/www/mod_wsgi3/Makefile
==============================================================================
--- head/www/mod_wsgi3/Makefile Thu Nov 21 16:55:54 2013 (r334503)
+++ head/www/mod_wsgi3/Makefile Thu Nov 21 17:38:40 2013 (r334504)
@@ -6,32 +6,25 @@ PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= GOOGLE_CODE
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
+PKGNAMESUFFIX= 3
MAINTAINER= douglas at douglasthrift.net
COMMENT= Python WSGI adapter module for Apache
LICENSE= AL2
-#LATEST_LINK= mod_wsgi
CONFLICTS= ${PKGNAMEPREFIX}mod_wsgi-2.* mod_wsgi-2.*
PROJECTHOST= modwsgi
USE_APACHE= 22+
-USE_PYTHON= 2.5+
+USE_PYTHON= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
SUB_FILES= pkg-message
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} >= 300 && ${PYTHON_REL} < 310
-IGNORE= is unsupported with Python 3.0
-.endif
-
pre-everything::
@${ECHO_MSG} "======================= ATTENTION! ======================"
@${ECHO_MSG}
@@ -42,6 +35,5 @@ pre-everything::
post-install:
@${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so"
- @${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list