aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/battray/Makefile23
-rw-r--r--sysutils/battray/distinfo4
-rw-r--r--sysutils/battray/pkg-descr2
-rw-r--r--sysutils/battray/pkg-plist28
4 files changed, 16 insertions, 41 deletions
diff --git a/sysutils/battray/Makefile b/sysutils/battray/Makefile
index d9e7e32fafaf..ffefc8fe371e 100644
--- a/sysutils/battray/Makefile
+++ b/sysutils/battray/Makefile
@@ -2,20 +2,23 @@
# $FreeBSD$
PORTNAME= battray
-PORTVERSION= 1.5
+PORTVERSION= 2.1
CATEGORIES= sysutils python
-MASTER_SITES= GOOGLE_CODE
+MASTER_SITES= http://code.arp242.net/${BB_PROJECT}/get/${BB_COMMIT}.tar.gz?dummy=/
+DISTNAME= ${BB_ACCOUNT}-${BB_PROJECT}-${BB_COMMIT}
-MAINTAINER= martin@arp242.net
+MAINTAINER= ports@toco-domains.de
COMMENT= Display notebook battery status in tray
-LICENSE= CCS+
-LICENSE_NAME= Creative Commons Sampling Plus
-LICENSE_TEXT= http://creativecommons.org/licenses/sampling+/1.0/
-LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
+LICENSE= MIT
-USE_GNOME= pygtk2
-USES= python
-USE_PYTHON= distutils
+USE_GNOME= py3gobject3
+USES= python:3.2+
+USE_PYTHON= autoplist distutils
+
+
+BB_ACCOUNT= Carpetsmoker
+BB_PROJECT= ${PORTNAME}
+BB_COMMIT= 011402fbc2a3
.include <bsd.port.mk>
diff --git a/sysutils/battray/distinfo b/sysutils/battray/distinfo
index cff22220433c..30d5c67b3b02 100644
--- a/sysutils/battray/distinfo
+++ b/sysutils/battray/distinfo
@@ -1,2 +1,2 @@
-SHA256 (battray-1.5.tar.gz) = 0c92976b042870a59dd740d0feb26962c5b535bcaa52244590e172075faa73e4
-SIZE (battray-1.5.tar.gz) = 66421
+SHA256 (Carpetsmoker-battray-011402fbc2a3.tar.gz) = eb0a647422f52aa5e719e129b555b8f57e2ca042df7a05817f14e6a6976bb31d
+SIZE (Carpetsmoker-battray-011402fbc2a3.tar.gz) = 68062
diff --git a/sysutils/battray/pkg-descr b/sysutils/battray/pkg-descr
index 2da92a033f52..f7e31b685996 100644
--- a/sysutils/battray/pkg-descr
+++ b/sysutils/battray/pkg-descr
@@ -6,4 +6,4 @@ 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/
+WWW: http://code.arp242.net/battray
diff --git a/sysutils/battray/pkg-plist b/sysutils/battray/pkg-plist
deleted file mode 100644
index e230da852758..000000000000
--- a/sysutils/battray/pkg-plist
+++ /dev/null
@@ -1,28 +0,0 @@
-bin/battray
-%%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
-man/man1/battray.1.gz
-%%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