aboutsummaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-04 20:54:17 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-04 20:54:17 +0000
commitc74a6e83114445708104c3f0427f297e587b99f1 (patch)
tree6bcdbf2242c056193e3208da11963a2503e9d81f /net-p2p
parent7b96191d5a57dec5f370a4077d33083847a85d25 (diff)
downloadports-c74a6e83114445708104c3f0427f297e587b99f1.tar.gz
ports-c74a6e83114445708104c3f0427f297e587b99f1.zip
Notes
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/py-bittornado/Makefile23
-rw-r--r--net-p2p/py-bittornado/distinfo4
-rw-r--r--net-p2p/py-bittornado/pkg-plist4
3 files changed, 24 insertions, 7 deletions
diff --git a/net-p2p/py-bittornado/Makefile b/net-p2p/py-bittornado/Makefile
index f52f1e29ff42..8ba0fdc81925 100644
--- a/net-p2p/py-bittornado/Makefile
+++ b/net-p2p/py-bittornado/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= shadow-BitTorrent
-PORTVERSION= 5.8.10
+PORTVERSION= 5.8.11
CATEGORIES?= net python
-MASTER_SITES= http://home.elp.rr.com/tur/
+MASTER_SITES= http://mediahost.inetsalestech.com/shadow/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= BitTorrent-experimental-S-${PORTVERSION}
@@ -17,12 +17,15 @@ COMMENT?= Experimental BitTorrent client with enhanced features
CONFLICTS= py??-BitTorrent-*
USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+USE_PYDISTUTILS=yes
+USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/bittorrent-CVS-shadowsclient
-DOC_FILES= BUILD.windows.txt INSTALL.unix.txt LICENSE.txt \
- README.txt README-experimental.txt credits.txt
+DOC_FILES= BUILD.windows.txt FAQ.txt IMPORTANT-multitracker-readme.txt \
+ INSTALL.unix.txt LICENSE.txt README.txt \
+ README-experimental.txt credits.txt multitracker-spec.txt \
+ webseed-spec.txt
# required for GUI
.ifndef(WITHOUT_GUI)
@@ -33,10 +36,20 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-nogui-patch-setup.py
PLIST_SUB+= GUI='@comment '
.endif
+.ifdef(WITH_PSYCO)
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco
+post-patch:
+ @${REINPLACE_CMD} -e "s/^psyco = 0/psyco = 1/g" \
+ ${WRKSRC}/BitTorrent/PSYCO.py
+.endif
+
pre-everything::
.ifndef(WITHOUT_GUI)
@${ECHO_MSG} '===> Define WITHOUT_GUI to disable GUI installation'
.endif
+.ifndef(WITH_PSYCO)
+ @${ECHO_MSG} '===> Define WITH_PSYCO to enable the optimizing Python compiler'
+.endif
post-install:
.ifndef(NOPORTDOCS)
diff --git a/net-p2p/py-bittornado/distinfo b/net-p2p/py-bittornado/distinfo
index 73d6dda1e4c2..a1812912e0fb 100644
--- a/net-p2p/py-bittornado/distinfo
+++ b/net-p2p/py-bittornado/distinfo
@@ -1,2 +1,2 @@
-MD5 (BitTorrent-experimental-S-5.8.10.tar.gz) = 675b1980f8fcdcf9e52d4ec4c3a82c13
-SIZE (BitTorrent-experimental-S-5.8.10.tar.gz) = 146004
+MD5 (BitTorrent-experimental-S-5.8.11.tar.gz) = 1549187bd26f574127c444d272cc5881
+SIZE (BitTorrent-experimental-S-5.8.11.tar.gz) = 143004
diff --git a/net-p2p/py-bittornado/pkg-plist b/net-p2p/py-bittornado/pkg-plist
index 3efd951f2eed..30c96eceff50 100644
--- a/net-p2p/py-bittornado/pkg-plist
+++ b/net-p2p/py-bittornado/pkg-plist
@@ -116,10 +116,14 @@ bin/bttrack.py
%%PYTHON_SITELIBDIR%%/BitTorrent/zurllib.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/zurllib.pyo
%%PORTDOCS%%%%DOCSDIR%%/BUILD.windows.txt
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.txt
+%%PORTDOCS%%%%DOCSDIR%%/IMPORTANT-multitracker-readme.txt
%%PORTDOCS%%%%DOCSDIR%%/INSTALL.unix.txt
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
%%PORTDOCS%%%%DOCSDIR%%/README-experimental.txt
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%%%DOCSDIR%%/credits.txt
+%%PORTDOCS%%%%DOCSDIR%%/multitracker-spec.txt
+%%PORTDOCS%%%%DOCSDIR%%/webseed-spec.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/BitTorrent