diff options
author | clsung <clsung@FreeBSD.org> | 2007-02-14 16:03:05 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2007-02-14 16:03:05 +0800 |
commit | ded586bbff9c430def9214d7b462768f038e120e (patch) | |
tree | 80b51d20724cc3c20df798b255429b2d6adaf719 /www/py-django | |
parent | 3f7b495d5a667d4962826faa70382dd7abb86cd5 (diff) | |
download | freebsd-ports-gnome-ded586bbff9c430def9214d7b462768f038e120e.tar.gz freebsd-ports-gnome-ded586bbff9c430def9214d7b462768f038e120e.tar.zst freebsd-ports-gnome-ded586bbff9c430def9214d7b462768f038e120e.zip |
- Add FastCGI support
- bump PORTREVISION
PR: ports/109058
Submitted by: Li-Wen Hsu <lwhsu_AT_lwhsu dot org>
Diffstat (limited to 'www/py-django')
-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} |