sysutils/poweralertd: add new port

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/
This commit is contained in:
Jan Beich 2023-01-03 17:31:33 +00:00
parent 24b55c1cc8
commit c0339033f7
4 changed files with 32 additions and 0 deletions

View File

@ -1025,6 +1025,7 @@
SUBDIR += polkit-qt
SUBDIR += pot
SUBDIR += potnet
SUBDIR += poweralertd
SUBDIR += powerdxx
SUBDIR += powerman
SUBDIR += powermon

View File

@ -0,0 +1,25 @@
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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1626210294
SHA256 (poweralertd-0.2.0.tar.gz) = f70076dad452c592e2fcdeba4fd533c11394c254f42c21522aa7b56f92a0bd69
SIZE (poweralertd-0.2.0.tar.gz) = 39662

View File

@ -0,0 +1,3 @@
Gives you power notifications as you need them. Just run it.
Depends on UPower and a notification daemon such as mako.