freebsd-ports/news/nzbperl/Makefile
Tobias Kortkamp 3cf0eac5ef news/nzbperl: No need to set WRKSRC
Rearrange some things as recommended in the PHB.
2019-02-02 09:42:06 +00:00

39 lines
915 B
Makefile

# Created by: Tim Welch <ports@thepentagon.org>
# $FreeBSD$
PORTNAME= nzbperl
PORTVERSION= 0.6.8
PORTREVISION= 1
CATEGORIES= news
MASTER_SITES= http://www.thepentagon.org/local_distfiles/ \
http://noisybox.net/computers/nzbperl/ \
ftp://ftp.foss.org.my/pub/FreeBSD/misc/
DISTNAME= ${PORTNAME}-${PORTVERSION}.pl
EXTRACT_SUFX=
MAINTAINER= ports@thepentagon.org
COMMENT= Perl script for downloading nzb files
RUN_DEPENDS= p5-XML-DOM>=0:textproc/p5-XML-DOM \
p5-Term-ReadKey>=0:devel/p5-Term-ReadKey \
uudeview:converters/uudeview
USES= perl5 shebangfix
USE_PERL5= run
SHEBANG_FILES= ${DISTNAME}
PLIST_FILES= bin/${PORTNAME}
NO_BUILD= yes
OPTIONS_DEFINE= SSL
SSL_RUN_DEPENDS=p5-Net-SSLeay>=0:security/p5-Net-SSLeay
do-extract:
@${MKDIR} ${WRKSRC}
${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>