aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Test-File-Contents/Makefile
blob: 7359f308489af00336e7446842740ae3ac733c1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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

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

PERL_MODBUILD=  yes

MAN3=   Test::File::Contents.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
post-patch:
    ${PERL} -pi -e '$$_ = "" if m{use warnings};' ${WRKSRC}/Build.PL \
        ${WRKSRC}/lib/Test/File/Contents.pm
.endif

.include <bsd.port.post.mk>