aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-01-03 17:31:33 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-01-03 20:16:29 +0000
commitc0339033f7c9782454fbcdd23d25d38bdebb5527 (patch)
tree325f258347a61aace3524b49be7e5cd92a541c55 /sysutils
parent24b55c1cc810215fccc1abf0fa33a5507bacd944 (diff)
downloadports-c0339033f7c9782454fbcdd23d25d38bdebb5527.tar.gz
ports-c0339033f7c9782454fbcdd23d25d38bdebb5527.zip
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/
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/poweralertd/Makefile25
-rw-r--r--sysutils/poweralertd/distinfo3
-rw-r--r--sysutils/poweralertd/pkg-descr3
4 files changed, 32 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index be6eed196c13..005ec87f544a 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1025,6 +1025,7 @@
SUBDIR += polkit-qt
SUBDIR += pot
SUBDIR += potnet
+ SUBDIR += poweralertd
SUBDIR += powerdxx
SUBDIR += powerman
SUBDIR += powermon
diff --git a/sysutils/poweralertd/Makefile b/sysutils/poweralertd/Makefile
new file mode 100644
index 000000000000..da61887f67d3
--- /dev/null
+++ b/sysutils/poweralertd/Makefile
@@ -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>
diff --git a/sysutils/poweralertd/distinfo b/sysutils/poweralertd/distinfo
new file mode 100644
index 000000000000..a2dd3da94a6c
--- /dev/null
+++ b/sysutils/poweralertd/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1626210294
+SHA256 (poweralertd-0.2.0.tar.gz) = f70076dad452c592e2fcdeba4fd533c11394c254f42c21522aa7b56f92a0bd69
+SIZE (poweralertd-0.2.0.tar.gz) = 39662
diff --git a/sysutils/poweralertd/pkg-descr b/sysutils/poweralertd/pkg-descr
new file mode 100644
index 000000000000..0740d2cc3d31
--- /dev/null
+++ b/sysutils/poweralertd/pkg-descr
@@ -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.