- 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@douglasthrift.net> (maintainer)
This commit is contained in:
parent
b590bf5f68
commit
755b13b7eb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334504
1 changed files with 3 additions and 11 deletions
|
@ -6,32 +6,25 @@ PORTREVISION= 1
|
|||
CATEGORIES= www python
|
||||
MASTER_SITES= GOOGLE_CODE
|
||||
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
||||
PKGNAMESUFFIX= 3
|
||||
|
||||
MAINTAINER= douglas@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>
|
||||
|
|
Loading…
Reference in a new issue