aboutsummaryrefslogtreecommitdiffstats
path: root/news/nzbperl/Makefile
blob: 9fde6c97384f033c67cbb18e08ba0b99e8d8f744 (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
30
31
32
33
34
35
36
37
38
# 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

PLIST_FILES=    bin/${PORTNAME}
NO_BUILD=   yes
USES=       perl5 shebangfix
USE_PERL5=  run
SHEBANG_FILES=  ${DISTNAME}
WRKSRC=     ${WRKDIR}

OPTIONS_DEFINE= SSL
SSL_RUN_DEPENDS=p5-Net-SSLeay>=0:security/p5-Net-SSLeay

do-extract:
    @${MKDIR} ${WRKDIR}
    ${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR}

do-install:
    ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>