aboutsummaryrefslogtreecommitdiffstats
path: root/cad/geda
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-06-01 21:18:21 +0800
committerbapt <bapt@FreeBSD.org>2012-06-01 21:18:21 +0800
commit4731dde58d46065936cb4e5d5cc90a1c28d51209 (patch)
tree7b84966f61227d2e957f51e93d2f7c00aadf0119 /cad/geda
parent5288a5bc5ae68f669128326d195b9de6857de215 (diff)
downloadfreebsd-ports-gnome-4731dde58d46065936cb4e5d5cc90a1c28d51209.tar.gz
freebsd-ports-gnome-4731dde58d46065936cb4e5d5cc90a1c28d51209.tar.zst
freebsd-ports-gnome-4731dde58d46065936cb4e5d5cc90a1c28d51209.zip
Convert to new options framework
Diffstat (limited to 'cad/geda')
-rw-r--r--cad/geda/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/cad/geda/Makefile b/cad/geda/Makefile
index 0b01c3bf44af..aef5e98c0c8d 100644
--- a/cad/geda/Makefile
+++ b/cad/geda/Makefile
@@ -26,14 +26,14 @@ RUN_DEPENDS= ${DATADIR}/sym:${PORTSDIR}/cad/geda-symbols \
NO_BUILD= yes
-OPTIONS= EXAMPLES "Install gEDA's examples" on \
- DOCS "Install gEDA's documentation" on
+OPTIONS_DEFINE= EXAMPLES DOCS
-.if !defined(WITHOUT_EXAMPLES)
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MEXAMPLES}
RUN_DEPENDS+= ${EXAMPLESDIR}/README:${PORTSDIR}/cad/geda-examples
.endif
-.if !defined(WITHOUT_DOCS)
+.if ${PORT_OPTIONS:MDOCS}
RUN_DEPENDS+= ${DOCSDIR}/gedadocs.html:${PORTSDIR}/cad/geda-docs
.endif