2008-06-21 01:12:20 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mod_wsgi
|
2014-05-30 07:31:32 +02:00
|
|
|
PORTVERSION= 3.5
|
2008-06-21 01:12:20 +02:00
|
|
|
CATEGORIES= www python
|
2014-05-30 07:31:32 +02:00
|
|
|
MASTER_SITES= http://github.com/GrahamDumpleton/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/
|
2010-05-25 22:43:04 +02:00
|
|
|
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
2013-11-21 18:38:40 +01:00
|
|
|
PKGNAMESUFFIX= 3
|
2008-06-21 01:12:20 +02:00
|
|
|
|
|
|
|
MAINTAINER= douglas@douglasthrift.net
|
|
|
|
COMMENT= Python WSGI adapter module for Apache
|
|
|
|
|
2013-12-30 21:55:18 +01:00
|
|
|
LICENSE= APACHE20
|
2010-09-09 05:31:20 +02:00
|
|
|
|
2014-05-19 07:02:35 +02:00
|
|
|
CONFLICTS_INSTALL=${PKGNAMEPREFIX}mod_wsgi2.* mod_wsgi2.* \
|
2013-11-25 00:33:15 +01:00
|
|
|
${PKGNAMEPREFIX}mod_wsgi-2.* mod_wsgi-2.*
|
2009-11-23 11:34:40 +01:00
|
|
|
|
2008-06-21 01:12:20 +02:00
|
|
|
PROJECTHOST= modwsgi
|
|
|
|
|
2012-08-18 16:29:08 +02:00
|
|
|
USE_APACHE= 22+
|
2013-11-21 18:38:40 +01:00
|
|
|
USE_PYTHON= yes
|
2008-06-21 01:12:20 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
|
|
|
|
|
2008-09-02 23:55:40 +02:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2010-09-09 05:31:20 +02:00
|
|
|
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} "========================================================="
|
|
|
|
|
2013-11-21 18:38:40 +01:00
|
|
|
.include <bsd.port.mk>
|