aboutsummaryrefslogtreecommitdiffstats
path: root/news/p5-News-Newsrc/Makefile
blob: a54ebf5836ac1dfefbcd9bbcb5e1ddbe2776c50d (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
# New ports collection makefile for:    p5-News-Newsrc
# Date created:     February 7, 1998
# Whom:         Don Croyle <croyle@gelemna.org>
#
# $FreeBSD$
#

PORTNAME=   News-Newsrc
PORTVERSION=    1.08
CATEGORIES= news perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= News
PKGNAMEPREFIX=  p5-

MAINTAINER= ports@FreeBSD.org
COMMENT=    Manage newsrc files

BUILD_DEPENDS=  ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Set/IntSpan.pm:${PORTSDIR}/math/p5-Set-IntSpan
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MANPREFIX=  ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=       News::Newsrc.3

pre-patch:
    @${PERL} -pi -e '$$_ = "" if /^use 5.6/' ${WRKSRC}/Newsrc.pm

.include <bsd.port.mk>