aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/py-kenosis-bittorrent
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-04-08 15:12:44 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2004-04-08 15:12:44 +0000
commit22ad20d3605c1b9c1d80422eb6ab37d7ea4cdcf1 (patch)
treea7716184ce3fde2cf7853ffd17650d4790af292b /net-p2p/py-kenosis-bittorrent
parent95b191f02c000495e45dce7544b5ca4f10f2aec2 (diff)
downloadports-22ad20d3605c1b9c1d80422eb6ab37d7ea4cdcf1.tar.gz
ports-22ad20d3605c1b9c1d80422eb6ab37d7ea4cdcf1.zip
Notes
Diffstat (limited to 'net-p2p/py-kenosis-bittorrent')
-rw-r--r--net-p2p/py-kenosis-bittorrent/Makefile14
-rw-r--r--net-p2p/py-kenosis-bittorrent/distinfo4
-rw-r--r--net-p2p/py-kenosis-bittorrent/pkg-plist8
3 files changed, 9 insertions, 17 deletions
diff --git a/net-p2p/py-kenosis-bittorrent/Makefile b/net-p2p/py-kenosis-bittorrent/Makefile
index 9c1e0b35b6bc..23db53979a29 100644
--- a/net-p2p/py-kenosis-bittorrent/Makefile
+++ b/net-p2p/py-kenosis-bittorrent/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= BitTorrent
-PORTVERSION= 3.4.1
-PORTREVISION= 1
+PORTVERSION= 3.4.2
PORTEPOCH= 1
CATEGORIES?= net python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
@@ -21,11 +20,10 @@ COMMENT?= A peer-to-peer tool for distributing files written in Python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_REINPLACE= yes
-USE_ZIP= yes
CONFLICTS= py??-*[Bb]it[Tt]orrent*
-DOC_FILES= BUILD.windows.txt INSTALL.unix.txt LICENSE.txt \
+PORTDOCS= BUILD.windows.txt INSTALL.unix.txt LICENSE.txt \
README.txt credits.txt
# required for GUI
@@ -33,9 +31,11 @@ DOC_FILES= BUILD.windows.txt INSTALL.unix.txt LICENSE.txt \
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/wxPython/__init__.py:${PORTSDIR}/x11-toolkits/py-wxPython
PLIST_SUB+= GUI=''
+PLIST_FILES+= \
+ bin/btcompletedirgui.py \
+ bin/btdownloadgui.py
.else
EXTRA_PATCHES+= ${FILESDIR}/extra-nogui-patch-setup.py
-PLIST_SUB+= GUI='@comment '
.endif
pre-everything::
@@ -55,9 +55,9 @@ post-patch:
.endif
post-install:
-.ifndef(PORTDOCS)
+.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in ${DOC_FILES}
+.for file in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
diff --git a/net-p2p/py-kenosis-bittorrent/distinfo b/net-p2p/py-kenosis-bittorrent/distinfo
index d6fc5adc56d6..dcdf62a43f57 100644
--- a/net-p2p/py-kenosis-bittorrent/distinfo
+++ b/net-p2p/py-kenosis-bittorrent/distinfo
@@ -1,2 +1,2 @@
-MD5 (BitTorrent-3.4.1.zip) = 423640fb646df7216130c87931a95f80
-SIZE (BitTorrent-3.4.1.zip) = 244669
+MD5 (BitTorrent-3.4.2.tar.gz) = b854f25a33289565bcaeaded04955c1a
+SIZE (BitTorrent-3.4.2.tar.gz) = 198026
diff --git a/net-p2p/py-kenosis-bittorrent/pkg-plist b/net-p2p/py-kenosis-bittorrent/pkg-plist
index 662fb417c7c3..b342f01be83f 100644
--- a/net-p2p/py-kenosis-bittorrent/pkg-plist
+++ b/net-p2p/py-kenosis-bittorrent/pkg-plist
@@ -1,7 +1,5 @@
bin/btcompletedir.py
-%%GUI%%bin/btcompletedirgui.py
bin/btdownloadcurses.py
-%%GUI%%bin/btdownloadgui.py
bin/btdownloadheadless.py
bin/btdownloadlibrary.py
bin/btlaunchmany.py
@@ -90,12 +88,6 @@ bin/bttrack.py
%%PYTHON_SITELIBDIR%%/BitTorrent/zurllib.py
%%PYTHON_SITELIBDIR%%/BitTorrent/zurllib.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/zurllib.pyo
-%%PORTDOCS%%%%DOCSDIR%%/BUILD.windows.txt
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL.unix.txt
-%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
-%%PORTDOCS%%%%DOCSDIR%%/README.txt
-%%PORTDOCS%%%%DOCSDIR%%/credits.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/BitTorrent
@unexec rmdir %D/%%PYTHON_SITELIBDIR%% 2>/dev/null || true
@unexec rmdir %D/%%PYTHON_LIBDIR%% 2>/dev/null || true