diff options
author | mezz <mezz@FreeBSD.org> | 2004-11-08 10:43:45 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2004-11-08 10:43:45 +0800 |
commit | 93dcdc2dc26569d330d6136ac69ab6292883aa6a (patch) | |
tree | 8df6ad5ad5039e6f4fc1983a12291b9eeaf0fd7f /net | |
parent | 4cb8b1ed4435664dde7f854444764e4f9db80331 (diff) | |
download | freebsd-ports-gnome-93dcdc2dc26569d330d6136ac69ab6292883aa6a.tar.gz freebsd-ports-gnome-93dcdc2dc26569d330d6136ac69ab6292883aa6a.tar.zst freebsd-ports-gnome-93dcdc2dc26569d330d6136ac69ab6292883aa6a.zip |
-Update to 0.0.16.
-Add PORTDOCS.
Diffstat (limited to 'net')
-rw-r--r-- | net/gnome-btdownload/Makefile | 12 | ||||
-rw-r--r-- | net/gnome-btdownload/distinfo | 4 | ||||
-rw-r--r-- | net/gnome-btdownload/files/patch-src::gnome-btdownload | 22 | ||||
-rw-r--r-- | net/gnome-btdownload/pkg-plist | 6 |
4 files changed, 29 insertions, 15 deletions
diff --git a/net/gnome-btdownload/Makefile b/net/gnome-btdownload/Makefile index 64f632734555..15c4c3fe69df 100644 --- a/net/gnome-btdownload/Makefile +++ b/net/gnome-btdownload/Makefile @@ -6,8 +6,7 @@ # PORTNAME= gnome-btdownload -PORTVERSION= 0.0.11 -PORTREVISION= 1 +PORTVERSION= 0.0.16 PORTEPOCH= 1 CATEGORIES= net gnome MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -27,9 +26,18 @@ USE_GNOME= gnomehack gnomeprefix pygnome2 GNU_CONFIGURE= yes MAN1= gnome-btdownload.1 +DOCS= AUTHORS COPYING ChangeLog README post-patch: @${REINPLACE_CMD} -e 's|%%X11PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/src/${PORTNAME} +.ifndef (NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} +.for i in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + .include <bsd.port.mk> diff --git a/net/gnome-btdownload/distinfo b/net/gnome-btdownload/distinfo index c831249cbde7..7792bc3ae7c4 100644 --- a/net/gnome-btdownload/distinfo +++ b/net/gnome-btdownload/distinfo @@ -1,2 +1,2 @@ -MD5 (gnome-btdownload-0.0.11.tar.bz2) = 023786c0b2d6096f45ab841699658c23 -SIZE (gnome-btdownload-0.0.11.tar.bz2) = 83482 +MD5 (gnome-btdownload-0.0.16.tar.bz2) = 7cfedd0a2eada815ec42851d8a255a9b +SIZE (gnome-btdownload-0.0.16.tar.bz2) = 86017 diff --git a/net/gnome-btdownload/files/patch-src::gnome-btdownload b/net/gnome-btdownload/files/patch-src::gnome-btdownload index 80ed19fb1cc1..2594c63ab84c 100644 --- a/net/gnome-btdownload/files/patch-src::gnome-btdownload +++ b/net/gnome-btdownload/files/patch-src::gnome-btdownload @@ -1,17 +1,17 @@ ---- src/gnome-btdownload.orig Thu Jan 8 22:13:40 2004 -+++ src/gnome-btdownload Thu Jan 8 22:14:05 2004 +--- src/gnome-btdownload.orig Sun Nov 7 20:26:43 2004 ++++ src/gnome-btdownload Sun Nov 7 20:28:36 2004 @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python + # BitTorrent related modules. import BitTorrent.download, BitTorrent.bencode - import os.path, threading, sys, time, re -@@ -49,7 +49,7 @@ - if not locate_file or not get_url: - try: - def fallback_locate_attempt_prefixes(path): -- prefixes = ['', 'usr/', 'usr/local/'] -+ prefixes = ['', '%%X11PREFIX%%/', 'usr/', 'usr/local/'] +@@ -72,7 +72,7 @@ + # Fallback wrapper + if not locate_file: + def fallback_locate_attempt_prefixes(path): +- prefixes = ['', 'usr/', 'usr/local/'] ++ prefixes = ['', '%%X11PREFIX%%/', 'usr/', 'usr/local/'] - # Try them locally - for prefix in prefixes: + # Try them locally + for prefix in prefixes: diff --git a/net/gnome-btdownload/pkg-plist b/net/gnome-btdownload/pkg-plist index c737fca5eb7b..a7ddb001455f 100644 --- a/net/gnome-btdownload/pkg-plist +++ b/net/gnome-btdownload/pkg-plist @@ -1,5 +1,10 @@ bin/gnome-btdownload +%%PORTDOCS%%%%DOCSDIR%%/AUTHORS +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/README share/gnome/application-registry/gnome-btdownload.applications +share/gnome/gnome-btdownload/glade/contdiag.glade share/gnome/gnome-btdownload/glade/dlsession.glade share/gnome/gnome-btdownload/glade/errdiag.glade share/gnome/gnome-btdownload/pixmaps/download.png @@ -8,3 +13,4 @@ share/gnome/mime-info/gnome-btdownload.mime @dirrm share/gnome/gnome-btdownload/pixmaps @dirrm share/gnome/gnome-btdownload/glade @dirrm share/gnome/gnome-btdownload +%%PORTDOCS%%@dirrm %%DOCSDIR%% |