summaryrefslogtreecommitdiff
path: root/math/pspp/options.mk
blob: 07e04b8feb7aa764a36c317538f38b7d2609281d (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
# $NetBSD: options.mk,v 1.2 2015/10/24 21:20:10 joerg Exp $

PKG_OPTIONS_VAR=		PKG_OPTIONS.pspp
PKG_SUPPORTED_OPTIONS=		pgsql x11
PKG_SUGGESTED_OPTIONS=		x11

.include "../../mk/bsd.options.mk"

PLIST_VARS+=		${PKG_SUPPORTED_OPTIONS}

.if !empty(PKG_OPTIONS:Mx11)
PLIST.x11=		yes

#CONFIGURE_ARGS+=	--without-libplot # :(
.include "../../graphics/plotutils/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-gui --without-libplot
.endif

.if !empty(PKG_OPTIONS:Mpgsql)
CONFIGURE_ARGS+=	--with-libpq
.include "../../mk/pgsql.buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-libpq
.endif