summaryrefslogtreecommitdiff
path: root/net-p2p/py-bittorrent/Makefile
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2006-06-24 20:17:41 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2006-06-24 20:17:41 +0000
commit8d8dbdbd68638b0d344f2454da5b16a8beb0a0ab (patch)
tree0e7c6e6d0203621729a3c565262b4f0effd0b91f /net-p2p/py-bittorrent/Makefile
parent- Update to 1.0.8 (diff)
o Update to 4.20.0
o launchmany-{console,curses} do not work on this release
Notes
Notes: svn path=/head/; revision=166236
Diffstat (limited to 'net-p2p/py-bittorrent/Makefile')
-rw-r--r--net-p2p/py-bittorrent/Makefile159
1 files changed, 118 insertions, 41 deletions
diff --git a/net-p2p/py-bittorrent/Makefile b/net-p2p/py-bittorrent/Makefile
index 8cbb9f2e0a88..f5f08d818325 100644
--- a/net-p2p/py-bittorrent/Makefile
+++ b/net-p2p/py-bittorrent/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= BitTorrent
-PORTVERSION= 4.4.0
-PORTREVISION= 4
+PORTVERSION= 4.20.0
PORTEPOCH= 1
CATEGORIES?= net-p2p python
MASTER_SITES= http://download.bittorrent.com/dl/
@@ -29,12 +28,12 @@ CONFLICTS= py??-*[Bb]it[Tt]orrent* py??-*[Bb]it[Tt]ornado* btqueue*
.ifndef(NOPORTDOCS)
PORTDOCS= \
+ INSTALL.unix.txt \
LICENSE.txt \
README.txt \
TRACKERLESS.txt \
credits.txt \
- credits-l10n.txt \
- redirdonate.html
+ credits-l10n.txt
.else
EXTRA_PATCHES+= ${FILESDIR}/extra-noportdocs-setup.py
.endif
@@ -53,40 +52,110 @@ PLIST_FILES+= \
bin/bittorrent \
bin/maketorrent \
share/pixmaps/BitTorrent/bittorrent.ico \
- share/pixmaps/BitTorrent/icons/default/abort.png \
- share/pixmaps/BitTorrent/icons/default/broken.png \
- share/pixmaps/BitTorrent/icons/default/finished.png \
- share/pixmaps/BitTorrent/icons/default/info.png \
- share/pixmaps/BitTorrent/icons/default/pause.png \
- share/pixmaps/BitTorrent/icons/default/paused.png \
- share/pixmaps/BitTorrent/icons/default/play.png \
- share/pixmaps/BitTorrent/icons/default/queued.png \
- share/pixmaps/BitTorrent/icons/default/remove.png \
- share/pixmaps/BitTorrent/icons/default/running.png \
- share/pixmaps/BitTorrent/icons/default/status-broken.png \
- share/pixmaps/BitTorrent/icons/default/status-natted.png \
- share/pixmaps/BitTorrent/icons/default/status-pre-natted.png \
- share/pixmaps/BitTorrent/icons/default/status-running.png \
- share/pixmaps/BitTorrent/icons/default/status-starting.png \
- share/pixmaps/BitTorrent/icons/default/status-stopped.png \
- share/pixmaps/BitTorrent/icons/default/trashcan.png \
- share/pixmaps/BitTorrent/icons/old/broken.png \
- share/pixmaps/BitTorrent/icons/old/finished.png \
- share/pixmaps/BitTorrent/icons/old/info.png \
- share/pixmaps/BitTorrent/icons/old/pause.png \
- share/pixmaps/BitTorrent/icons/old/paused.png \
- share/pixmaps/BitTorrent/icons/old/play.png \
- share/pixmaps/BitTorrent/icons/old/queued.png \
- share/pixmaps/BitTorrent/icons/old/remove.png \
- share/pixmaps/BitTorrent/icons/old/running.png \
- share/pixmaps/BitTorrent/icons/old/status-broken.png \
- share/pixmaps/BitTorrent/icons/old/status-natted.png \
- share/pixmaps/BitTorrent/icons/old/status-pre-natted.png \
- share/pixmaps/BitTorrent/icons/old/status-running.png \
- share/pixmaps/BitTorrent/icons/old/status-starting.png \
- share/pixmaps/BitTorrent/icons/old/status-stopped.png \
- share/pixmaps/BitTorrent/logo/bittorrent_32.png \
- share/pixmaps/BitTorrent/logo/bittorrent_96.png
+ share/pixmaps/BitTorrent/flags/AE.png \
+ share/pixmaps/BitTorrent/flags/AR.png \
+ share/pixmaps/BitTorrent/flags/AT.png \
+ share/pixmaps/BitTorrent/flags/AU.png \
+ share/pixmaps/BitTorrent/flags/BE.png \
+ share/pixmaps/BitTorrent/flags/BG.png \
+ share/pixmaps/BitTorrent/flags/BR.png \
+ share/pixmaps/BitTorrent/flags/CA.png \
+ share/pixmaps/BitTorrent/flags/CH.png \
+ share/pixmaps/BitTorrent/flags/CL.png \
+ share/pixmaps/BitTorrent/flags/CN.png \
+ share/pixmaps/BitTorrent/flags/CO.png \
+ share/pixmaps/BitTorrent/flags/CY.png \
+ share/pixmaps/BitTorrent/flags/CZ.png \
+ share/pixmaps/BitTorrent/flags/DE.png \
+ share/pixmaps/BitTorrent/flags/DK.png \
+ share/pixmaps/BitTorrent/flags/ES.png \
+ share/pixmaps/BitTorrent/flags/EU.png \
+ share/pixmaps/BitTorrent/flags/FI.png \
+ share/pixmaps/BitTorrent/flags/FR.png \
+ share/pixmaps/BitTorrent/flags/GB.png \
+ share/pixmaps/BitTorrent/flags/GR.png \
+ share/pixmaps/BitTorrent/flags/GT.png \
+ share/pixmaps/BitTorrent/flags/HK.png \
+ share/pixmaps/BitTorrent/flags/HU.png \
+ share/pixmaps/BitTorrent/flags/IT.png \
+ share/pixmaps/BitTorrent/flags/JP.png \
+ share/pixmaps/BitTorrent/flags/KR.png \
+ share/pixmaps/BitTorrent/flags/KW.png \
+ share/pixmaps/BitTorrent/flags/LT.png \
+ share/pixmaps/BitTorrent/flags/LV.png \
+ share/pixmaps/BitTorrent/flags/MX.png \
+ share/pixmaps/BitTorrent/flags/NA.png \
+ share/pixmaps/BitTorrent/flags/NL.png \
+ share/pixmaps/BitTorrent/flags/NO.png \
+ share/pixmaps/BitTorrent/flags/PR.png \
+ share/pixmaps/BitTorrent/flags/PT.png \
+ share/pixmaps/BitTorrent/flags/RU.png \
+ share/pixmaps/BitTorrent/flags/SE.png \
+ share/pixmaps/BitTorrent/flags/SG.png \
+ share/pixmaps/BitTorrent/flags/SI.png \
+ share/pixmaps/BitTorrent/flags/TW.png \
+ share/pixmaps/BitTorrent/flags/US.png \
+ share/pixmaps/BitTorrent/flags/YU.png \
+ share/pixmaps/BitTorrent/flags/ZA.png \
+ share/pixmaps/BitTorrent/flags/noimage.png \
+ share/pixmaps/BitTorrent/flags/unknown.png \
+ share/pixmaps/BitTorrent/logo/banner.png \
+ share/pixmaps/BitTorrent/logo/bittorrent_icon.png \
+ share/pixmaps/BitTorrent/logo/bittorrent_icon_16.png \
+ share/pixmaps/BitTorrent/logo/bittorrent_icon_24.png \
+ share/pixmaps/BitTorrent/logo/bittorrent_icon_32.png \
+ share/pixmaps/BitTorrent/logo/bittorrent_icon_48.png \
+ share/pixmaps/BitTorrent/themes/default/add_16.png \
+ share/pixmaps/BitTorrent/themes/default/add_24.png \
+ share/pixmaps/BitTorrent/themes/default/add_32.png \
+ share/pixmaps/BitTorrent/themes/default/fileops/first_16.png \
+ share/pixmaps/BitTorrent/themes/default/fileops/first_24.png \
+ share/pixmaps/BitTorrent/themes/default/fileops/first_32.png \
+ share/pixmaps/BitTorrent/themes/default/fileops/never_16.png \
+ share/pixmaps/BitTorrent/themes/default/fileops/never_24.png \
+ share/pixmaps/BitTorrent/themes/default/fileops/never_32.png \
+ share/pixmaps/BitTorrent/themes/default/fileops/normal_16.png \
+ share/pixmaps/BitTorrent/themes/default/fileops/normal_24.png \
+ share/pixmaps/BitTorrent/themes/default/fileops/normal_32.png \
+ share/pixmaps/BitTorrent/themes/default/progressbar.png \
+ share/pixmaps/BitTorrent/themes/default/search_16.png \
+ share/pixmaps/BitTorrent/themes/default/search_24.png \
+ share/pixmaps/BitTorrent/themes/default/search_32.png \
+ share/pixmaps/BitTorrent/themes/default/settings_16.png \
+ share/pixmaps/BitTorrent/themes/default/settings_24.png \
+ share/pixmaps/BitTorrent/themes/default/settings_32.png \
+ share/pixmaps/BitTorrent/themes/default/statuslight/broken.png \
+ share/pixmaps/BitTorrent/themes/default/statuslight/natted.png \
+ share/pixmaps/BitTorrent/themes/default/statuslight/pre-natted.png \
+ share/pixmaps/BitTorrent/themes/default/statuslight/running.png \
+ share/pixmaps/BitTorrent/themes/default/statuslight/starting.png \
+ share/pixmaps/BitTorrent/themes/default/statuslight/stopped.png \
+ share/pixmaps/BitTorrent/themes/default/torrentops/info_16.png \
+ share/pixmaps/BitTorrent/themes/default/torrentops/info_24.png \
+ share/pixmaps/BitTorrent/themes/default/torrentops/info_32.png \
+ share/pixmaps/BitTorrent/themes/default/torrentops/launch_16.png \
+ share/pixmaps/BitTorrent/themes/default/torrentops/launch_24.png \
+ share/pixmaps/BitTorrent/themes/default/torrentops/launch_32.png \
+ share/pixmaps/BitTorrent/themes/default/torrentops/remove_16.png \
+ share/pixmaps/BitTorrent/themes/default/torrentops/remove_24.png \
+ share/pixmaps/BitTorrent/themes/default/torrentops/remove_32.png \
+ share/pixmaps/BitTorrent/themes/default/torrentops/resume_16.png \
+ share/pixmaps/BitTorrent/themes/default/torrentops/resume_24.png \
+ share/pixmaps/BitTorrent/themes/default/torrentops/resume_32.png \
+ share/pixmaps/BitTorrent/themes/default/torrentops/stop_16.png \
+ share/pixmaps/BitTorrent/themes/default/torrentops/stop_24.png \
+ share/pixmaps/BitTorrent/themes/default/torrentops/stop_32.png \
+ share/pixmaps/BitTorrent/themes/default/torrentstate/complete.png \
+ share/pixmaps/BitTorrent/themes/default/torrentstate/created.png \
+ share/pixmaps/BitTorrent/themes/default/torrentstate/downloading.png \
+ share/pixmaps/BitTorrent/themes/default/torrentstate/error.png \
+ share/pixmaps/BitTorrent/themes/default/torrentstate/finishing.png \
+ share/pixmaps/BitTorrent/themes/default/torrentstate/force-seed.png \
+ share/pixmaps/BitTorrent/themes/default/torrentstate/paused.png \
+ share/pixmaps/BitTorrent/themes/default/torrentstate/seeding.png \
+ share/pixmaps/BitTorrent/themes/default/torrentstate/starting.png \
+ share/pixmaps/BitTorrent/themes/default/torrentstate/stopped.png \
+ share/pixmaps/BitTorrent/themes/default/torrentstate/unknown.png
PLIST_SUB+= \
GUI=""
@@ -113,6 +182,12 @@ EXTRA_PATCHES+= \
${FILESDIR}/extra-psyco-patch-torrentinfo-console.py
.endif
+# public.key
+PLIST_DIRS+= \
+ %%DATADIR%%
+PLIST_FILES+= \
+ %%DATADIR%%/public.key
+
pre-everything::
.ifndef(WITHOUT_GUI)
@${ECHO_MSG} '===> Define WITHOUT_GUI to disable GUI installation'
@@ -136,9 +211,9 @@ post-patch:
post-install:
# set proper permissions
@${CHMOD} -R ${SHAREMODE} \
- ${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent
- @${CHMOD} ${SHAREMODE} ${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent
- @${CHMOD} a+x ${PREFIX}/${PYTHON_SITELIBDIR:S|^${PYTHONBASE}/||}/BitTorrent
+ ${PYTHONPREFIX_SITELIBDIR}/BitTorrent
+ @${CHMOD} ${SHAREMODE} ${PYTHONPREFIX_SITELIBDIR}/BitTorrent
+ @${CHMOD} -R a+X ${PYTHONPREFIX_SITELIBDIR}/BitTorrent
.ifndef(WITHOUT_GUI)
# pixmaps
@${CHMOD} -R ${SHAREMODE} \
@@ -150,6 +225,8 @@ post-install:
# docs
@${CHMOD} -R ${SHAREMODE} \
${DOCSDIR}/*
+# install missing doc
+ @${INSTALL_DATA} ${WRKSRC}/TRACKERLESS.txt ${DOCSDIR}
.endif
# public.key
@${MKDIR} ${DATADIR}