aboutsummaryrefslogtreecommitdiffstats
path: root/cad/gtkwave3/Makefile
blob: 6728703eb3ca8c9713d1131419844b32ed8e335b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Ports collection makefile for:    gtkwave
# Date created:         April 28, 2008
# Whom:             bms
#
# $FreeBSD$
#

PORTNAME=   gtkwave3
PORTVERSION=    3.3.38
CATEGORIES= cad
MASTER_SITES=   http://gtkwave.sourceforge.net/
DISTNAME=   gtkwave-${PORTVERSION}

MAINTAINER= zeising@FreeBSD.org
COMMENT=    Electronic Waveform Viewer

GNU_CONFIGURE=  yes
USE_GMAKE=  yes
USE_GNOME=  gtk20 desktopfileutils
INSTALLS_ICONS= yes

OPTIONS_DEFINE= TCL
TCL_DESC=   Enable support for TCL/TK

PORTDOCS=   gtkwave.odt

.include    <bsd.port.options.mk>

.if ${PORT_OPTIONS:MTCL}
USE_TCL=    84+
USE_TK=     84+
CONFIGURE_ARGS+=    --with-tcl=${TCL_LIBDIR} \
            --with-tk=${TK_LIBDIR}
.else
CONFIGURE_ARGS+=    --disable-tcl
.endif

MAN1=   ghwdump.1 gtkwave.1 evcd2vcd.1 fst2vcd.1 fstminer.1 lxt2miner.1 \
    lxt2vcd.1 rtlbrowse.1 shmidcat.1 twinwave.1 vcd2fst.1 \
    vcd2lxt.1 vcd2lxt2.1 vcd2vzt.1 vermin.1 vzt2vcd.1 vztminer.1
MAN5=   gtkwaverc.5

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>