aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2011-08-30 17:27:36 +0000
committerEitan Adler <eadler@FreeBSD.org>2011-08-30 17:27:36 +0000
commitc10a99c9fd3daee241146b9802c6343688f34b1f (patch)
treecee07ed17513003abf6d376fb9bc9a8f18d2f843
parent2a9cbca0a092ba13a7ccdead08790f39745a4a08 (diff)
downloadports-c10a99c9fd3daee241146b9802c6343688f34b1f.tar.gz
ports-c10a99c9fd3daee241146b9802c6343688f34b1f.zip
Notes
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/battray/Makefile24
-rw-r--r--sysutils/battray/distinfo2
-rw-r--r--sysutils/battray/pkg-descr9
-rw-r--r--sysutils/battray/pkg-plist32
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