From bb271f0bf7b513a23a31da4ec8819b113ebf4587 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Wed, 19 Aug 2015 13:29:59 +0000 Subject: Convert ports to use the options helpers in categories [abc]*, and minor fixes. Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412? --- cad/gtkwave/Makefile | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) (limited to 'cad/gtkwave/Makefile') 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 +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} -- cgit v1.2.3