Added
Link Here
|
1 |
PORTNAME= wlopm |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 0.1.0 |
4 |
CATEGORIES= x11 wayland |
5 |
MASTER_SITES= https://git.sr.ht/~leon_plickat/${PORTNAME}/archive/ |
6 |
DISTNAME= ${DISTVERSIONFULL} |
7 |
DIST_SUBDIR= ${PORTNAME} |
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 localbase:ldflags |
20 |
|
21 |
ALL_TARGET= wlopm |
22 |
CFLAGS+= -Wno-strict-prototypes |
23 |
LIBS= -lwayland-client |
24 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSIONFULL} |
25 |
|
26 |
PLIST_FILES= bin/wlopm \ |
27 |
share/man/man1/wlopm.1.gz |
28 |
|
29 |
do-install: |
30 |
${INSTALL_PROGRAM} ${WRKSRC}/wlopm ${STAGEDIR}${PREFIX}/bin/wlopm |
31 |
${INSTALL_DATA} ${WRKSRC}/wlopm.1 ${STAGEDIR}${PREFIX}/share/man/man1/wlopm.1 |
32 |
|
33 |
.include <bsd.port.mk> |