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

PORTNAME=   gtkwave
PORTVERSION=    3.3.87
CATEGORIES= cad
MASTER_SITES=   http://gtkwave.sourceforge.net/

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libfreetype.so:print/freetype2 \
        libfontconfig.so:x11-fonts/fontconfig

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

OPTIONS_DEFINE= TCL GCONF
TCL_DESC=   Enable support for TCL/TK
TCL_USES=   tcl tk
TCL_CONFIGURE_ON=   --with-tcl=${TCL_LIBDIR} \
            --with-tk=${TK_LIBDIR}
TCL_CONFIGURE_OFF=  --disable-tcl

GCONF_CONFIGURE_WITH=   gconf
GCONF_USE=      GNOME=gconf2

PORTDOCS=   gtkwave.odt

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

.include <bsd.port.mk>