Added
Link Here
|
1 |
PORTNAME= wlopm |
2 |
PORTVERSION= 0.1.0 |
3 |
DISTVERSIONPREFIX= v |
4 |
CATEGORIES= x11 wayland |
5 |
MASTER_SITES= https://git.sr.ht/~leon_plickat/${PORTNAME}/archive/ |
6 |
DISTFILES= ${DISTVERSIONFULL}${EXTRACT_SUFX} |
7 |
DIST_SUBDIR= wlopm |
8 |
|
9 |
MAINTAINER= tino.engel@mail.de |
10 |
COMMENT= Wayland output power management |
11 |
WWW= https://git.sr.ht/~leon_plickat/wlopm |
12 |
|
13 |
LICENSE= GPLv3 |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
15 |
|
16 |
BUILD_DEPENDS= wayland-scanner:graphics/wayland |
17 |
LIB_DEPENDS= libwayland-client.so:graphics/wayland |
18 |
|
19 |
USES= gmake |
20 |
USE_GCC= yes |
21 |
|
22 |
ALL_TARGET= wlopm |
23 |
|
24 |
CFLAGS+= -Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter \ |
25 |
-Wconversion -Wformat-security -Wformat -Wsign-conversion \ |
26 |
-Wfloat-conversion -Wunused-result -I${LOCALBASE}/include |
27 |
LDFLAGS+= -L${LOCALBASE}/lib |
28 |
|
29 |
LIBS= -lwayland-client |
30 |
|
31 |
PLIST_FILES= bin/wlopm \ |
32 |
share/man/man1/wlopm.1.gz |
33 |
|
34 |
do-install: |
35 |
${INSTALL} ${WRKSRC}/wlopm ${STAGEDIR}${PREFIX}/bin/wlopm |
36 |
${INSTALL_DATA} ${WRKSRC}/wlopm.1 ${STAGEDIR}${PREFIX}/share/man/man1/wlopm.1 |
37 |
|
38 |
.include <bsd.port.mk> |