aboutsummaryrefslogtreecommitdiff
path: root/cad/gtkwave
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
committerMathieu Arnold <mat@FreeBSD.org>2015-08-19 13:29:59 +0000
commitbb271f0bf7b513a23a31da4ec8819b113ebf4587 (patch)
treeac5a462edc3d85d5f0b20a594802ce4b12f0bf9f /cad/gtkwave
parent29879aded766da253313579a3503ff5e15026355 (diff)
downloadports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.tar.gz
ports-bb271f0bf7b513a23a31da4ec8819b113ebf4587.zip
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412?
Notes
Notes: svn path=/head/; revision=394778
Diffstat (limited to 'cad/gtkwave')
-rw-r--r--cad/gtkwave/Makefile19
1 files changed, 6 insertions, 13 deletions
diff --git a/cad/gtkwave/Makefile b/cad/gtkwave/Makefile
index e09aeb855e7e..becc452375f5 100644
--- a/cad/gtkwave/Makefile
+++ b/cad/gtkwave/Makefile
@@ -19,22 +19,15 @@ INSTALLS_ICONS= yes
OPTIONS_DEFINE= TCL GCONF
TCL_DESC= Enable support for TCL/TK
TCL_USES= tk
+TCL_CONFIGURE_ON= --with-tcl=${TCL_LIBDIR} \
+ --with-tk=${TK_LIBDIR}
+TCL_CONFIGURE_OFF= --disable-tcl
-PORTDOCS= gtkwave.odt
+GCONF_CONFIGURE_WITH= gconf
+GCONF_USE= GNOME=gconf2
-.include <bsd.port.options.mk>
+PORTDOCS= gtkwave.odt
-.if ${PORT_OPTIONS:MTCL}
-CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} \
- --with-tk=${TK_LIBDIR}
-.else
-CONFIGURE_ARGS+= --disable-tcl
-.endif
-
-.if ${PORT_OPTIONS:MGCONF}
-CONFIGURE_ARGS+= --with-gconf
-USE_GNOME+= gconf2
-.endif
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}