aboutsummaryrefslogtreecommitdiffstats
path: root/cad/gtkwave3/Makefile
blob: 4538ffe8ce3a3fea06c3128eced6f918b66630b1 (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
# Ports collection makefile for:    gtkwave
# Date created:         April 28, 2008
# Whom:             bms
#
# $FreeBSD$
#

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

MAINTAINER= zeising@daemonic.se
COMMENT=    Electronic Waveform Viewer

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

OPTIONS=    TCL "Enable support for TCL/TK" off

PORTDOCS=   gtkwave.odt

.include    <bsd.port.options.mk>

.if defined(WITH_TCL)
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 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>