aboutsummaryrefslogtreecommitdiffstats
path: root/www/py-django-devel/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-django-devel/Makefile')
-rw-r--r--www/py-django-devel/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/py-django-devel/Makefile b/www/py-django-devel/Makefile
index c38b8c683983..85a8f02901bb 100644
--- a/www/py-django-devel/Makefile
+++ b/www/py-django-devel/Makefile
@@ -73,6 +73,9 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}flup>0:${PORTSDIR}/www/py-flup
.endif
.if defined(WITH_DOCS)
+. if defined(NOPORTDOCS)
+IGNORE= you cannot build documentation while setting NOPORTDOCS
+. endif
BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}sphinx>0:${PORTSDIR}/textproc/py-sphinx
PORTDOCS= *
.endif