mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
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>
This commit is contained in:
parent
fe25fe29c9
commit
7a2db44004
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=91915
32
net-p2p/gnome-btdownload/Makefile
Normal file
32
net-p2p/gnome-btdownload/Makefile
Normal file
@ -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>
|
1
net-p2p/gnome-btdownload/distinfo
Normal file
1
net-p2p/gnome-btdownload/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (gnome-btdownload-0.0.6.tar.bz2) = 02a2754533ea2366430dac0e5f705839
|
17
net-p2p/gnome-btdownload/files/patch-src::gnome-btdownload
Normal file
17
net-p2p/gnome-btdownload/files/patch-src::gnome-btdownload
Normal file
@ -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:
|
5
net-p2p/gnome-btdownload/pkg-descr
Normal file
5
net-p2p/gnome-btdownload/pkg-descr
Normal file
@ -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/
|
10
net-p2p/gnome-btdownload/pkg-plist
Normal file
10
net-p2p/gnome-btdownload/pkg-plist
Normal file
@ -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
|
@ -170,6 +170,7 @@
|
||||
SUBDIR += gnet2
|
||||
SUBDIR += gnewtellium
|
||||
SUBDIR += gnomba
|
||||
SUBDIR += gnome-btdownload
|
||||
SUBDIR += gnome-jabber
|
||||
SUBDIR += gnome-mud
|
||||
SUBDIR += gnome-vnc
|
||||
|
32
net/gnome-btdownload/Makefile
Normal file
32
net/gnome-btdownload/Makefile
Normal file
@ -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>
|
1
net/gnome-btdownload/distinfo
Normal file
1
net/gnome-btdownload/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (gnome-btdownload-0.0.6.tar.bz2) = 02a2754533ea2366430dac0e5f705839
|
17
net/gnome-btdownload/files/patch-src::gnome-btdownload
Normal file
17
net/gnome-btdownload/files/patch-src::gnome-btdownload
Normal file
@ -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:
|
5
net/gnome-btdownload/pkg-descr
Normal file
5
net/gnome-btdownload/pkg-descr
Normal file
@ -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/
|
10
net/gnome-btdownload/pkg-plist
Normal file
10
net/gnome-btdownload/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user