# New ports collection makefile for:	p5-Template-Plugin-JavaScript
# Date created:		2006-07-11
# Whom:			Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD: ports/www/p5-Template-Plugin-JavaScript/Makefile,v 1.1 2006/07/11 20:06:00 rafan Exp $
#

PORTNAME=	Template-Plugin-JavaScript
PORTVERSION=	0.01
CATEGORIES=	www perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Template
PKGNAMEPREFIX=	p5-

MAINTAINER=	gslin@gslin.org
COMMENT=	Encodes text to be safe in JavaScript

BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=		Template::Plugin::JavaScript.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600	# inherited from www/p5-Template-Toolkit
IGNORE=		requires perl 5.6.0 or later. Install lang/perl5.8 and try again
.endif

.include <bsd.port.post.mk>
