24ebc8be8c
resolution order and method caching in general in Perl 5.9.5 and higher.
32 lines
787 B
Makefile
32 lines
787 B
Makefile
# 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.03
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= CPAN
|
|
MASTER_SITE_SUBDIR= ../../authors/id/B/BL/BLBLACK
|
|
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= yes
|
|
|
|
MAN3= MRO::Compat.3
|
|
|
|
post-extract:
|
|
@${PERL} -i.bak -ne 'print unless m,^if, .. m,}$$,' ${WRKSRC}/Makefile.PL
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if ${PERL_LEVEL} < 500800
|
|
IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again
|
|
.endif
|
|
.include <bsd.port.post.mk>
|