2005-07-05 12:59:35 +02:00
|
|
|
# New ports collection makefile for: devel/p5-Params-Util
|
|
|
|
# Date created: 4 July 2005
|
|
|
|
# Whom: Lars Thegler <lth@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Params-Util
|
2006-11-01 13:24:56 +01:00
|
|
|
PORTVERSION= 0.22
|
2005-07-05 12:59:35 +02:00
|
|
|
CATEGORIES= devel perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= ../by-authors/id/A/AD/ADAMK
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2006-07-15 17:08:14 +02:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2005-07-05 12:59:35 +02:00
|
|
|
COMMENT= Utility functions to aid in parameter checking
|
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN3= Params::Util.3
|
|
|
|
|
|
|
|
post-patch:
|
2006-05-13 21:59:57 +02:00
|
|
|
@${PERL} -pi -e '$$_="" if m/Test::More/' ${WRKSRC}/Makefile.PL
|
2005-07-05 12:59:35 +02:00
|
|
|
|
2006-09-26 10:15:49 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
2006-11-01 13:24:56 +01:00
|
|
|
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
|
2006-09-26 10:15:49 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500805
|
|
|
|
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|