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
|
2014-06-06 22:57:37 +02:00
|
|
|
PORTVERSION= 3.3.60
|
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
|
|
|
DISTNAME= gtkwave-${PORTVERSION}
|
|
|
|
|
2012-07-03 10:28:34 +02:00
|
|
|
MAINTAINER= zeising@FreeBSD.org
|
2008-05-03 12:05:49 +02:00
|
|
|
COMMENT= Electronic Waveform Viewer
|
|
|
|
|
2014-01-28 15:18:34 +01:00
|
|
|
USES= desktop-file-utils gmake pkgconfig
|
2008-05-03 12:05:49 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2014-01-28 15:18:34 +01:00
|
|
|
USE_GNOME= gtk20
|
2012-01-11 20:10:15 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2008-05-03 12:05:49 +02:00
|
|
|
|
2013-05-13 15:48:32 +02:00
|
|
|
OPTIONS_DEFINE= TCL GCONF
|
2012-06-14 20:57:48 +02:00
|
|
|
TCL_DESC= Enable support for TCL/TK
|
2014-01-28 15:18:34 +01:00
|
|
|
TCL_USES= tk
|
2011-10-28 22:27:36 +02:00
|
|
|
|
2012-05-03 17:25:12 +02:00
|
|
|
PORTDOCS= gtkwave.odt
|
|
|
|
|
2011-10-28 22:27:36 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-06-14 20:57:48 +02:00
|
|
|
.if ${PORT_OPTIONS:MTCL}
|
2011-10-28 22:27:36 +02:00
|
|
|
CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR} \
|
|
|
|
--with-tk=${TK_LIBDIR}
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-tcl
|
|
|
|
.endif
|
|
|
|
|
2013-05-13 15:48:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MGCONF}
|
|
|
|
CONFIGURE_ARGS+= --with-gconf
|
|
|
|
USE_GNOME+= gconf2
|
|
|
|
.endif
|
|
|
|
|
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>
|