Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  9 Sep 2005 07:12:59 -0600 (MDT)
From:      Zach Thompson <hideo@lastamericanempire.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/85906: New port: www/p5-HTML-Template-Compiled Compile HTML::Template files into perl code	
Message-ID:  <20050909131259.A457091@darwin.lastamericanempire.com>
Resent-Message-ID: <200509091320.j89DK7I1084155@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         85906
>Category:       ports
>Synopsis:       New port: www/p5-HTML-Template-Compiled Compile HTML::Template files into perl code
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 09 13:20:07 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     hideo
>Release:        FreeBSD 7.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD darwin.lastamericanempire.com 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Tue Sep 6 17:26:54 MDT 2005 hideo@darwin.lastamericanempire.com:/usr/obj/usr/src/sys/darwin amd64


	
>Description:
HTML::Template::Compiled uses the same syntax as HTML::Template but compiles files
to perl code, significantly increasing performance.
>How-To-Repeat:
	
>Fix:

	

--- p5-HTML-Template-Compiled begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-HTML-Template-Compiled-0.43
#	p5-HTML-Template-Compiled-0.43/Makefile
#	p5-HTML-Template-Compiled-0.43/distinfo
#	p5-HTML-Template-Compiled-0.43/pkg-descr
#	p5-HTML-Template-Compiled-0.43/pkg-plist
#
echo c - p5-HTML-Template-Compiled-0.43
mkdir -p p5-HTML-Template-Compiled-0.43 > /dev/null 2>&1
echo x - p5-HTML-Template-Compiled-0.43/Makefile
sed 's/^X//' >p5-HTML-Template-Compiled-0.43/Makefile << 'END-of-p5-HTML-Template-Compiled-0.43/Makefile'
X# New ports collection makefile for:	p5-HTML-Template-Compiled
X# Date Created:				09 Sep 2005
X# Whom:		Zach Thompson <hideo@lastamericanempire.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	HTML-Template-Compiled
XPORTVERSION=	0.43
XCATEGORIES=	www perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	HTML
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	hideo@lastamericanempire.com
XCOMMENT=	Templating system that HTML::Template files to Perl code
X
XBUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
X		${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
X		${SITE_PERL}/${PERL_ARCH}/HTML/Entities.pm:${PORTSDIR}/www/p5-HTML-Parser \
X		${SITE_PERL}/Data/TreeDumper.pm:${PORTSDIR}/devel/p5-Data-TreeDumper \
X       		${SITE_PERL}/URI/Escape.pm:${PORTSDIR}/net/p5-URI
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=		HTML::Template::Compiled.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500600
Xpost-patch:
X	@${PERL} -pi -e 's/^our\s+(.VERSION.+)$$/$$1/o;' \
X		-e '$$_ = "" if /(no|use) warnings/;' \
X		${WRKSRC}/lib/HTML/Template/Compiled.pm \
X		${WRKSRC}/lib/HTML/Template/Compiled/Utils.pm \
X		${WRKSRC}/lib/HTML/Template/Compiled/Plugin/DHTML.pm
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-HTML-Template-Compiled-0.43/Makefile
echo x - p5-HTML-Template-Compiled-0.43/distinfo
sed 's/^X//' >p5-HTML-Template-Compiled-0.43/distinfo << 'END-of-p5-HTML-Template-Compiled-0.43/distinfo'
XMD5 (HTML-Template-Compiled-0.43.tar.gz) = 6225f01671a48abe5ce46e25d2fd1d56
XSIZE (HTML-Template-Compiled-0.43.tar.gz) = 17157
END-of-p5-HTML-Template-Compiled-0.43/distinfo
echo x - p5-HTML-Template-Compiled-0.43/pkg-descr
sed 's/^X//' >p5-HTML-Template-Compiled-0.43/pkg-descr << 'END-of-p5-HTML-Template-Compiled-0.43/pkg-descr'
XFast templating system using the same syntax as HTML::Template
Xbut which compiles templates to perl code. 
X
XWWW: http://www.tinita.de/projects/perl/
END-of-p5-HTML-Template-Compiled-0.43/pkg-descr
echo x - p5-HTML-Template-Compiled-0.43/pkg-plist
sed 's/^X//' >p5-HTML-Template-Compiled-0.43/pkg-plist << 'END-of-p5-HTML-Template-Compiled-0.43/pkg-plist'
X%%SITE_PERL%%/HTML/Template/Compiled.pm
X%%SITE_PERL%%/HTML/Template/Compiled/Plugin/DHTML.pm
X%%SITE_PERL%%/HTML/Template/Compiled/Utils.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Template/Compiled/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Template/Compiled
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Template 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML 2>/dev/null || true
X@dirrm %%SITE_PERL%%/HTML/Template/Compiled/Plugin
X@dirrm %%SITE_PERL%%/HTML/Template/Compiled
X@unexec rmdir %D/%%SITE_PERL%%/HTML/Template 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/HTML 2>/dev/null || true
X
END-of-p5-HTML-Template-Compiled-0.43/pkg-plist
exit
--- p5-HTML-Template-Compiled ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050909131259.A457091>