freebsd-ports/devel/p5-Class-Autouse/Makefile
Mathieu Arnold 50fe58fe2f Fixup dependency problem on 4.x
Reported by:	krisbotmail
2006-09-13 13:21:16 +00:00

36 lines
827 B
Makefile

# New ports collection makefile for: Class-Autouse
# Date created: 10 December 2002
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= Class-Autouse
PORTVERSION= 1.27
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Defer loading of one or more classes
RUN_DEPENDS= ${SITE_PERL}/prefork.pm:${PORTSDIR}/devel/p5-prefork
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Class::Autouse.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/List/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
.endif
.if ${PERL_LEVEL} < 500600
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
.endif
.include <bsd.port.post.mk>