From 06e1e1c3863a2daabdb1368738c0953c514999d4 Mon Sep 17 00:00:00 2001 From: TAKATSU Tomonari Date: Sun, 11 Dec 2011 10:42:34 +0000 Subject: - Add OPTIONS for PDF support - Bump PORTREVISION Feature safe: yes --- graphics/py-blockdiag/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'graphics/py-blockdiag') 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 + +.if !defined(WITHOUT_PDF) +RUN_DEPENDS+= ${PKGNAMEPREFIX}reportlab2>0:${PORTSDIR}/print/py-reportlab2 +.endif + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -- cgit v1.2.3