(1) Use .include correctly.

(2) Remove bogus $MAN3PREFIX definition.

PR:		ports/64393 (1)
This commit is contained in:
Jun Kuriyama 2004-03-18 00:32:38 +00:00
parent 4b48457c96
commit ab5f23ce79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104339

View file

@ -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>