aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortota <tota@FreeBSD.org>2012-06-12 23:07:09 +0800
committertota <tota@FreeBSD.org>2012-06-12 23:07:09 +0800
commite4e4b863f13a03625dd8c33344543b1b2b57bc80 (patch)
tree65cb17679106673d050b2a89eb8b2c7046d2fa6b
parent2a24b7d5ca551c292263c8ec85bb9fd9a1b50c33 (diff)
downloadfreebsd-ports-gnome-e4e4b863f13a03625dd8c33344543b1b2b57bc80.tar.gz
freebsd-ports-gnome-e4e4b863f13a03625dd8c33344543b1b2b57bc80.tar.zst
freebsd-ports-gnome-e4e4b863f13a03625dd8c33344543b1b2b57bc80.zip
- Update to 1.1.6
- Convert to new options framework
-rw-r--r--graphics/py-blockdiag/Makefile13
-rw-r--r--graphics/py-blockdiag/distinfo4
2 files changed, 10 insertions, 7 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
diff --git a/graphics/py-blockdiag/distinfo b/graphics/py-blockdiag/distinfo
index 1f0907c80636..956a32ad3100 100644
--- a/graphics/py-blockdiag/distinfo
+++ b/graphics/py-blockdiag/distinfo
@@ -1,2 +1,2 @@
-SHA256 (blockdiag-1.1.5.tar.gz) = 07818e570ad15eba86d54222fa6cc35851fb3470e8b522ce155fdf9ddfd7a922
-SIZE (blockdiag-1.1.5.tar.gz) = 133589
+SHA256 (blockdiag-1.1.6.tar.gz) = e5f65ce70b7c68f0eaf8358c9b97af9554c9317d389b04d82297f6efd877f0aa
+SIZE (blockdiag-1.1.6.tar.gz) = 134141