diff options
author | Aaron Dalton <aaron@FreeBSD.org> | 2006-06-02 22:12:37 +0000 |
---|---|---|
committer | Aaron Dalton <aaron@FreeBSD.org> | 2006-06-02 22:12:37 +0000 |
commit | d3013df7544f1d27284071df823e39b9b5622dfe (patch) | |
tree | 056f005d8c0d853f65ce63fdac477c323a1b2e94 /news | |
parent | f86b0698a068ef0fa421be422bc1f8242d1c1c7e (diff) | |
download | ports-d3013df7544f1d27284071df823e39b9b5622dfe.tar.gz ports-d3013df7544f1d27284071df823e39b9b5622dfe.zip |
Notes
Diffstat (limited to 'news')
-rw-r--r-- | news/Makefile | 1 | ||||
-rw-r--r-- | news/nzbperl/Makefile | 50 | ||||
-rw-r--r-- | news/nzbperl/distinfo | 3 | ||||
-rw-r--r-- | news/nzbperl/pkg-descr | 6 | ||||
-rw-r--r-- | news/nzbperl/pkg-message | 10 |
5 files changed, 70 insertions, 0 deletions
diff --git a/news/Makefile b/news/Makefile index 9b17023150cf..7362a1971878 100644 --- a/news/Makefile +++ b/news/Makefile @@ -67,6 +67,7 @@ SUBDIR += nntpswitch SUBDIR += noffle SUBDIR += nzbget + SUBDIR += nzbperl SUBDIR += p5-Gateway SUBDIR += p5-NNTPClient SUBDIR += p5-News-Article diff --git a/news/nzbperl/Makefile b/news/nzbperl/Makefile new file mode 100644 index 000000000000..cca3be536cae --- /dev/null +++ b/news/nzbperl/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: nzbperl +# Date created: 20 May 2006 +# Whom: Tim Welch <ports@thepentagon.org> +# +# $FreeBSD$ +# + +PORTNAME= nzbperl +PORTVERSION= 0.6.8 +CATEGORIES= news +MASTER_SITES= http://noisybox.net/computers/nzbperl/ +DISTNAME= nzbperl.pl +EXTRACT_SUFX= + +MAINTAINER= ports@thepentagon.org +COMMENT= A perl script for downloading nzb files + +RUN_DEPENDS= ${SITE_PERL}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM \ + ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \ + ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \ + ${LOCALBASE}/bin/uudeview:${PORTSDIR}/converters/uudeview + +PLIST_FILES= bin/nzbperl +NO_BUILD= yes +USE_PERL5_RUN= yes + +.if defined(WITH_SSL) +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay +.endif + +do-extract: + @${MKDIR} ${WRKDIR} + @${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR} + @${REINPLACE_CMD} -e \ + "s,#!/usr/bin/perl -w,#!/usr/local/bin/perl -w," \ + ${WRKDIR}/nzbperl.pl + +do-install: + ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME} ${PREFIX}/bin/${PORTNAME} + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 # inherited from www/p5-libwww +IGNORE= requires at least Perl 5.6 due to dependencies. Please install lang/perl5.8 and try again +.endif + +.include <bsd.port.post.mk> diff --git a/news/nzbperl/distinfo b/news/nzbperl/distinfo new file mode 100644 index 000000000000..ad3754ec4829 --- /dev/null +++ b/news/nzbperl/distinfo @@ -0,0 +1,3 @@ +MD5 (nzbperl.pl) = 70e64b7cd4ff9c7c098bf8dffeb62578 +SHA256 (nzbperl.pl) = 6a116e647b45d4ccecd06f20a7363e4d69f20082df60fe373fb9c219cabe9185 +SIZE (nzbperl.pl) = 99238 diff --git a/news/nzbperl/pkg-descr b/news/nzbperl/pkg-descr new file mode 100644 index 000000000000..e5e6565fa68b --- /dev/null +++ b/news/nzbperl/pkg-descr @@ -0,0 +1,6 @@ +NzbPerl is a perl script for downloading nzb files. It supports automated +parsing and sorting of nzb files, multiple servers, automated downloading, +assmbling and decoding of message parts, and has user controlled bandwidth +throttling during runtime. + +WWW: http://noisybox.net/computers/nzbperl/ diff --git a/news/nzbperl/pkg-message b/news/nzbperl/pkg-message new file mode 100644 index 000000000000..ad74d253e242 --- /dev/null +++ b/news/nzbperl/pkg-message @@ -0,0 +1,10 @@ +================================================================ + +NOTE: + Nzbperl prefers a threaded perl, which FreeBSD does not +ship with. Either lang/perl5.8 has to be compiled with +WITH_THREADS=1 or nzbperl must be run with -dthreadct=0. Note +that nzbperl will pause downloading while each file part is +decoded if a threaded perl is not used. + +================================================================ |