aboutsummaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-08-13 19:48:28 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-08-13 19:48:28 +0000
commit9cc105ad6bfea88b5c6159d0d48ae6067dc18071 (patch)
treec8d429059231e400d69563674480868ef8758a2f /net-im
parentb0b6d005e93c077de288e46eae28ab8ccc48a3d2 (diff)
downloadports-9cc105ad6bfea88b5c6159d0d48ae6067dc18071.tar.gz
ports-9cc105ad6bfea88b5c6159d0d48ae6067dc18071.zip
Notes
Diffstat (limited to 'net-im')
-rw-r--r--net-im/py-jabberbot/Makefile10
-rw-r--r--net-im/py-jabberbot/distinfo4
-rw-r--r--net-im/py-jabberbot/pkg-descr2
-rw-r--r--net-im/py-jabberbot/pkg-plist3
4 files changed, 10 insertions, 9 deletions
diff --git a/net-im/py-jabberbot/Makefile b/net-im/py-jabberbot/Makefile
index c8c356bfb14d..7183f72c9289 100644
--- a/net-im/py-jabberbot/Makefile
+++ b/net-im/py-jabberbot/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= jabberbot
-PORTVERSION= 0.14
+PORTVERSION= 0.15
CATEGORIES= net-im python
MASTER_SITES= SF/pythonjabberbot/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,11 +16,15 @@ COMMENT= A simple Jabber Bot for Python
LICENSE= GPLv3
-BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/xmpp/auth.py:${PORTSDIR}/net-im/py-xmpppy
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xmpppy>0:${PORTSDIR}/net-im/py-xmpppy
-USE_PYTHON= 2.5+
+USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/jabberbot.py \
+ %%PYTHON_SITELIBDIR%%/jabberbot.pyc \
+ %%PYTHON_SITELIBDIR%%/jabberbot.pyo
+
post-patch:
@${GREP} -lr '/usr/bin/python' ${WRKSRC} | \
${XARGS} ${REINPLACE_CMD} -e "s,^#!/usr/bin/python,#!${PYTHON_CMD},"
diff --git a/net-im/py-jabberbot/distinfo b/net-im/py-jabberbot/distinfo
index e9e07ae1630e..1436da956460 100644
--- a/net-im/py-jabberbot/distinfo
+++ b/net-im/py-jabberbot/distinfo
@@ -1,2 +1,2 @@
-SHA256 (jabberbot-0.14.tar.gz) = e84ff88326213a503e4078c658f50ebf04520527af636a6d43ff7344435f2c64
-SIZE (jabberbot-0.14.tar.gz) = 23745
+SHA256 (jabberbot-0.15.tar.gz) = b8b946958e15f5413adcb02fecf7cffd6d008669a692ef6a2bc4bf3717c06a1d
+SIZE (jabberbot-0.15.tar.gz) = 25044
diff --git a/net-im/py-jabberbot/pkg-descr b/net-im/py-jabberbot/pkg-descr
index ad3a4aab7702..ec4b064d326c 100644
--- a/net-im/py-jabberbot/pkg-descr
+++ b/net-im/py-jabberbot/pkg-descr
@@ -4,4 +4,4 @@ provide information about your running systems, to make your website
interact with your visitors or notify you about updates or changes
you monitor with your Python scripts.
-WWW: http://thpinfo.com/2007/python-jabberbot/
+WWW: http://thpinfo.com/2007/python-jabberbot/
diff --git a/net-im/py-jabberbot/pkg-plist b/net-im/py-jabberbot/pkg-plist
deleted file mode 100644
index b2625272c997..000000000000
--- a/net-im/py-jabberbot/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-%%PYTHON_SITELIBDIR%%/jabberbot.py
-%%PYTHON_SITELIBDIR%%/jabberbot.pyc
-%%PYTHON_SITELIBDIR%%/jabberbot.pyo