2012-11-03 21:52:23 +01:00
|
|
|
# Created by: Bruce M Simpson <bms@FreeBSD.org>
|
2008-05-03 12:05:49 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2012-09-04 10:46:18 +02:00
|
|
|
PORTNAME= gtkwave
|
2019-10-31 21:23:59 +01:00
|
|
|
DISTVERSION= 3.3.102
|
2008-05-03 12:05:49 +02:00
|
|
|
CATEGORIES= cad
|
2009-09-23 22:54:54 +02:00
|
|
|
MASTER_SITES= http://gtkwave.sourceforge.net/
|
2008-05-03 12:05:49 +02:00
|
|
|
|
2012-07-03 10:28:34 +02:00
|
|
|
MAINTAINER= zeising@FreeBSD.org
|
2008-05-03 12:05:49 +02:00
|
|
|
COMMENT= Electronic Waveform Viewer
|
|
|
|
|
2016-06-27 18:52:21 +02:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
LIB_DEPENDS= libfreetype.so:print/freetype2 \
|
|
|
|
libfontconfig.so:x11-fonts/fontconfig
|
|
|
|
|
2018-12-23 21:40:55 +01:00
|
|
|
USES= compiler:c++11-lang desktop-file-utils gettext gmake \
|
|
|
|
gnome gperf pkgconfig shared-mime-info
|
2008-05-03 12:05:49 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-09-12 00:30:43 +02:00
|
|
|
CONFIGURE_ARGS= --disable-mime-update
|
2016-06-27 18:52:21 +02:00
|
|
|
USE_GNOME= cairo gtk20
|
2012-01-11 20:10:15 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2008-05-03 12:05:49 +02:00
|
|
|
|
2018-09-10 15:14:50 +02:00
|
|
|
OPTIONS_DEFINE= TCL GCONF DOCS EXAMPLES
|
2012-06-14 20:57:48 +02:00
|
|
|
TCL_DESC= Enable support for TCL/TK
|
2016-06-27 18:52:21 +02:00
|
|
|
TCL_USES= tcl tk
|
2015-08-19 15:29:59 +02:00
|
|
|
TCL_CONFIGURE_ON= --with-tcl=${TCL_LIBDIR} \
|
|
|
|
--with-tk=${TK_LIBDIR}
|
|
|
|
TCL_CONFIGURE_OFF= --disable-tcl
|
2011-10-28 22:27:36 +02:00
|
|
|
|
2015-08-19 15:29:59 +02:00
|
|
|
GCONF_CONFIGURE_WITH= gconf
|
|
|
|
GCONF_USE= GNOME=gconf2
|
2012-05-03 17:25:12 +02:00
|
|
|
|
2015-08-19 15:29:59 +02:00
|
|
|
PORTDOCS= gtkwave.odt
|
2011-10-28 22:27:36 +02:00
|
|
|
|
2018-03-23 22:24:03 +01:00
|
|
|
post-patch-EXAMPLES-off:
|
|
|
|
${REINPLACE_CMD} '/^SUBDIRS/s|examples||' ${WRKSRC}/Makefile.in
|
|
|
|
|
2012-05-03 17:25:12 +02:00
|
|
|
post-install:
|
2014-01-28 15:18:34 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2012-05-03 17:25:12 +02:00
|
|
|
.for doc in ${PORTDOCS}
|
2014-01-28 15:18:34 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR}
|
2012-05-03 17:25:12 +02:00
|
|
|
.endfor
|
|
|
|
|
2009-01-05 18:27:29 +01:00
|
|
|
.include <bsd.port.mk>
|