Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= Test-Harness |
8 |
PORTNAME= Test-Harness |
9 |
PORTVERSION= 3.14 |
9 |
PORTVERSION= 3.14 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 2 |
11 |
CATEGORIES= devel perl5 |
11 |
CATEGORIES= devel perl5 |
12 |
MASTER_SITES= CPAN |
12 |
MASTER_SITES= CPAN |
13 |
PKGNAMEPREFIX= p5- |
13 |
PKGNAMEPREFIX= p5- |
Lines 17-23
Link Here
|
17 |
|
17 |
|
18 |
PERL_CONFIGURE= yes |
18 |
PERL_CONFIGURE= yes |
19 |
|
19 |
|
20 |
MAN1= prove.1 |
|
|
21 |
MAN3= App::Prove.3 \ |
20 |
MAN3= App::Prove.3 \ |
22 |
App::Prove::State.3 \ |
21 |
App::Prove::State.3 \ |
23 |
App::Prove::State::Result.3 \ |
22 |
App::Prove::State::Result.3 \ |
Lines 62-82
Link Here
|
62 |
.include <bsd.port.pre.mk> |
61 |
.include <bsd.port.pre.mk> |
63 |
|
62 |
|
64 |
.if ${PERL_LEVEL} >= 500800 |
63 |
.if ${PERL_LEVEL} >= 500800 |
65 |
.undef MAN1 |
64 |
PLIST_SUB= P5_PREFIX="p5" |
66 |
PLIST_SUB+= PL_FILES="@comment " |
65 |
MAN1= p5prove.1 |
67 |
pre-patch: |
66 |
pre-patch: |
68 |
@${PERL} -pi -e "s,'bin/prove',," ${WRKSRC}/Makefile.PL |
67 |
@${MV} ${WRKSRC}/bin/prove ${WRKSRC}/bin/p5prove |
|
|
68 |
@${PERL} -pi -e "s,^bin/prove$$,bin/p5prove," ${WRKSRC}/MANIFEST |
69 |
@${PERL} -pi -e "s,'bin/prove','bin/p5prove'," ${WRKSRC}/Makefile.PL |
69 |
.else |
70 |
.else |
70 |
PLIST_SUB+= PL_FILES="" |
71 |
MAN1= prove.1 |
|
|
72 |
PLIST_SUB= P5_PREFIX="" |
71 |
.endif |
73 |
.endif |
72 |
|
74 |
|
73 |
post-patch: |
75 |
post-patch: |
74 |
@${REINPLACE_CMD} -e '/INSTALLDIRS/d' ${WRKSRC}/${CONFIGURE_SCRIPT} |
76 |
@${REINPLACE_CMD} -e '/INSTALLDIRS/d' ${WRKSRC}/${CONFIGURE_SCRIPT} |
75 |
|
77 |
|
76 |
post-configure: |
|
|
77 |
.if ${PERL_LEVEL} >= 500800 |
78 |
@${REINPLACE_CMD} -E -e '/(DESTINSTALLSITEMAN1DIR|DESTINSTALLSCRIPT)/d' \ |
79 |
${WRKSRC}/${MAKEFILE} |
80 |
.endif |
81 |
|
82 |
.include <bsd.port.post.mk> |
78 |
.include <bsd.port.post.mk> |