1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/www/mod_wsgi3/Makefile
Thomas Abthorpe e0ac1afbf4 - The proper acronym for Apache Software License 2 is really AL2
- Thanks to crees@ for generating the initial patch

PR:		ports/163521
Submitted by:	Pedro Giffuni <pfg apache.org>
Hat:		portmgr
Exp run by:	pav
2012-01-09 15:41:08 +00:00

56 lines
1.3 KiB
Makefile

# New ports collection makefile for: mod_wsgi
# Date created: 07 April 2008
# Whom: Douglas Thrift
#
# $FreeBSD$
#
PORTNAME= mod_wsgi
PORTVERSION= 3.3
PORTREVISION= 2
CATEGORIES= www python
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
http://apt.douglasthrift.net/files/${PORTNAME}/ \
http://code.douglasthrift.net/files/${PORTNAME}/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
MAINTAINER= douglas@douglasthrift.net
COMMENT= Python WSGI adapter module for Apache
LICENSE= AL2
MAKE_JOBS_SAFE= yes
#LATEST_LINK= mod_wsgi
CONFLICTS= ${PKGNAMEPREFIX}mod_wsgi-2.* mod_wsgi-2.*
PROJECTHOST= modwsgi
USE_APACHE= 20+
USE_PYTHON= 2.5+
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
pre-everything::
@${ECHO_MSG} "======================= ATTENTION! ======================"
@${ECHO_MSG}
@${ECHO_MSG} "If you want to use daemon mode you will need to make sure"
@${ECHO_MSG} "Apache and APR include thread support."
@${ECHO_MSG}
@${ECHO_MSG} "========================================================="
post-install:
@${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so"
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>