mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
dcafd19b04
Submitted by: Jeremy Prior <jez@netcraft.com>
32 lines
808 B
Makefile
32 lines
808 B
Makefile
# New ports collection makefile for: p5-HTML-Template
|
|
# Date Created: 26 Oct, 2000
|
|
# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= HTML-Template
|
|
PORTVERSION= 2.6
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= HTML
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= kuriyama@FreeBSD.org
|
|
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>
|
|
|
|
.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
|