1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Add p5-CGI-Application-Plugin-AnyTemplate 0.17, use any templating

system in CGI::Application.

PR:		ports/103375
Submitted by:	George Hartzell <hartzell at alerce.com>
This commit is contained in:
Cheng-Lung Sung 2006-12-07 08:29:44 +00:00
parent 864e187e58
commit 111ebab07c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179086
5 changed files with 69 additions and 0 deletions

View File

@ -512,6 +512,7 @@
SUBDIR += p5-Business-PayPal
SUBDIR += p5-CGI-Ajax
SUBDIR += p5-CGI-Application
SUBDIR += p5-CGI-Application-Plugin-AnyTemplate
SUBDIR += p5-CGI-Application-Plugin-AutoRunmode
SUBDIR += p5-CGI-Application-Plugin-DBH
SUBDIR += p5-CGI-Application-Plugin-DevPopup

View File

@ -0,0 +1,37 @@
# New ports collection makefile for: www/p5-CGI-Application-Plugin-AnyTemplate
# Date created: 14 September 2005
# Whom: George Hartzell <hartzell@alerce.com>
#
# $FreeBSD$
#
PORTNAME= CGI-Application-Plugin-AnyTemplate
PORTVERSION= 0.17
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= CGI
PKGNAMEPREFIX= p5-
MAINTAINER= hartzell@alerce.com
COMMENT= Use any templating system in CGI::Application
RUN_DEPENDS= ${SITE_PERL}/CGI/Application.pm:${PORTSDIR}/www/p5-CGI-Application \
${SITE_PERL}/CGI/Application/Plugin/Forward.pm:${PORTSDIR}/www/p5-CGI-Application-Plugin-Forward
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_MODBUILD= yes
MAN3= CGI::Application::Plugin::AnyTemplate.3 \
CGI::Application::Plugin::AnyTemplate::Driver::HTMLTemplate.3 \
CGI::Application::Plugin::AnyTemplate::Base.3 \
CGI::Application::Plugin::AnyTemplate::Driver::TemplateToolkit.3 \
CGI::Application::Plugin::AnyTemplate::ComponentHandler.3 \
CGI::Application::Plugin::AnyTemplate::Driver::HTMLTemplatePluggable.3 \
CGI::Application::Plugin::AnyTemplate::Driver::HTMLTemplateExpr.3 \
CGI::Application::Plugin::AnyTemplate::Driver::Petal.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
IGNORE= requires Perl 5.8 or newer. Install lang/perl5.8, and try again
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (CGI-Application-Plugin-AnyTemplate-0.17.tar.gz) = 1bba5c8dc3670ff0539f941c75cf6ef9
SHA256 (CGI-Application-Plugin-AnyTemplate-0.17.tar.gz) = d0d9dd0995beeea2b5a43be337172be0337120f6fbbdd2ee67482878549c1880
SIZE (CGI-Application-Plugin-AnyTemplate-0.17.tar.gz) = 54292

View File

@ -0,0 +1,15 @@
CGI::Application::Plugin::AnyTemplate allows you to use any supported
Perl templating system using a single consistent interface.
Currently supported templating systems include HTML::Template,
HTML::Template::Expr, HTML::Template::Pluggable, Template::Toolkit and
Petal.
You can access any of these templating systems using the same
interface. In this way, you can use the same code and switch
templating systems on the fly.
This approach has many uses. For instance, it can be useful in
migrating your application from one templating system to another.
WWW: http://search.cpan.org/dist/CGI-Application-Plugin-AnyTemplate/

View File

@ -0,0 +1,13 @@
%%SITE_PERL%%/CGI/Application/Plugin/AnyTemplate/Driver/Petal.pm
%%SITE_PERL%%/CGI/Application/Plugin/AnyTemplate/ComponentHandler.pm
%%SITE_PERL%%/CGI/Application/Plugin/AnyTemplate/Driver/HTMLTemplatePluggable.pm
%%SITE_PERL%%/CGI/Application/Plugin/AnyTemplate/Driver/HTMLTemplate.pm
%%SITE_PERL%%/CGI/Application/Plugin/AnyTemplate/Base.pm
%%SITE_PERL%%/CGI/Application/Plugin/AnyTemplate/Driver/TemplateToolkit.pm
%%SITE_PERL%%/CGI/Application/Plugin/AnyTemplate.pm
%%SITE_PERL%%/CGI/Application/Plugin/AnyTemplate/Driver/HTMLTemplateExpr.pm
@dirrmtry %%SITE_PERL%%/CGI/Application/Plugin/AnyTemplate/Driver
@dirrmtry %%SITE_PERL%%/CGI/Application/Plugin/AnyTemplate
@dirrmtry %%SITE_PERL%%/CGI/Application/Plugin
@dirrmtry %%SITE_PERL%%/CGI/Application
@dirrmtry %%SITE_PERL%%/CGI