freebsd-ports/news/nzbperl/Makefile
Aaron Dalton c0d89df280 - Marked as broken as the vendor's website is no longer available. I will
continue to monitor it.

Approved by:	tobez (implicit)
2006-06-11 22:44:36 +00:00

52 lines
1.3 KiB
Makefile

# 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
BROKEN= cannot fetch
.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>