summaryrefslogtreecommitdiff
path: root/x11/xsettingsd/Makefile
blob: c0675ba72bd8ede6d7c1ca543fd01ccab3ffb7eb (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

PORTNAME=	xsettingsd
DISTVERSIONPREFIX=	v
DISTVERSION=	1.0.0-2
PORTREVISION=	1
DISTVERSIONSUFFIX=	-g1b2bcca
CATEGORIES=	x11

MAINTAINER=	aou@eecs.berkeley.edu
COMMENT=	Daemon that implements the XSETTINGS specification

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		compiler:c++11-lang pkgconfig scons xorg
USE_GITHUB=	yes
GH_ACCOUNT=	derat
USE_XORG=	x11

PLIST_FILES=	bin/dump_xsettings \
		bin/xsettingsd \
		man/man1/dump_xsettings.1.gz \
		man/man1/xsettingsd.1.gz

.include <bsd.port.pre.mk>

.if ${CHOSEN_COMPILER_TYPE} == gcc
pre-configure:
	${REINPLACE_CMD} -e 's|-Wno-narrowing||' ${WRKSRC}/SConstruct
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/dump_xsettings ${WRKSRC}/xsettingsd \
		${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/dump_xsettings.1 ${WRKSRC}/xsettingsd.1 \
		${STAGEDIR}${MAN1PREFIX}/man/man1

.include <bsd.port.post.mk>