aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/py-bittorrent-devel
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-04-08 23:12:44 +0800
committerlioux <lioux@FreeBSD.org>2004-04-08 23:12:44 +0800
commit695e01f871d8c8c586f998bfdcd68b50b4046ef8 (patch)
tree542c8770541539e8bfae8b6cc029ddab5f48c470 /net-p2p/py-bittorrent-devel
parent92409f17b64038038ca9ce3c637d4518880cde43 (diff)
downloadfreebsd-ports-gnome-695e01f871d8c8c586f998bfdcd68b50b4046ef8.tar.gz
freebsd-ports-gnome-695e01f871d8c8c586f998bfdcd68b50b4046ef8.tar.zst
freebsd-ports-gnome-695e01f871d8c8c586f998bfdcd68b50b4046ef8.zip
Update to 3.4.2
Diffstat (limited to 'net-p2p/py-bittorrent-devel')
-rw-r--r--net-p2p/py-bittorrent-devel/Makefile14
-rw-r--r--net-p2p/py-bittorrent-devel/distinfo4
-rw-r--r--net-p2p/py-bittorrent-devel/pkg-plist8
3 files changed, 9 insertions, 17 deletions
diff --git a/net-p2p/py-bittorrent-devel/Makefile b/net-p2p/py-bittorrent-devel/Makefile
index 9c1e0b35b6bc..23db53979a29 100644
--- a/net-p2p/py-bittorrent-devel/Makefile
+++ b/net-p2p/py-bittorrent-devel/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-bittorrent-devel/distinfo b/net-p2p/py-bittorrent-devel/distinfo
index d6fc5adc56d6..dcdf62a43f57 100644
--- a/net-p2p/py-bittorrent-devel/distinfo
+++ b/net-p2p/py-bittorrent-devel/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-bittorrent-devel/pkg-plist b/net-p2p/py-bittorrent-devel/pkg-plist
index 662fb417c7c3..b342f01be83f 100644
--- a/net-p2p/py-bittorrent-devel/pkg-plist
+++ b/net-p2p/py-bittorrent-devel/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