diff options
Diffstat (limited to 'graphics/py-blockdiag/Makefile')
-rw-r--r-- | graphics/py-blockdiag/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/graphics/py-blockdiag/Makefile b/graphics/py-blockdiag/Makefile index 4791f6ad6973..44fa2030db0e 100644 --- a/graphics/py-blockdiag/Makefile +++ b/graphics/py-blockdiag/Makefile @@ -6,7 +6,7 @@ # PORTNAME= blockdiag -PORTVERSION= 1.1.5 +PORTVERSION= 1.1.6 CATEGORIES= graphics python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -35,16 +35,19 @@ EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME} PORTDOCS= README.txt PORTEXAMPLES= * -OPTIONS= PDF "Enable PDF output" On \ - IPAFONT "Use IPA Font as default" Off +OPTIONS_DEFINE= IPAFONT PDF +IPAFONT_DESC= Use IPA Font as default +PDF_DESC= Enable PDF output + +OPTIONS_DEFAULT= PDF .include <bsd.port.options.mk> -.if !defined(WITHOUT_PDF) +.if ${PORT_OPTIONS:MPDF} RUN_DEPENDS+= ${PKGNAMEPREFIX}reportlab2>0:${PORTSDIR}/print/py-reportlab2 .endif -.if defined(WITH_IPAFONT) +.if ${PORT_OPTIONS:MIPAFONT} RUN_DEPENDS+= ${LOCALBASE}/share/font-ipa/ipag.otf:${PORTSDIR}/japanese/font-ipa .endif |