summaryrefslogtreecommitdiffstats
path: root/net-p2p/py-bittorrent
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-04-01 22:39:38 +0000
committerlioux <lioux@FreeBSD.org>2005-04-01 22:39:38 +0000
commitc370bde398350966481933072b86ad70630d8dda (patch)
tree88b8129d02a7bfe782a7d76cc47a9c41c05ef4b7 /net-p2p/py-bittorrent
parent996b17a5a4790420c267fc8b9fd75a25981a0618 (diff)
downloadFreeBSD-ports-c370bde398350966481933072b86ad70630d8dda.zip
FreeBSD-ports-c370bde398350966481933072b86ad70630d8dda.tar.gz
o Remove BROKEN status by fixing the PLIST when WITHOUT_GUI is not
defined o Bump PORTREVISION due to PLIST change Submitted by: kris by means of pointyhat Approved by: portmgr (marcus)
Diffstat (limited to 'net-p2p/py-bittorrent')
-rw-r--r--net-p2p/py-bittorrent/Makefile9
-rw-r--r--net-p2p/py-bittorrent/pkg-plist4
2 files changed, 7 insertions, 6 deletions
diff --git a/net-p2p/py-bittorrent/Makefile b/net-p2p/py-bittorrent/Makefile
index 45f74f3..2b8f678 100644
--- a/net-p2p/py-bittorrent/Makefile
+++ b/net-p2p/py-bittorrent/Makefile
@@ -7,6 +7,7 @@
PORTNAME= BitTorrent
PORTVERSION= 4.0.0
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES?= net python
MASTER_SITES= http://www.bittorrent.com/dl/
@@ -15,8 +16,6 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= lioux@FreeBSD.org
COMMENT?= A peer-to-peer tool for distributing files written in Python
-BROKEN= Incomplete pkg-plist
-
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_REINPLACE= yes
@@ -57,11 +56,11 @@ PLIST_FILES+= \
share/pixmaps/BitTorrent/remove.png \
share/pixmaps/BitTorrent/running.png
-PLIST_DIRS+= share/pixmaps/BitTorrent/logo \
- share/pixmaps/BitTorrent
-
+PLIST_SUB+= GUI=""
.else
EXTRA_PATCHES+= ${FILESDIR}/extra-nogui-patch-setup.py
+
+PLIST_SUB+= GUI="@comment "
.endif
# required for PSYCO
.ifndef(WITHOUT_PSYCO)
diff --git a/net-p2p/py-bittorrent/pkg-plist b/net-p2p/py-bittorrent/pkg-plist
index cb91750..bd70ff2 100644
--- a/net-p2p/py-bittorrent/pkg-plist
+++ b/net-p2p/py-bittorrent/pkg-plist
@@ -125,7 +125,9 @@ bin/bttrack.py
%%PYTHON_SITELIBDIR%%/BitTorrent/zurllib.py
%%PYTHON_SITELIBDIR%%/BitTorrent/zurllib.pyc
%%PYTHON_SITELIBDIR%%/BitTorrent/zurllib.pyo
-@unexec rmdir %D/share/pixmaps 2>/dev/null || true
+%%GUI%%@dirrm share/pixmaps/BitTorrent/logo
+%%GUI%%@dirrm share/pixmaps/BitTorrent
+%%GUI%%@unexec rmdir %D/share/pixmaps 2>/dev/null || true
@dirrm %%PYTHON_SITELIBDIR%%/BitTorrent
@unexec rmdir %D/%%PYTHON_SITELIBDIR%% 2>/dev/null || true
@unexec rmdir %D/%%PYTHON_LIBDIR%% 2>/dev/null || true
OpenPOWER on IntegriCloud