aboutsummaryrefslogtreecommitdiffstats
path: root/cad/gtkwave/Makefile
blob: e09aeb855e7e093dfc32556b049d8641ee5bc834 (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
# Created by: Bruce M Simpson <bms@FreeBSD.org>
# $FreeBSD$

PORTNAME=   gtkwave
PORTVERSION=    3.3.60
PORTREVISION=   1
CATEGORIES= cad
MASTER_SITES=   http://gtkwave.sourceforge.net/

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

USES=       desktop-file-utils gmake gperf pkgconfig shared-mime-info
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --disable-mime-update
USE_GNOME=  gtk20
INSTALLS_ICONS= yes

OPTIONS_DEFINE= TCL GCONF
TCL_DESC=   Enable support for TCL/TK
TCL_USES=   tk

PORTDOCS=   gtkwave.odt

.include    <bsd.port.options.mk>

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

.if ${PORT_OPTIONS:MGCONF}
CONFIGURE_ARGS+=    --with-gconf
USE_GNOME+= gconf2
.endif

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${STAGEDIR}${DOCSDIR}
.endfor

.include <bsd.port.mk>