mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
(1) Use .include correctly.
(2) Remove bogus $MAN3PREFIX definition. PR: ports/64393 (1)
This commit is contained in:
parent
4b48457c96
commit
ab5f23ce79
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104339
1 changed files with 3 additions and 2 deletions
|
@ -18,14 +18,15 @@ COMMENT= Perl module to use HTML Templates from CGI scripts
|
||||||
PERL_CONFIGURE= yes
|
PERL_CONFIGURE= yes
|
||||||
|
|
||||||
MAN3= HTML::Template.3
|
MAN3= HTML::Template.3
|
||||||
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
${PERL} -i -pe 's@%%PERL_INC%%@${SITE_PERL}@' ${WRKSRC}/Template.pm
|
${PERL} -i -pe 's@%%PERL_INC%%@${SITE_PERL}@' ${WRKSRC}/Template.pm
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${PERL_LEVEL} < 500600 && !exists(${SITE_PERL}/File/Spec.pm)
|
.if ${PERL_LEVEL} < 500600 && !exists(${SITE_PERL}/File/Spec.pm)
|
||||||
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
||||||
RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.include <bsd.port.post.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue