aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-MRO-Compat/Makefile
blob: 6a0d18c57f7f11c3546a44cb29e2e0ee5eee989c (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:    devel/p5-MRO-Compat
# Date created:             Jun 18, 2007
# Whom:                 Lars Balker Rasmussen <lbr@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   MRO-Compat
PORTVERSION=    0.10
CATEGORIES= devel perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= ../../authors/id/F/FL/FLORA
PKGNAMEPREFIX=  p5-

MAINTAINER= lbr@FreeBSD.org
COMMENT=    Add mro::* interface compatibility for Perls < 5.9.5

BUILD_DEPENDS=  ${RUN_DEPENDS}
RUN_DEPENDS=    p5-Class-C3>=0.19:${PORTSDIR}/devel/p5-Class-C3

PERL_CONFIGURE= 5.8.0+

MAN3=   MRO::Compat.3

post-extract:
    @${PERL} -i.bak -ne 'print unless m,^if, .. m,}$$,' ${WRKSRC}/Makefile.PL

.include <bsd.port.mk>