aboutsummaryrefslogtreecommitdiff
path: root/www/py-django13
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2007-02-14 08:03:05 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2007-02-14 08:03:05 +0000
commitfd82c722919fb9650ff72c3b01e59a836b7f78a8 (patch)
treeebfa2306377d009def160d56c8a4ec366e18e4fb /www/py-django13
parent46e2ef44a98df81316fd0740c6e1e00aaafd1bae (diff)
downloadports-fd82c722919fb9650ff72c3b01e59a836b7f78a8.tar.gz
ports-fd82c722919fb9650ff72c3b01e59a836b7f78a8.zip
Notes
Diffstat (limited to 'www/py-django13')
-rw-r--r--www/py-django13/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/www/py-django13/Makefile b/www/py-django13/Makefile
index ff7e19758658..72032857f445 100644
--- a/www/py-django13/Makefile
+++ b/www/py-django13/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}