Date: Mon, 22 May 2006 21:30:28 GMT From: Tim Welch <twelch@thepentagon.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/97643: New Port: news/p5-nzbperl: A simple nzb downloader script Message-ID: <200605222130.k4MLUSnf078580@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/97643; it has been noted by GNATS. From: Tim Welch <twelch@thepentagon.org> To: bug-followup@freebsd.org Cc: ports@thepentagon.org Subject: Re: ports/97643: New Port: news/p5-nzbperl: A simple nzb downloader script Date: Mon, 22 May 2006 16:28:02 -0500 (CDT) Ok, last try. Honest. # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # nzbperl # nzbperl/Makefile # nzbperl/distinfo # nzbperl/pkg-descr # nzbperl/pkg-message # echo c - nzbperl mkdir -p nzbperl > /dev/null 2>&1 echo x - nzbperl/Makefile sed 's/^X//' >nzbperl/Makefile << 'END-of-nzbperl/Makefile' X# New ports collection makefile for: nzbperl X# Date created: 20 May 2006 X# Whom: Tim Welch <ports@thepentagon.org> X# X# $FreeBSD$ X# X XPORTNAME= nzbperl XPORTVERSION= 0.6.8 XCATEGORIES= news XMASTER_SITES= http://noisybox.net/computers/nzbperl/ XDISTNAME= nzbperl.pl XEXTRACT_SUFX= X XMAINTAINER= ports@thepentagon.org XCOMMENT= A perl script for downloading nzb files X XRUN_DEPENDS= ${SITE_PERL}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM \ X ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \ X ${LOCALBASE}/bin/uudeview:${PORTSDIR}/converters/uudeview X XPLIST_FILES= bin/nzbperl XNO_BUILD= yes XUSE_PERL5_RUN= yes X X.if defined(WITH_SSL) XRUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay X.endif X Xdo-extract: X @${MKDIR} ${WRKDIR} X @${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR} X @${REINPLACE_CMD} -e \ X "s,#!/usr/bin/perl -w,#!/usr/local/bin/perl -w," \ X ${WRKDIR}/nzbperl.pl X Xdo-install: X ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME} ${PREFIX}/bin/${PORTNAME} X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-nzbperl/Makefile echo x - nzbperl/distinfo sed 's/^X//' >nzbperl/distinfo << 'END-of-nzbperl/distinfo' XMD5 (nzbperl.pl) = 70e64b7cd4ff9c7c098bf8dffeb62578 XSHA256 (nzbperl.pl) = 6a116e647b45d4ccecd06f20a7363e4d69f20082df60fe373fb9c219cabe9185 XSIZE (nzbperl.pl) = 99238 END-of-nzbperl/distinfo echo x - nzbperl/pkg-descr sed 's/^X//' >nzbperl/pkg-descr << 'END-of-nzbperl/pkg-descr' XNzbPerl is a perl script for downloading nzb files. It supports automated Xparsing and sorting of nzb files, multiple servers, automated downloading, Xassmbling and decoding of message parts, and has user controlled bandwidth Xthrottling during runtime. X XWWW: http://noisybox.net/computers/nzbperl/ END-of-nzbperl/pkg-descr echo x - nzbperl/pkg-message sed 's/^X//' >nzbperl/pkg-message << 'END-of-nzbperl/pkg-message' X================================================================ X XNOTE: X Nzbperl prefers a threaded perl, which FreeBSD does not Xship with. Either lang/perl5.8 has to be compiled with XWITH_THREADS=1 or nzbperl must be run with -dthreadct=0. Note Xthat nzbperl will pause downloading while each file part is Xdecoded if a threaded perl is not used. X X================================================================ END-of-nzbperl/pkg-message exit
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605222130.k4MLUSnf078580>