Index: Makefile =================================================================== --- Makefile (revision 512405) +++ Makefile (working copy) @@ -2,13 +2,18 @@ # $FreeBSD$ PORTNAME= battmond -PORTVERSION= 0.3 +DISTVERSION= 0.4 CATEGORIES= sysutils -MASTER_SITES= http://ntarmos.dyndns.org/Software/FreeBSD/ -MAINTAINER= ntarmos@cs.uoi.gr +MAINTAINER= ntarmos@gmail.com COMMENT= Daemon monitoring the battery level of ACPI-enabled laptops +LICENSE= BSD2CLAUSE + +USE_GITHUB= yes +GH_ACCOUNT= ntarmos +GH_TAGNAME= 0.4 + PLIST_FILES= sbin/battmond \ etc/rc.d/battmond \ man/man1/battmond.1.gz Index: distinfo =================================================================== --- distinfo (revision 512405) +++ distinfo (working copy) @@ -1,2 +1,3 @@ -SHA256 (battmond-0.3.tar.gz) = 2a97fcd0fe665f7e47fcea551f4e3d42faae450b0301ec17f796b06e1d2de65f -SIZE (battmond-0.3.tar.gz) = 3231 +TIMESTAMP = 1568982487 +SHA256 (ntarmos-battmond-0.4_GH0.tar.gz) = f21d10cf940f0cbce305c53077d32fce037df5241292b607c9a9cf313b5294c4 +SIZE (ntarmos-battmond-0.4_GH0.tar.gz) = 4121 Index: files/patch-Makefile =================================================================== --- files/patch-Makefile (revision 512405) +++ files/patch-Makefile (working copy) @@ -1,5 +1,5 @@ ---- Makefile.orig 2014-06-26 23:11:34.738471328 +0800 -+++ Makefile 2014-06-26 23:11:57.588499251 +0800 +--- Makefile.orig 2019-09-19 13:32:10 UTC ++++ Makefile @@ -14,10 +14,10 @@ battmond: battmond.c ${CC} ${CFLAGS} battmond.c -o battmond -lutil Index: pkg-descr =================================================================== --- pkg-descr (revision 512405) +++ pkg-descr (working copy) @@ -1,6 +1,6 @@ Battmond is a small daemon monitoring the battery level on ACPI-enabled (laptop) computers, by probing the ACPI device on regular intervals. It can warn you (through syslog) when the battery level is running low, and -halt the system when it drops below a critical level threshold. +halt or suspend the system when it drops below a critical level threshold. -WWW: http://ntarmos.dyndns.org/ +WWW: https://github.com/ntarmos/battmond/