diff options
author | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-04-01 22:39:38 +0000 |
---|---|---|
committer | Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> | 2005-04-01 22:39:38 +0000 |
commit | 69809cbc21e112830a4f1df78a0550abd2de7714 (patch) | |
tree | 605e29bd98668613a25dff477dd40d78884b9548 /net-p2p/py-bittorrent | |
parent | 7ce812d6581c0fa6cced86e2f711d55fa725e1e4 (diff) | |
download | ports-69809cbc21e112830a4f1df78a0550abd2de7714.tar.gz ports-69809cbc21e112830a4f1df78a0550abd2de7714.zip |
Notes
Diffstat (limited to 'net-p2p/py-bittorrent')
-rw-r--r-- | net-p2p/py-bittorrent/Makefile | 9 | ||||
-rw-r--r-- | net-p2p/py-bittorrent/pkg-plist | 4 |
2 files changed, 7 insertions, 6 deletions
diff --git a/net-p2p/py-bittorrent/Makefile b/net-p2p/py-bittorrent/Makefile index 45f74f3f3183..2b8f67877931 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 cb9175008526..bd70ff26a63d 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 |