summaryrefslogtreecommitdiff
path: root/sysutils/dsbbatmon
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2016-03-28 16:17:48 +0000
committerJan Beich <jbeich@FreeBSD.org>2016-03-28 16:17:48 +0000
commite4834cfc5b8dd59b42ac42eb40a2187d754821cc (patch)
treec4f8e55bc834fbf8404cacd56491eb7ef2bb020f /sysutils/dsbbatmon
parentFix SPOOF build. (diff)
sysutils/dsbbatmon: add new port
PR: 207974 Submitted by: Marcel Kaiser DSBBatmon is a GTK+ battery monitor for FreeBSD. It displays the battery's current status, capacity, and remaining time. It warns the user if the battery capacity is low, and can automatically shut down the system if a critical capacity is reached. http://freeshell.de/~mk/projects/dsbbatmon.html
Diffstat (limited to 'sysutils/dsbbatmon')
-rw-r--r--sysutils/dsbbatmon/Makefile24
-rw-r--r--sysutils/dsbbatmon/distinfo2
-rw-r--r--sysutils/dsbbatmon/pkg-descr6
-rw-r--r--sysutils/dsbbatmon/pkg-plist3
4 files changed, 35 insertions, 0 deletions
diff --git a/sysutils/dsbbatmon/Makefile b/sysutils/dsbbatmon/Makefile
new file mode 100644
index 000000000000..49067875a4b4
--- /dev/null
+++ b/sysutils/dsbbatmon/Makefile
@@ -0,0 +1,24 @@
+# $FreeBSD$
+
+PORTNAME= dsbbatmon
+PORTVERSION= 0.1.2
+CATEGORIES= sysutils
+MASTER_SITES= http://freeshell.de/~mk/download/
+
+MAINTAINER= mk@nic-nac-project.org
+COMMENT= GTK+ battery monitor
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= pkgconfig tar:tgz
+USE_GNOME= gtk20
+
+OPTIONS_DEFINE= NLS
+OPTIONS_DEFAULT=NLS
+OPTIONS_SUB= yes
+
+NLS_USES= gettext
+NLS_MAKE_ARGS_OFF= -DWITHOUT_GETTEXT
+
+.include <bsd.port.mk>
diff --git a/sysutils/dsbbatmon/distinfo b/sysutils/dsbbatmon/distinfo
new file mode 100644
index 000000000000..381157eb22cf
--- /dev/null
+++ b/sysutils/dsbbatmon/distinfo
@@ -0,0 +1,2 @@
+SHA256 (dsbbatmon-0.1.2.tgz) = 298f63f18cf371bc4c75d82f5dbe3191fe539feb40441ca22e0d00da026ed31d
+SIZE (dsbbatmon-0.1.2.tgz) = 74240
diff --git a/sysutils/dsbbatmon/pkg-descr b/sysutils/dsbbatmon/pkg-descr
new file mode 100644
index 000000000000..ffe1138ca38a
--- /dev/null
+++ b/sysutils/dsbbatmon/pkg-descr
@@ -0,0 +1,6 @@
+DSBBatmon is a GTK+ battery monitor for FreeBSD. It displays the battery's
+current status, capacity, and remaining time. It warns the user if the battery
+capacity is low, and can automatically shut down the system if a critical
+capacity is reached.
+
+WWW: http://freeshell.de/~mk/projects/dsbbatmon.html
diff --git a/sysutils/dsbbatmon/pkg-plist b/sysutils/dsbbatmon/pkg-plist
new file mode 100644
index 000000000000..3d1b32e903e4
--- /dev/null
+++ b/sysutils/dsbbatmon/pkg-plist
@@ -0,0 +1,3 @@
+bin/dsbbatmon
+share/applications/dsbbatmon.desktop
+%%NLS%%share/locale/de/LC_MESSAGES/dsbbatmon.mo