2012-09-22 21:15:50 +00:00
|
|
|
# Created by: Douglas Thrift
|
2008-06-20 23:12:20 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mod_wsgi
|
2009-11-28 11:38:53 +00:00
|
|
|
PORTVERSION= 2.8
|
2011-08-20 17:27:52 +00:00
|
|
|
PORTREVISION= 2
|
2008-06-20 23:12:20 +00:00
|
|
|
CATEGORIES= www python
|
2009-10-11 12:19:17 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
|
2009-11-21 10:51:19 +00:00
|
|
|
http://apt.douglasthrift.net/files/${PORTNAME}/ \
|
2009-10-11 12:19:17 +00:00
|
|
|
http://code.douglasthrift.net/files/${PORTNAME}/
|
2010-05-25 20:43:04 +00:00
|
|
|
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
2008-06-20 23:12:20 +00:00
|
|
|
|
|
|
|
MAINTAINER= douglas@douglasthrift.net
|
|
|
|
COMMENT= Python WSGI adapter module for Apache
|
|
|
|
|
2012-01-09 15:41:08 +00:00
|
|
|
LICENSE= AL2
|
2010-09-09 03:31:20 +00:00
|
|
|
|
2009-10-11 12:19:17 +00:00
|
|
|
MAKE_JOBS_SAFE= yes
|
2009-05-21 20:45:34 +00:00
|
|
|
|
2009-12-11 07:50:31 +00:00
|
|
|
LATEST_LINK= mod_wsgi2
|
2010-09-10 01:44:26 +00:00
|
|
|
CONFLICTS= ${PKGNAMEPREFIX}mod_wsgi-3.* mod_wsgi-3.*
|
2009-11-23 10:34:40 +00:00
|
|
|
|
2008-06-20 23:12:20 +00:00
|
|
|
PROJECTHOST= modwsgi
|
|
|
|
|
2012-09-22 21:15:50 +00:00
|
|
|
USE_APACHE= 22
|
2011-02-25 04:40:31 +00:00
|
|
|
USE_PYTHON= 2.5-2.7
|
2008-06-20 23:12:20 +00:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+=--with-apxs="${APXS}" --with-python="${PYTHON_CMD}"
|
|
|
|
|
2008-09-02 21:55:40 +00:00
|
|
|
SUB_FILES= pkg-message
|
2010-09-09 03:31:20 +00:00
|
|
|
|
2010-05-19 10:50:34 +00:00
|
|
|
PORTSCOUT= limit:^2\.
|
2008-09-02 21:55:40 +00:00
|
|
|
|
2010-09-09 03:31:20 +00: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} "========================================================="
|
|
|
|
|
2008-06-20 23:12:20 +00:00
|
|
|
post-install:
|
|
|
|
@${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so"
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|