aboutsummaryrefslogtreecommitdiffstats
path: root/news/newsgrab/Makefile
blob: 7295b937c6dc28631435d591eb802e6bac521259 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: Pete Fritchman <petef@databits.net>
# $FreeBSD$

PORTNAME=   newsgrab
PORTVERSION=    0.4.0
PORTREVISION=   1
CATEGORIES= news
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org
COMMENT=    Download and uudecode binary files from USENET using regexps

RUN_DEPENDS=    p5-NNTPClient>=0:${PORTSDIR}/news/p5-NNTPClient \
        p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey \
        p5-News-Newsrc>=0:${PORTSDIR}/news/p5-News-Newsrc \
        p5-Time-modules>=0:${PORTSDIR}/devel/p5-Time-modules

NO_BUILD=   yes
USES=       perl5 shebangfix
SHEBANG_FILES=  newsgrab.pl

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/newsgrab.pl ${STAGEDIR}${PREFIX}/bin/newsgrab
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/newsgrab
    ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/newsgrab
    ${INSTALL_DATA} ${WRKSRC}/newsgrabrc ${STAGEDIR}${PREFIX}/share/doc/newsgrab

.include <bsd.port.mk>