2006-01-30 16:08:07 +01:00
|
|
|
# New ports collection makefile for: devel/p5-Test-File-Contents
|
|
|
|
# Date created: 28 January 2006
|
|
|
|
# Whom: Rod Taylor <ports@rbt.ca>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= Test-File-Contents
|
|
|
|
PORTVERSION= 0.03
|
|
|
|
CATEGORIES= devel perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= Test
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
|
|
|
MAINTAINER= ports@rbt.ca
|
|
|
|
COMMENT= Test routines for examining the contents of files
|
|
|
|
|
2006-04-25 22:12:14 +02:00
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
|
2006-01-30 16:08:07 +01:00
|
|
|
|
|
|
|
PERL_MODBUILD= yes
|
|
|
|
|
|
|
|
MAN3= Test::File::Contents.3
|
|
|
|
|
2006-04-22 12:20:22 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
2006-04-25 22:12:14 +02:00
|
|
|
post-patch:
|
|
|
|
${PERL} -pi -e '$$_ = "" if m{use warnings};' ${WRKSRC}/Build.PL \
|
|
|
|
${WRKSRC}/lib/Test/File/Contents.pm
|
2006-04-22 12:20:22 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|