blob: 4a61829bea5c21c4753e31b3f93904c9ced4d7d1 (
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= way-displays
DISTVERSION= 1.5.3
CATEGORIES= x11
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Auto Manage Your Wayland Displays
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libepoll-shim.so:devel/libepoll-shim \
libinotify.so:devel/libinotify \
libudev.so:devel/libudev-devd \
libyaml-cpp.so:devel/yaml-cpp \
libwayland-client.so:graphics/wayland \
libinput.so:x11/libinput
USES= compiler:c11 gmake pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= alex-courtis
MAKEFILE= GNUmakefile
MAKE_ENV= VERSION="${DISTVERSIONFULL}"
MAKE_ARGS= CC="${CC}" CXX="${CXX}" OFLAGS=
PLIST_FILES= bin/${PORTNAME} \
share/man/man1/${PORTNAME}.1.gz \
"@sample ${ETCDIR}/cfg.yaml.sample"
post-patch:
# Respect PREFIX for system-wide config
@${REINPLACE_CMD} 's,/usr/local,${PREFIX},' ${WRKSRC}/src/cfg.cpp
post-install:
# Let @sample handle default files under etc/
@for f in ${STAGEDIR}${ETCDIR}/*; do \
${MV} $$f $$f.sample; \
done
.include <bsd.port.mk>
|