aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-openxpki
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-04-29 05:02:39 +0800
committerbapt <bapt@FreeBSD.org>2013-04-29 05:02:39 +0800
commit63cff4fb52ecbe8ce9260e04e0049980d8cb41d5 (patch)
tree933fd11da647dda8c169bc24693094174bdc0355 /security/p5-openxpki
parent65f6091f0d07908b50e6042a48cdadec0073a2ac (diff)
downloadfreebsd-ports-gnome-63cff4fb52ecbe8ce9260e04e0049980d8cb41d5.tar.gz
freebsd-ports-gnome-63cff4fb52ecbe8ce9260e04e0049980d8cb41d5.tar.zst
freebsd-ports-gnome-63cff4fb52ecbe8ce9260e04e0049980d8cb41d5.zip
Convert security to new options framework
Diffstat (limited to 'security/p5-openxpki')
-rw-r--r--security/p5-openxpki/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/security/p5-openxpki/Makefile b/security/p5-openxpki/Makefile
index 1c7de00026f7..25f4c988e1f6 100644
--- a/security/p5-openxpki/Makefile
+++ b/security/p5-openxpki/Makefile
@@ -288,8 +288,9 @@ GROUPS= openxpki
LICENSE= ART20
-OPTIONS= DEVELOPER "Install development tools for OpenXPKI?" off \
- GRAPHVIZ "With graphical visualization of workflows?" off
+OPTIONS_DEFINE= DEVELOPER GRAPHVIZ
+DEVELOPER_DESC= Install development tools for OpenXPKI?
+GRAPHVIZ_DESC= With graphical visualization of workflows?
# If DEVELOPER is checked, then docbook, Java and Xorg libraries are installed.
# They are needed only if you plan to fetch development svn snapshot,
# then edit XML prototypes for collection of OpenXPKI guides, and then
@@ -313,13 +314,13 @@ WITH_OPENSSL_BASE= yes
.include <bsd.port.pre.mk>
-.if defined(WITH_DEVELOPER)
+.if ${PORT_OPTIONS:MDEVELOPER}
RUN_DEPENDS+= ${LOCALBASE}/bin/fop:${PORTSDIR}/textproc/fop \
${LOCALBASE}/bin/xsltproc:${PORTSDIR}/textproc/libxslt \
${LOCALBASE}/share/xsl/docbook/html/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl \
${LOCALBASE}/share/java/jai/lib/libmlib_jai.so:${PORTSDIR}/java/jai
.endif
-.if defined(WITH_GRAPHVIZ)
+.if ${PORT_OPTIONS:MGRAPHVIZ}
RUN_DEPENDS+= ${LOCALBASE}/bin/dot:${PORTSDIR}/graphics/graphviz \
${LOCALBASE}/bin/imgsize:${PORTSDIR}/graphics/p5-Image-Size
.endif