git: c0339033f7c9 - main - sysutils/poweralertd: add new port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 Jan 2023 20:20:45 UTC
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=c0339033f7c9782454fbcdd23d25d38bdebb5527 commit c0339033f7c9782454fbcdd23d25d38bdebb5527 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-01-03 17:31:33 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2023-01-03 20:16:29 +0000 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/ --- sysutils/Makefile | 1 + sysutils/poweralertd/Makefile | 25 +++++++++++++++++++++++++ sysutils/poweralertd/distinfo | 3 +++ sysutils/poweralertd/pkg-descr | 3 +++ 4 files changed, 32 insertions(+) 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.