freebsd-ports/devel/p5-Class-Constant/Makefile
Cheng-Lung Sung b2e0b4a449 Add p5-Class-Constant 0.05, build constant classes.
PR:		ports/102555
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
2006-10-03 14:29:22 +00:00

33 lines
730 B
Makefile

# New ports collection makefile for: p5-Class-Constant
# Date created: 2006-08-27
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= Class-Constant
PORTVERSION= 0.05
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
PKGNAMEPREFIX= p5-
MAINTAINER= gslin@gslin.org
COMMENT= Build constant classes
PERL_MODBUILD= yes
MAN3= Class::Constant.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires Perl 5.6.0 or newer. Please install lang/perl5.8 and try again
.endif
.if ${PERL_LEVEL} < 500703
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
BUILD_DEPENDS= ${RUN_DEPENDS}
.endif
.include <bsd.port.post.mk>