From 2ce4d8b5dafacf0e498a5202cc939474c882542b Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Fri, 6 Jul 2001 17:29:37 +0000 Subject: [PATCH] add newsgrag Download and uuencode binary files from USENET using regexps PR: 280687 Submitted by: Pete Fritchman --- news/Makefile | 1 + news/newsgrab/Makefile | 27 +++++++++++++++++++++++++++ news/newsgrab/distinfo | 1 + news/newsgrab/pkg-comment | 1 + news/newsgrab/pkg-descr | 8 ++++++++ news/newsgrab/pkg-plist | 3 +++ 6 files changed, 41 insertions(+) create mode 100644 news/newsgrab/Makefile create mode 100644 news/newsgrab/distinfo create mode 100644 news/newsgrab/pkg-comment create mode 100644 news/newsgrab/pkg-descr create mode 100644 news/newsgrab/pkg-plist diff --git a/news/Makefile b/news/Makefile index 2cdca185f57c..92d125a7e38c 100644 --- a/news/Makefile +++ b/news/Makefile @@ -25,6 +25,7 @@ SUBDIR += leafnode+ SUBDIR += newsfetch SUBDIR += newsfish + SUBDIR += newsgrab SUBDIR += newsx SUBDIR += nn SUBDIR += nntp diff --git a/news/newsgrab/Makefile b/news/newsgrab/Makefile new file mode 100644 index 000000000000..38c5a830e633 --- /dev/null +++ b/news/newsgrab/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: newsgrab +# Date Created: 11 June 2001 +# Whom: Pete Fritchman +# +# $FreeBSD$ +# + +PORTNAME= newsgrab +PORTVERSION= 0.1.1 +CATEGORIES= news +MASTER_SITES= http://phunkbros.dk/newsgrab/ + +MAINTAINER= petef@databits.net + +RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/News/NNTPClient.pm:${PORTSDIR}/news/p5-NNTPClient + +NO_BUILD= yes +USE_PERL5= yes + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/newsgrab.pl ${PREFIX}/bin/newsgrab +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/newsgrab + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/newsgrab +.endif + +.include diff --git a/news/newsgrab/distinfo b/news/newsgrab/distinfo new file mode 100644 index 000000000000..cdd365165822 --- /dev/null +++ b/news/newsgrab/distinfo @@ -0,0 +1 @@ +MD5 (newsgrab-0.1.1.tar.gz) = 04d59241c5759363ff4c39f63e6f28c0 diff --git a/news/newsgrab/pkg-comment b/news/newsgrab/pkg-comment new file mode 100644 index 000000000000..3b8db6b0a912 --- /dev/null +++ b/news/newsgrab/pkg-comment @@ -0,0 +1 @@ +Download and uuencode binary files from USENET using regexps diff --git a/news/newsgrab/pkg-descr b/news/newsgrab/pkg-descr new file mode 100644 index 000000000000..8f4a979b2682 --- /dev/null +++ b/news/newsgrab/pkg-descr @@ -0,0 +1,8 @@ +Based on a given regular expression and news group, newsgrab will +connect to your NNTP server and download all the binaries in articles +that match the given regexp and uudecode them. + +WWW: http://phunkbros.dk/?page=goodiebag + +- Pete +petef@databits.net diff --git a/news/newsgrab/pkg-plist b/news/newsgrab/pkg-plist new file mode 100644 index 000000000000..ba97a275ca13 --- /dev/null +++ b/news/newsgrab/pkg-plist @@ -0,0 +1,3 @@ +bin/newsgrab +%%PORTDOCS%%share/doc/newsgrab/README +%%PORTDOCS%%@dirrm share/doc/newsgrab