aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2004-03-18 08:32:38 +0800
committerkuriyama <kuriyama@FreeBSD.org>2004-03-18 08:32:38 +0800
commit799f55487534227c1ae3196b64da416803c49fa7 (patch)
treee7a895296643588ef6e0255160f6be3360e23b61 /www
parent079c321affa922a93939c8ff721c48653ad04503 (diff)
downloadfreebsd-ports-graphics-799f55487534227c1ae3196b64da416803c49fa7.tar.gz
freebsd-ports-graphics-799f55487534227c1ae3196b64da416803c49fa7.tar.zst
freebsd-ports-graphics-799f55487534227c1ae3196b64da416803c49fa7.zip
(1) Use .include correctly.
(2) Remove bogus $MAN3PREFIX definition. PR: ports/64393 (1)
Diffstat (limited to 'www')
-rw-r--r--www/p5-HTML-Template/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/p5-HTML-Template/Makefile b/www/p5-HTML-Template/Makefile
index fdc43532a3d..1e47309a10a 100644
--- a/www/p5-HTML-Template/Makefile
+++ b/www/p5-HTML-Template/Makefile
@@ -18,14 +18,15 @@ COMMENT= Perl module to use HTML Templates from CGI scripts
PERL_CONFIGURE= yes
MAN3= HTML::Template.3
-MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
post-patch:
${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)
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
.endif
+
+.include <bsd.port.post.mk>