summaryrefslogtreecommitdiff
path: root/wm/fluxconf/Makefile
blob: d078c6f15a73604fa906cb81f4ae09f795ba4c76 (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
# $NetBSD: Makefile,v 1.33 2017/02/12 06:26:06 ryoon Exp $
#

DISTNAME=	fluxconf-0.9.9
PKGREVISION=	25
CATEGORIES=	wm
MASTER_SITES=	http://devaux.fabien.free.fr/flux/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://devaux.fabien.free.fr/flux/
COMMENT=	GTK based configuration tool for the fluxbox window manager

DEPENDS+=		fluxbox-[0-9]*:../../wm/fluxbox

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--datadir=${PREFIX}/${PKGLOCALEDIR}
USE_PKGLOCALEDIR=	yes
USE_TOOLS+=		msgfmt pkg-config

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
_WRAP_EXTRA_ARGS.CC+=	-Wno-error=invalid-source-encoding -Wno-error=format-security -Wno-error=self-assign
CWRAPPERS_APPEND.cc+=	-Wno-error=invalid-source-encoding -Wno-error=format-security -Wno-error=self-assign
.elif !empty(PKGSRC_COMPILER:Mgcc)
_WRAP_EXTRA_ARGS.CC+=	-Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable
CWRAPPERS_APPEND.cc+=	-Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable
.endif

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"