diff options
Diffstat (limited to 'www/py-django/Makefile')
-rw-r--r-- | www/py-django/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/www/py-django/Makefile b/www/py-django/Makefile index ff7e19758658..72032857f445 100644 --- a/www/py-django/Makefile +++ b/www/py-django/Makefile @@ -7,7 +7,7 @@ PORTNAME?= django PORTVERSION?= 0.95 -PORTREVISION?= 1 +PORTREVISION?= 2 CATEGORIES= www python MASTER_SITES?= http://media.djangoproject.com/releases/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -32,7 +32,8 @@ PLIST_SUB= DJANGOVER=${DJANGOVER} \ OPTIONS= MOD_PYTHON3 "Install Apache2 with mod_python3" off \ POSTGRESQL "PostgreSQL support" off \ MYSQL "MySQL support" off \ - SQLITE "SQLite support" off + SQLITE "SQLite support" off \ + FASTCGI "FastCGI support" off # bypass infrastructure bug OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options @@ -55,6 +56,11 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_mysql.so:${PORTSDIR}/databases/py-MySQLdb RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite20 .endif +.if defined(WITH_FASTCGI) +PYFLUP_EGG!= ${MAKE} -f ${PORTSDIR}/www/py-flup/Makefile -V PYFLUP_EGG +RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/${PYFLUP_EGG}/flup/__init__.py:${PORTSDIR}/www/py-flup +.endif + post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} |