aboutsummaryrefslogtreecommitdiffstats
path: root/news/p5-News-Newsrc/Makefile
blob: cde39c82f6954d00b1e1b02fd45f5d59bd957c6f (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
# 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

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>