diff options
author | eadler <eadler@FreeBSD.org> | 2011-08-31 01:27:36 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2011-08-31 01:27:36 +0800 |
commit | 9e840bd48a5dbb0e6a562989fd390845aaa7818c (patch) | |
tree | 07b14babe7855096f529cfe15797ebf585cdf3fa /sysutils | |
parent | 85709a4aa050a0bd886e3120ebe05261a21316db (diff) | |
download | freebsd-ports-gnome-9e840bd48a5dbb0e6a562989fd390845aaa7818c.tar.gz freebsd-ports-gnome-9e840bd48a5dbb0e6a562989fd390845aaa7818c.tar.zst freebsd-ports-gnome-9e840bd48a5dbb0e6a562989fd390845aaa7818c.zip |
Battray is a python program that displays a tray icon to inform you of the
battery status of your notebook.
It is also able to take certain actions depending on battery status.
It's simple, easy, fairly environment-independent, and "just works" without
tons of (Gnome|KDE|..) dependencies.
WWW: http://code.google.com/p/battray/
PR: ports/159152
Submitted by: Martin Tournoij <carpetsmoker@daemonforums.org>
Approved by: bapt (mentor)
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/Makefile | 1 | ||||
-rw-r--r-- | sysutils/battray/Makefile | 24 | ||||
-rw-r--r-- | sysutils/battray/distinfo | 2 | ||||
-rw-r--r-- | sysutils/battray/pkg-descr | 9 | ||||
-rw-r--r-- | sysutils/battray/pkg-plist | 32 |
5 files changed, 68 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile index 633552051688..f7b49e4e30b0 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -58,6 +58,7 @@ SUBDIR += batmon SUBDIR += battfink SUBDIR += battmond + SUBDIR += battray SUBDIR += bbapm SUBDIR += bchunk SUBDIR += be_agent diff --git a/sysutils/battray/Makefile b/sysutils/battray/Makefile new file mode 100644 index 000000000000..2e4a98a71a0a --- /dev/null +++ b/sysutils/battray/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: sysutils/battray +# Date created: 2011-08-30 +# Whom: Martin Tournoij <martin@arp242.net> +# +# $FreeBSD$ +# + +PORTNAME= battray +PORTVERSION= 1.3 +CATEGORIES= sysutils python +MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} + +MAINTAINER= martin@arp242.net +COMMENT= Display notebook battery status in tray + +LICENSE= BSD + +USE_GNOME= pygtk2 +USE_PYTHON= yes +USE_PYDISTUTILS=yes + +MAN1= battray.1 + +.include <bsd.port.mk> diff --git a/sysutils/battray/distinfo b/sysutils/battray/distinfo new file mode 100644 index 000000000000..728be69f7629 --- /dev/null +++ b/sysutils/battray/distinfo @@ -0,0 +1,2 @@ +SHA256 (battray-1.3.tar.gz) = 211c5ea34853437231e76c04160acbd406611bb4613f5947d4cd0f6d120ce58a +SIZE (battray-1.3.tar.gz) = 65906 diff --git a/sysutils/battray/pkg-descr b/sysutils/battray/pkg-descr new file mode 100644 index 000000000000..2da92a033f52 --- /dev/null +++ b/sysutils/battray/pkg-descr @@ -0,0 +1,9 @@ +Battray is a python program that displays a tray icon to inform you of the +battery status of your notebook. + +It is also able to take certain actions depending on battery status. + +It's simple, easy, fairly environment-independent, and "just works" without +tons of (Gnome|KDE|..) dependencies. + +WWW: http://code.google.com/p/battray/ diff --git a/sysutils/battray/pkg-plist b/sysutils/battray/pkg-plist new file mode 100644 index 000000000000..da1c8ffaeefb --- /dev/null +++ b/sysutils/battray/pkg-plist @@ -0,0 +1,32 @@ +bin/battray +bin/playwav.py +%%PYTHON_SITELIBDIR%%/battray/__init__.py +%%PYTHON_SITELIBDIR%%/battray/__init__.pyc +%%PYTHON_SITELIBDIR%%/battray/__init__.pyo +%%PYTHON_SITELIBDIR%%/battray/battrayrc_default.py +%%PYTHON_SITELIBDIR%%/battray/battrayrc_default.pyc +%%PYTHON_SITELIBDIR%%/battray/battrayrc_default.pyo +%%PYTHON_SITELIBDIR%%/battray/platforms/__init__.py +%%PYTHON_SITELIBDIR%%/battray/platforms/__init__.pyc +%%PYTHON_SITELIBDIR%%/battray/platforms/__init__.pyo +%%PYTHON_SITELIBDIR%%/battray/platforms/freebsd.py +%%PYTHON_SITELIBDIR%%/battray/platforms/freebsd.pyc +%%PYTHON_SITELIBDIR%%/battray/platforms/freebsd.pyo +%%PYTHON_SITELIBDIR%%/battray/platforms/linux.py +%%PYTHON_SITELIBDIR%%/battray/platforms/linux.pyc +%%PYTHON_SITELIBDIR%%/battray/platforms/linux.pyo +%%PYTHON_SITELIBDIR%%/battray/platforms/openbsd.py +%%PYTHON_SITELIBDIR%%/battray/platforms/openbsd.pyc +%%PYTHON_SITELIBDIR%%/battray/platforms/openbsd.pyo +%%DATADIR%%/alert.wav +%%DATADIR%%/icons/battery.png +%%DATADIR%%/icons/charging.png +%%DATADIR%%/icons/connected.png +%%DATADIR%%/icons/error.png +%%DATADIR%%/icons/green.png +%%DATADIR%%/icons/red.png +%%DATADIR%%/icons/yellow.png +@dirrm %%DATADIR%%/icons +@dirrm %%DATADIR%% +@dirrm %%PYTHON_SITELIBDIR%%/battray/platforms +@dirrm %%PYTHON_SITELIBDIR%%/battray |