summaryrefslogtreecommitdiff
path: root/graphics/py-blockdiag/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-blockdiag/Makefile')
-rw-r--r--graphics/py-blockdiag/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/graphics/py-blockdiag/Makefile b/graphics/py-blockdiag/Makefile
index 700e8b14e836..efdddc1ceb5c 100644
--- a/graphics/py-blockdiag/Makefile
+++ b/graphics/py-blockdiag/Makefile
@@ -7,6 +7,7 @@
PORTNAME= blockdiag
PORTVERSION= 1.1.1
+PORTREVISION= 1
CATEGORIES= graphics python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -33,6 +34,14 @@ EXAMPLESDIR= ${PREFIX}/share/examples/${UNIQUENAME}
PORTDOCS= README.txt
PORTEXAMPLES= *
+OPTIONS= PDF "Enable PDF output" On
+
+.include <bsd.port.options.mk>
+
+.if !defined(WITHOUT_PDF)
+RUN_DEPENDS+= ${PKGNAMEPREFIX}reportlab2>0:${PORTSDIR}/print/py-reportlab2
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}