summaryrefslogtreecommitdiff
path: root/graphics/py-blockdiag
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2011-12-11 10:42:34 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2011-12-11 10:42:34 +0000
commit06e1e1c3863a2daabdb1368738c0953c514999d4 (patch)
tree309d420955b13ccf86f863c2eeb356a371ce9452 /graphics/py-blockdiag
parent717348fda26234adef8fc0a80e9be2366e039f77 (diff)
downloadfreebsd-ports-06e1e1c3863a2daabdb1368738c0953c514999d4.zip
- Add OPTIONS for PDF support
- Bump PORTREVISION Feature safe: yes
Diffstat (limited to 'graphics/py-blockdiag')
-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}