c0339033f7
Gives you power notifications as you need them. Just run it. Depends on UPower and a notification daemon such as mako. https://sr.ht/~kennylevinsen/poweralertd/
25 lines
642 B
Makefile
25 lines
642 B
Makefile
PORTNAME= poweralertd
|
|
DISTVERSION= 0.2.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://git.sr.ht/~kennylevinsen/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
|
|
|
|
MAINTAINER= jbeich@FreeBSD.org
|
|
COMMENT= UPower-powered power alerter
|
|
WWW= https://sr.ht/~kennylevinsen/poweralertd/
|
|
|
|
LICENSE= GPLv3
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libbasu.so:devel/basu
|
|
|
|
USES= compiler:c11 meson pkgconfig
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= MANPAGES
|
|
OPTIONS_DEFAULT=MANPAGES
|
|
|
|
MANPAGES_BUILD_DEPENDS= scdoc:textproc/scdoc
|
|
MANPAGES_MESON_ENABLED= man-pages
|
|
MANPAGES_PLIST_FILES= man/man1/${PORTNAME}.1.gz
|
|
|
|
.include <bsd.port.mk>
|