diff options
author | adamw <adamw@FreeBSD.org> | 2014-06-20 15:44:23 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-06-20 15:44:23 +0800 |
commit | da5c4888fefc041e9099936be0ea98a07badf72e (patch) | |
tree | 4332127561f587099245f94293d2dde6ed3091ea /www/py-django15 | |
parent | b39ed54f98129dde6e08f0ba9d17b76c361f6e94 (diff) | |
download | freebsd-ports-gnome-da5c4888fefc041e9099936be0ea98a07badf72e.tar.gz freebsd-ports-gnome-da5c4888fefc041e9099936be0ea98a07badf72e.tar.zst freebsd-ports-gnome-da5c4888fefc041e9099936be0ea98a07badf72e.zip |
Use OPTIONS helpers, and change NOPORTDOCS reference to DOCS.
Diffstat (limited to 'www/py-django15')
-rw-r--r-- | www/py-django15/Makefile | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/www/py-django15/Makefile b/www/py-django15/Makefile index 73bd061bc00f..79e58f1c52fc 100644 --- a/www/py-django15/Makefile +++ b/www/py-django15/Makefile @@ -36,27 +36,16 @@ PLIST_FILES= man/man1/daily_cleanup.1.gz \ man/man1/django-admin.1.gz \ man/man1/gather_profile_stats.1.gz -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MPGSQL} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:${PORTSDIR}/databases/py-psycopg2 -.endif - -.if ${PORT_OPTIONS:MMYSQL} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb -.endif +PGSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>0:${PORTSDIR}/databases/py-psycopg2 +MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb +SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 +FASTCGI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup -.if ${PORT_OPTIONS:MSQLITE} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 -.endif - -.if ${PORT_OPTIONS:MFASTCGI} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup -.endif +.include <bsd.port.options.mk> .if ${PORT_OPTIONS:MHTMLDOCS} . if ! ${PORT_OPTIONS:MDOCS} -IGNORE= you cannot build documentation while setting NOPORTDOCS +IGNORE= you cannot build documentation with DOCS option disabled . endif BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx PORTDOCS= * |