freebsd-ports/cad/gtkwave/Makefile
2019-05-24 15:15:05 +00:00

46 lines
1.1 KiB
Makefile

# Created by: Bruce M Simpson <bms@FreeBSD.org>
# $FreeBSD$
PORTNAME= gtkwave
PORTVERSION= 3.3.101
CATEGORIES= cad
MASTER_SITES= http://gtkwave.sourceforge.net/
MAINTAINER= zeising@FreeBSD.org
COMMENT= Electronic Waveform Viewer
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfreetype.so:print/freetype2 \
libfontconfig.so:x11-fonts/fontconfig
USES= compiler:c++11-lang desktop-file-utils gettext gmake \
gnome gperf pkgconfig shared-mime-info
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-mime-update
USE_GNOME= cairo gtk20
INSTALLS_ICONS= yes
OPTIONS_DEFINE= TCL GCONF DOCS EXAMPLES
TCL_DESC= Enable support for TCL/TK
TCL_USES= tcl 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
post-patch-EXAMPLES-off:
${REINPLACE_CMD} '/^SUBDIRS/s|examples||' ${WRKSRC}/Makefile.in
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>