mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
c634b4bb83
PR: 58166 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
# New ports collection makefile for: newsgrab
|
|
# Date Created: 11 June 2001
|
|
# Whom: Pete Fritchman <petef@databits.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= newsgrab
|
|
PORTVERSION= 0.4.0
|
|
CATEGORIES= news
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= newsgrab
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= petef@FreeBSD.org
|
|
COMMENT= Download and uudecode binary files from USENET using regexps
|
|
|
|
RUN_DEPENDS= ${SITE_PERL}/News/NNTPClient.pm:${PORTSDIR}/news/p5-NNTPClient \
|
|
${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
|
|
${SITE_PERL}/News/Newsrc.pm:${PORTSDIR}/news/p5-News-Newsrc \
|
|
${SITE_PERL}/Time/ParseDate.pm:${PORTSDIR}/devel/p5-Time-modules
|
|
|
|
NO_BUILD= yes
|
|
USE_PERL5= yes
|
|
USE_REINPLACE= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^#!/usr/bin/perl|#!${PERL}|' ${WRKSRC}/newsgrab.pl
|
|
|
|
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
|
|
${INSTALL_DATA} ${WRKSRC}/newsgrabrc ${PREFIX}/share/doc/newsgrab
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|