summaryrefslogtreecommitdiff
path: root/cad/gtkwave/Makefile
blob: 58d567c86139c4f720ad306e592ee46a3a52730e (plain)
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
# $NetBSD: Makefile,v 1.58 2014/08/08 10:28:36 mef Exp $
#

DISTNAME=		gtkwave-3.3.61
CATEGORIES=		cad
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=gtkwave/}
#MASTER_SITES=		http://home.nc.rr.com/gtkwave/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://gtkwave.sourceforge.net/
COMMENT=		Electronic waveform viewer
LICENSE=		gnu-gpl-v3

BUILD_DEPENDS+=		gperf-[0-9]*:../../devel/gperf

GNU_CONFIGURE=		yes
USE_TOOLS+=		gmake pkg-config
USE_LANGUAGES+=		c c++

PTHREAD_AUTO_VARS=	yes
CHECK_PORTABILITY_SKIP+= contrib/bundle_for_osx/launcher.sh

PKG_OPTIONS_VAR=	PKG_OPTIONS.gtkwave
PKG_SUPPORTED_OPTIONS=	gtkwave-tcl
#PKG_SUGGESTED_OPTIONS=	gtkwave-tcl
.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mgtkwave-tcl)
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--disable-tcl
.endif

.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../databases/shared-mime-info/mimedb.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../graphics/gnome-icon-theme/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"