aboutsummaryrefslogtreecommitdiff
path: root/science/gramps
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-04-28 22:08:22 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-04-28 22:08:22 +0000
commit70311449fae75ffea4fd9f53366895a06b4bc897 (patch)
treedcad9bcb676fb6eb1edd275685eb3589f7f31419 /science/gramps
parent8a35140e06cecbb04d9d78df50ee65c13425e141 (diff)
downloadports-70311449fae75ffea4fd9f53366895a06b4bc897.tar.gz
ports-70311449fae75ffea4fd9f53366895a06b4bc897.zip
Notes
Diffstat (limited to 'science/gramps')
-rw-r--r--science/gramps/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/science/gramps/Makefile b/science/gramps/Makefile
index 21eca70b12c0..b1b0291d0235 100644
--- a/science/gramps/Makefile
+++ b/science/gramps/Makefile
@@ -31,27 +31,28 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= gramps.1
MANLANG= "" cs fr nl pl sv
-OPTIONS= ENCHANT "Spellchecking support" off \
- PYWEBKITGTK "Use webkit backend for Geographic view" on \
- GRAPHVIZ "Use graphviz for graphs creating" on \
- EXIV "Managing exiv metadata support" on
+OPTIONS_DEFINE= ENCHANT PYWEBKITGTK GRAPHVIZ EXIV
+OPTIONS_DEFAULT= PYWEBKITGTK GRAPHVIZ EXIV
+ENCHANT_DESC= Spellchecking support
+PYWEBKITGTK_DESC= Use webkit backend for Geographic view
+EXIV_DESC= Managing exiv metadata support
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_ENCHANT)
+.if ${PORT_OPTIONS:MENCHANT}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}enchant>=0:${PORTSDIR}/textproc/py-enchant
.endif
-.if defined(WITH_PYWEBKITGTK)
+.if ${PORT_OPTIONS:MPYWEBKITGTK}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}webkitgtk>=0:${PORTSDIR}/www/py-webkitgtk
.endif
-.if defined(WITH_GRAPHVIZ)
+.if ${PORT_OPTIONS:MGRAPHVIZ}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}graphviz>-0:${PORTSDIR}/graphics/py-graphviz
.endif
-.if defined(WITH_EXIV)
+.if ${PORT_OPTIONS:MEXIV}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}exiv2>=0.1.3:${PORTSDIR}/graphics/py-exiv2
.endif
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>