summaryrefslogtreecommitdiff
path: root/cad/gtkwave/Makefile
blob: d942e09a95a1a9b605770b4e0d60c800301c970f (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
46
47
48
49
50
51
52
# $NetBSD: Makefile,v 1.114 2021/04/21 11:41:03 adam Exp $
#

DISTNAME=		gtkwave-3.3.107
PKGREVISION=		2
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/*.sh

PKG_OPTIONS_VAR=	PKG_OPTIONS.gtkwave
PKG_SUPPORTED_OPTIONS=	gtkwave-tcl gconf
PKG_SUGGESTED_OPTIONS=	gconf
.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

.if !empty(PKG_OPTIONS:Mgconf)
CONFIGURE_ARGS+=	--with-gconf
.include "../../devel/gconfmm/buildlink3.mk"
.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 "../../graphics/hicolor-icon-theme/buildlink3.mk"

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