Changeset View
Changeset View
Standalone View
Standalone View
cad/gtkwave/Makefile
Show All 13 Lines | |||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CONFIGURE_ARGS= --disable-mime-update | CONFIGURE_ARGS= --disable-mime-update | ||||
USE_GNOME= gtk20 | USE_GNOME= gtk20 | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
OPTIONS_DEFINE= TCL GCONF | OPTIONS_DEFINE= TCL GCONF | ||||
TCL_DESC= Enable support for TCL/TK | TCL_DESC= Enable support for TCL/TK | ||||
TCL_USES= tk | TCL_USES= tk | ||||
TCL_CONFIGURE_ON= --with-tcl=${TCL_LIBDIR} \ | |||||
--with-tk=${TK_LIBDIR} | |||||
TCL_CONFIGURE_OFF= --disable-tcl | |||||
GCONF_CONFIGURE_WITH= gconf | |||||
GCONF_USE= GNOME=gconf2 | |||||
PORTDOCS= gtkwave.odt | PORTDOCS= gtkwave.odt | ||||
.include <bsd.port.options.mk> | |||||
.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: | post-install: | ||||
@${MKDIR} ${STAGEDIR}${DOCSDIR} | @${MKDIR} ${STAGEDIR}${DOCSDIR} | ||||
.for doc in ${PORTDOCS} | .for doc in ${PORTDOCS} | ||||
${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR} | ${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR} | ||||
.endfor | .endfor | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |