diff options
author | ijliao <ijliao@FreeBSD.org> | 2002-03-24 14:24:39 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2002-03-24 14:24:39 +0800 |
commit | 5e7c4b3d9038781f8f44d57c22481383977786ea (patch) | |
tree | e515491808e354f375a485460797652c7b694867 /net/py-fngrab | |
parent | c6ed1ebfcf9468906dbb54ea62966e572ef581d8 (diff) | |
download | freebsd-ports-gnome-5e7c4b3d9038781f8f44d57c22481383977786ea.tar.gz freebsd-ports-gnome-5e7c4b3d9038781f8f44d57c22481383977786ea.tar.zst freebsd-ports-gnome-5e7c4b3d9038781f8f44d57c22481383977786ea.zip |
add py-fngrab 0.0.4
A replacement for the official Freenet Project's freenet_request
Diffstat (limited to 'net/py-fngrab')
-rw-r--r-- | net/py-fngrab/Makefile | 34 | ||||
-rw-r--r-- | net/py-fngrab/distinfo | 1 | ||||
-rw-r--r-- | net/py-fngrab/files/patch-fngrab.py | 17 | ||||
-rw-r--r-- | net/py-fngrab/pkg-comment | 1 | ||||
-rw-r--r-- | net/py-fngrab/pkg-descr | 11 | ||||
-rw-r--r-- | net/py-fngrab/pkg-plist | 12 |
6 files changed, 76 insertions, 0 deletions
diff --git a/net/py-fngrab/Makefile b/net/py-fngrab/Makefile new file mode 100644 index 000000000000..341e4a6038a0 --- /dev/null +++ b/net/py-fngrab/Makefile @@ -0,0 +1,34 @@ +# ex:ts=8 +# Ports collection makefile for: py-fngrab +# Date created: Mar 23, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= fngrab +PORTVERSION= 0.0.4 +CATEGORIES= net python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= freebbs +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ports@FreeBSD.org + +BUILD_DEPENDS= ${PYXML} +RUN_DEPENDS= ${BUILD_DEPENDS} + +USE_PYTHON= yes + +SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py + +do-build: + @${SETUP_CMD} build + +do-install: + @${SETUP_CMD} install + +post-install: + @${MV} ${PREFIX}/bin/fngrab.py ${PREFIX}/bin/fngrab + +.include <bsd.port.mk> diff --git a/net/py-fngrab/distinfo b/net/py-fngrab/distinfo new file mode 100644 index 000000000000..aea2bcb8f754 --- /dev/null +++ b/net/py-fngrab/distinfo @@ -0,0 +1 @@ +MD5 (fngrab-0.0.4.tar.gz) = c1b59402b3f210d13548611894b74520 diff --git a/net/py-fngrab/files/patch-fngrab.py b/net/py-fngrab/files/patch-fngrab.py new file mode 100644 index 000000000000..091fb5ff6fae --- /dev/null +++ b/net/py-fngrab/files/patch-fngrab.py @@ -0,0 +1,17 @@ +--- fngrab.py.orig Sun Mar 24 14:14:24 2002 ++++ fngrab.py Sun Mar 24 14:14:38 2002 +@@ -14,10 +14,10 @@ + import os, socket, sys, string, time, threading + + # Custom stuff: +-#from FreenetGrab import cmdline +-#from FreenetGrab import xmlrpclib +-import cmdline +-from xmlrpclib import * ++from FreenetGrab import cmdline ++from FreenetGrab import xmlrpclib ++#import cmdline ++#from xmlrpclib import * + + TRANSFERRING=0 + DONE=1 diff --git a/net/py-fngrab/pkg-comment b/net/py-fngrab/pkg-comment new file mode 100644 index 000000000000..0ed4b3e1ea62 --- /dev/null +++ b/net/py-fngrab/pkg-comment @@ -0,0 +1 @@ +A replacement for the official Freenet Project's freenet_request diff --git a/net/py-fngrab/pkg-descr b/net/py-fngrab/pkg-descr new file mode 100644 index 000000000000..3a6d4a1271d6 --- /dev/null +++ b/net/py-fngrab/pkg-descr @@ -0,0 +1,11 @@ +Freenet Grab (fngrab.py) is a GPL'd replacement for the official Freenet +Project's freenet_request (Un*x) and frequest.exe (Windows). Freenet Grab has +several features freenet_request/frequest doesn't have: + + - Retrying failed requests with incremental hops to live. + - New: Multiple simultaneous downloads (multi-threading) + - Better support for in-Freenet key index searching. + - Specify a file containing a list of keys to download. + - Verifying a list of keys in a file. + +WWW: http://freebbs.sourceforge.net/ diff --git a/net/py-fngrab/pkg-plist b/net/py-fngrab/pkg-plist new file mode 100644 index 000000000000..ed9ae70b4494 --- /dev/null +++ b/net/py-fngrab/pkg-plist @@ -0,0 +1,12 @@ +bin/fngrab +lib/%%PYTHON_VERSION%%/site-packages/FreenetGrab/__init__.py +lib/%%PYTHON_VERSION%%/site-packages/FreenetGrab/__init__.pyc +lib/%%PYTHON_VERSION%%/site-packages/FreenetGrab/cmdline.py +lib/%%PYTHON_VERSION%%/site-packages/FreenetGrab/cmdline.pyc +lib/%%PYTHON_VERSION%%/site-packages/FreenetGrab/fngrab.py +lib/%%PYTHON_VERSION%%/site-packages/FreenetGrab/fngrab.pyc +lib/%%PYTHON_VERSION%%/site-packages/FreenetGrab/status.py +lib/%%PYTHON_VERSION%%/site-packages/FreenetGrab/status.pyc +lib/%%PYTHON_VERSION%%/site-packages/FreenetGrab/xmlrpclib.py +lib/%%PYTHON_VERSION%%/site-packages/FreenetGrab/xmlrpclib.pyc +@dirrm lib/%%PYTHON_VERSION%%/site-packages/FreenetGrab |