View | Details | Raw Unified | Return to bug 221912
Collapse All | Expand All

(-)Makefile (-9 / +5 lines)
Lines 1-23 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	dsbbatmon
3
PORTNAME=	dsbbatmon
4
PORTVERSION=	0.1.2
4
PORTVERSION=	1.0
5
CATEGORIES=	sysutils
5
CATEGORIES=	sysutils
6
MASTER_SITES=	http://freeshell.de/~mk/download/
6
MASTER_SITES=	http://freeshell.de/~mk/download/
7
7
8
MAINTAINER=	mk@nic-nac-project.org
8
MAINTAINER=	mk@nic-nac-project.org
9
COMMENT=	GTK+ battery monitor
9
COMMENT=	Qt battery monitor
10
10
11
LICENSE=	BSD2CLAUSE
11
LICENSE=	BSD2CLAUSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
12
LICENSE_FILE=	${WRKSRC}/LICENSE
13
13
14
USES=		pkgconfig tar:tgz
14
USES=		tar:tgz qmake
15
USE_GNOME=	gtk20
16
15
17
OPTIONS_DEFINE=	NLS
16
USE_GL=		gl
18
OPTIONS_SUB=	yes
17
USE_QT5=	buildtools_build core gui linguisttools_build widgets
19
18
20
NLS_USES=	gettext
21
NLS_MAKE_ARGS_OFF=	-DWITHOUT_GETTEXT
22
23
.include <bsd.port.mk>
19
.include <bsd.port.mk>
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (dsbbatmon-0.1.2.tgz) = 298f63f18cf371bc4c75d82f5dbe3191fe539feb40441ca22e0d00da026ed31d
1
TIMESTAMP = 1504017664
2
SIZE (dsbbatmon-0.1.2.tgz) = 74240
2
SHA256 (dsbbatmon-1.0.tgz) = fb630d3618dfa41665a6fa852a0a61feef2eee040c4534673c790154198235a3
3
SIZE (dsbbatmon-1.0.tgz) = 21044
(-)pkg-descr (-3 / +3 lines)
Lines 1-6 Link Here
1
DSBBatmon is a GTK+ battery monitor for FreeBSD. It displays the battery's
1
DSBBatmon is a Qt battery monitor for FreeBSD. It displays the battery's
2
current status, capacity, and remaining time. It warns the user if the battery
2
current status, capacity, and remaining time. It warns the user if the battery
3
capacity is low, and can automatically shut down the system if a critical
3
capacity is low, and can automatically shut down or suspend the system if a
4
capacity is reached.
4
critical capacity is reached.
5
5
6
WWW: http://freeshell.de/~mk/projects/dsbbatmon.html
6
WWW: http://freeshell.de/~mk/projects/dsbbatmon.html
(-)pkg-message (+15 lines)
Line 0 Link Here
1
**************************************************************************
2
3
In order to be able to execute shutdown as regular user, you can either
4
use sudo(8) (see below), or you can add your username to the operator
5
group:
6
	# pw groupmod operator -m yourusername
7
8
If you want to be able to suspend your system as regular user who is
9
member of the wheel group, you can use sudo(8).  Add
10
11
	%wheel  ALL=(ALL) NOPASSWD: /usr/sbin/acpiconf *
12
13
to ${PREFIX}/etc/sudoers.
14
15
**************************************************************************
(-)pkg-plist (-1 / +1 lines)
Lines 1-3 Link Here
1
bin/dsbbatmon
1
bin/dsbbatmon
2
share/applications/dsbbatmon.desktop
2
share/applications/dsbbatmon.desktop
3
%%NLS%%share/locale/de/LC_MESSAGES/dsbbatmon.mo
3
%%DATADIR%%/dsbbatmon_de.qm

Return to bug 221912