summaryrefslogtreecommitdiff
path: root/net-p2p/py-bittorrent/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-12-08 19:19:29 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-12-08 19:19:29 +0000
commitbcba0638b2310e8b61476ae6452ae2b673d4523c (patch)
treefebc411a27adfb6333c0d5e01844c0370b35fab0 /net-p2p/py-bittorrent/Makefile
parent- Update to 0.4.4 (diff)
o Fix issue with python 2.4. Fix with small changes from Hoffman
obtained from BitTornado forum http://forums.degreez.net/viewtopic.php?t=3581&sid=2428d7d8dff1871f7fb2118548bdc86c o Bump PORTREVISION to force update o Remove BROKEN
Notes
Notes: svn path=/head/; revision=123480
Diffstat (limited to 'net-p2p/py-bittorrent/Makefile')
-rw-r--r--net-p2p/py-bittorrent/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net-p2p/py-bittorrent/Makefile b/net-p2p/py-bittorrent/Makefile
index 50830269b263..f3ad85dea2a2 100644
--- a/net-p2p/py-bittorrent/Makefile
+++ b/net-p2p/py-bittorrent/Makefile
@@ -7,7 +7,7 @@
PORTNAME= BitTorrent
PORTVERSION= 3.4.2
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES?= net python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
@@ -18,8 +18,6 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lioux@FreeBSD.org
COMMENT?= A peer-to-peer tool for distributing files written in Python
-BROKEN= Does not work with python 2.4
-
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_REINPLACE= yes
@@ -46,6 +44,10 @@ pre-everything::
@${ECHO_MSG} '===> Define WITHOUT_GUI to disable GUI installation'
.endif
+post-extract:
+# patch to work with python 2.4
+ @${CP} ${FILESDIR}/zurllib.py ${WRKSRC}/BitTorrent
+
post-patch:
@${FIND} ${WRKSRC} -type f | \
${XARGS} -x -n 10 \