summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-03-18 00:32:38 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-03-18 00:32:38 +0000
commitab5f23ce796d97673bc0e3a2c48994d42f9ae70f (patch)
tree39680f34db3901efb08f6dd576bc6fe5a8e6f105 /www
parentMove .include line position. (diff)
(1) Use .include correctly.
(2) Remove bogus $MAN3PREFIX definition. PR: ports/64393 (1)
Notes
Notes: svn path=/head/; revision=104339
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 fdc43532a3d8..1e47309a10ae 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>