diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-10-22 21:53:51 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-10-22 21:53:51 +0000 |
commit | 7a2db4400441e411f1ca4c73c40cdb49e550bc2d (patch) | |
tree | 643cfb9b68ffd5d51eca2480e996636533650454 /net/gnome-btdownload | |
parent | Upgrade to 20030826. (diff) |
Add gnome-btdownload, a GNOME interface for downloading and "executing"
BitTorrent files. It is designed as a mime-sinkfor BitTorrent files; not a
front-end, more-or-less just a session dialog. See net/py-bittorrent for more
information.
You can use Nautilus and double click on one of torrent file to exec
gnome-btdownload and start downloading . If you don't use Nautilus,
you still can run gnome-btdownload <file>.
PR: 58392
Submitted by: Jeremy Messenger <mezz7@cox.net>
Notes
Notes:
svn path=/head/; revision=91915
Diffstat (limited to 'net/gnome-btdownload')
-rw-r--r-- | net/gnome-btdownload/Makefile | 32 | ||||
-rw-r--r-- | net/gnome-btdownload/distinfo | 1 | ||||
-rw-r--r-- | net/gnome-btdownload/files/patch-src::gnome-btdownload | 17 | ||||
-rw-r--r-- | net/gnome-btdownload/pkg-descr | 5 | ||||
-rw-r--r-- | net/gnome-btdownload/pkg-plist | 10 |
5 files changed, 65 insertions, 0 deletions
diff --git a/net/gnome-btdownload/Makefile b/net/gnome-btdownload/Makefile new file mode 100644 index 000000000000..273a1f480631 --- /dev/null +++ b/net/gnome-btdownload/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: gnome-btdownload +# Date created: 21 October 2003 +# Whom: Mezz <mezz7@cox.net> +# +# $FreeBSD$ +# + +PORTNAME= gnome-btdownload +PORTVERSION= 0.0.6 +CATEGORIES= net gnome +MASTER_SITES= http://omapi.sourceforge.net/extra/${PORTNAME}/ + +MAINTAINER= mezz7@cox.net +COMMENT= A simple Gnome interface designed as a mime-sink for BitTorrent files + +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/BitTorrent/__init__.py:${PORTSDIR}/net/py-bittorrent-core \ + ${PYTHON_SITELIBDIR}/gtk-2.0/gnome/__init__.py:${PORTSDIR}/x11-toolkits/py-gnome2 + +USE_BZIP2= yes +USE_GMAKE= yes +USE_PYTHON= yes +USE_X_PREFIX= yes +USE_GNOME= gnomehack gnomeprefix +GNU_CONFIGURE= yes + +MAN1= gnome-btdownload.1 + +post-patch: + @${REINPLACE_CMD} -e 's|%%X11PREFIX%%|${PREFIX}|g' \ + ${WRKSRC}/src/${PORTNAME} + +.include <bsd.port.mk> diff --git a/net/gnome-btdownload/distinfo b/net/gnome-btdownload/distinfo new file mode 100644 index 000000000000..3096afb8f787 --- /dev/null +++ b/net/gnome-btdownload/distinfo @@ -0,0 +1 @@ +MD5 (gnome-btdownload-0.0.6.tar.bz2) = 02a2754533ea2366430dac0e5f705839 diff --git a/net/gnome-btdownload/files/patch-src::gnome-btdownload b/net/gnome-btdownload/files/patch-src::gnome-btdownload new file mode 100644 index 000000000000..f00b144cd660 --- /dev/null +++ b/net/gnome-btdownload/files/patch-src::gnome-btdownload @@ -0,0 +1,17 @@ +--- src/gnome-btdownload.orig Wed Oct 22 12:43:59 2003 ++++ src/gnome-btdownload Wed Oct 22 12:56:24 2003 +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python + + import BitTorrent.download + import os.path, threading, sys, time +@@ -36,7 +36,7 @@ + if not locate_file: + try: + def fallback_locate_attempt_prefixes(path): +- prefixes = ['', 'usr/', 'usr/local/'] ++ prefixes = ['', '%%X11PREFIX%%/', 'usr/', 'usr/local/'] + + # Try them locally + for prefix in prefixes: diff --git a/net/gnome-btdownload/pkg-descr b/net/gnome-btdownload/pkg-descr new file mode 100644 index 000000000000..2a5b6aa7ce55 --- /dev/null +++ b/net/gnome-btdownload/pkg-descr @@ -0,0 +1,5 @@ +Gnome interface for 'executing' BitTorrent files. It is designed as a mime-sink +for BitTorrent files. Not a front-end, more-or-less just a session dialog. See +net/py-bittorrent for more information. + +WWW: http://omapi.sourceforge.net/extra/gnome-btdownload/ diff --git a/net/gnome-btdownload/pkg-plist b/net/gnome-btdownload/pkg-plist new file mode 100644 index 000000000000..c737fca5eb7b --- /dev/null +++ b/net/gnome-btdownload/pkg-plist @@ -0,0 +1,10 @@ +bin/gnome-btdownload +share/gnome/application-registry/gnome-btdownload.applications +share/gnome/gnome-btdownload/glade/dlsession.glade +share/gnome/gnome-btdownload/glade/errdiag.glade +share/gnome/gnome-btdownload/pixmaps/download.png +share/gnome/mime-info/gnome-btdownload.keys +share/gnome/mime-info/gnome-btdownload.mime +@dirrm share/gnome/gnome-btdownload/pixmaps +@dirrm share/gnome/gnome-btdownload/glade +@dirrm share/gnome/gnome-btdownload |