1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/x11/xsettingsd/Makefile
Niclas Zeising 4c46ca73d8 Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
2019-11-07 18:36:55 +00:00

40 lines
886 B
Makefile

# $FreeBSD$
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>