mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-19 08:13:21 +00:00
e167afd981
wlopm - Wayland output power management Simple client implementing zwlr-output-power-management-v1. WWW: https://git.sr.ht/~leon_plickat/wlopm PR: 275141
34 lines
859 B
Makefile
34 lines
859 B
Makefile
PORTNAME= wlopm
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.1.0
|
|
CATEGORIES= x11 wayland
|
|
MASTER_SITES= https://git.sr.ht/~leon_plickat/${PORTNAME}/archive/
|
|
DISTNAME= ${DISTVERSIONFULL}
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= tino.engel@mail.de
|
|
COMMENT= Wayland output power management
|
|
WWW= https://git.sr.ht/~leon_plickat/wlopm
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= wayland-scanner:graphics/wayland
|
|
LIB_DEPENDS= libwayland-client.so:graphics/wayland
|
|
|
|
USES= gmake localbase:ldflags
|
|
|
|
ALL_TARGET= wlopm
|
|
CFLAGS+= -Wno-strict-prototypes
|
|
LIBS= -lwayland-client
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSIONFULL}
|
|
|
|
PLIST_FILES= bin/wlopm \
|
|
share/man/man1/wlopm.1.gz
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wlopm ${STAGEDIR}${PREFIX}/bin/wlopm
|
|
${INSTALL_MAN} ${WRKSRC}/wlopm.1 ${STAGEDIR}${PREFIX}/share/man/man1/wlopm.1
|
|
|
|
.include <bsd.port.mk>
|