summaryrefslogtreecommitdiff
path: root/cad/gtkwave/Makefile
blob: a919f8d23fb82d0a5d85c05382b5aa9dbfe0dcac (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.92 2018/11/12 03:51:46 ryoon Exp $
#

DISTNAME=		gtkwave-3.3.93
PKGREVISION=		1
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 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"