1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/devel/p5-Params-Util/Makefile
2006-11-01 12:24:56 +00:00

36 lines
832 B
Makefile

# New ports collection makefile for: devel/p5-Params-Util
# Date created: 4 July 2005
# Whom: Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Params-Util
PORTVERSION= 0.22
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../by-authors/id/A/AD/ADAMK
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Utility functions to aid in parameter checking
PERL_CONFIGURE= yes
MAN3= Params::Util.3
post-patch:
@${PERL} -pi -e '$$_="" if m/Test::More/' ${WRKSRC}/Makefile.PL
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools
.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>