Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= Params-Util |
8 |
PORTNAME= Params-Util |
9 |
PORTVERSION= 0.19 |
9 |
PORTVERSION= 0.20 |
10 |
CATEGORIES= devel perl5 |
10 |
CATEGORIES= devel perl5 |
11 |
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} |
11 |
MASTER_SITES= ${MASTER_SITE_PERL_CPAN} |
12 |
MASTER_SITE_SUBDIR= ../by-authors/id/A/AD/ADAMK |
12 |
MASTER_SITE_SUBDIR= ../by-authors/id/A/AD/ADAMK |
Lines 15-24
Link Here
|
15 |
MAINTAINER= perl@FreeBSD.org |
15 |
MAINTAINER= perl@FreeBSD.org |
16 |
COMMENT= Utility functions to aid in parameter checking |
16 |
COMMENT= Utility functions to aid in parameter checking |
17 |
|
17 |
|
18 |
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \ |
|
|
19 |
${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils |
20 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
21 |
|
22 |
PERL_CONFIGURE= yes |
18 |
PERL_CONFIGURE= yes |
23 |
|
19 |
|
24 |
MAN3= Params::Util.3 |
20 |
MAN3= Params::Util.3 |
Lines 26-29
Link Here
|
26 |
post-patch: |
22 |
post-patch: |
27 |
@${PERL} -pi -e '$$_="" if m/Test::More/' ${WRKSRC}/Makefile.PL |
23 |
@${PERL} -pi -e '$$_="" if m/Test::More/' ${WRKSRC}/Makefile.PL |
28 |
|
24 |
|
29 |
.include <bsd.port.mk> |
25 |
.include <bsd.port.pre.mk> |
|
|
26 |
|
27 |
.if ${PERL_LEVEL} < 500600 |
28 |
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools |
29 |
.endif |
30 |
|
31 |
.if ${PERL_LEVEL} < 500805 |
32 |
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils |
33 |
.endif |
34 |
|
35 |
.include <bsd.port.post.mk> |