diff options
author | wiz <wiz@pkgsrc.org> | 2003-10-03 14:26:40 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-10-03 14:26:40 +0000 |
commit | 81d00f2c84608b56f0f3fc5e3184f6e554037f3c (patch) | |
tree | f9edea456edeccac08e996ca4f0a8ffda909beb4 /www | |
parent | 4e665ef1dd779e37bd8932821ff80c7afb369748 (diff) | |
download | pkgsrc-81d00f2c84608b56f0f3fc5e3184f6e554037f3c.tar.gz |
This module generates TT2 templates. It can take data
structures and rendered documents together, and deduce
templates that could have performed the transformation.
It is a companion to Template and Template::Extract; their
relationship is shown below:
Template: ($template + $data) ==> $document # normal
Template::Extract: ($document + $template) ==> $data # tricky
Template::Generate: ($data + $document) ==> $template # very tricky
This module is considered experimental.
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-Template-Generate/DESCR | 12 | ||||
-rw-r--r-- | www/p5-Template-Generate/Makefile | 19 | ||||
-rw-r--r-- | www/p5-Template-Generate/PLIST | 1 | ||||
-rw-r--r-- | www/p5-Template-Generate/distinfo | 4 |
4 files changed, 36 insertions, 0 deletions
diff --git a/www/p5-Template-Generate/DESCR b/www/p5-Template-Generate/DESCR new file mode 100644 index 00000000000..f28edf7dd38 --- /dev/null +++ b/www/p5-Template-Generate/DESCR @@ -0,0 +1,12 @@ +This module generates TT2 templates. It can take data +structures and rendered documents together, and deduce +templates that could have performed the transformation. + +It is a companion to Template and Template::Extract; their +relationship is shown below: + +Template: ($template + $data) ==> $document # normal +Template::Extract: ($document + $template) ==> $data # tricky +Template::Generate: ($data + $document) ==> $template # very tricky + +This module is considered experimental. diff --git a/www/p5-Template-Generate/Makefile b/www/p5-Template-Generate/Makefile new file mode 100644 index 00000000000..4e3bb41052d --- /dev/null +++ b/www/p5-Template-Generate/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/10/03 14:26:40 wiz Exp $ + +DISTNAME= Template-Generate-0.04 +PKGNAME= p5-${DISTNAME} +SVR4_PKGNAME= p5tge +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Template/} + +MAINTAINER= wiz@NetBSD.org +HOMEPAGE= http://search.cpan.org/~autrijus/Template-Generate/ +COMMENT= Perl5 module for generating TT2 templates from TT2-rendered documents + +DEPENDS+= p5-Template-Toolkit>=2.0:../../www/p5-Template-Toolkit + +USE_BUILDLINK2= YES +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Template/Generate/.packlist + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/p5-Template-Generate/PLIST b/www/p5-Template-Generate/PLIST new file mode 100644 index 00000000000..d8605da055a --- /dev/null +++ b/www/p5-Template-Generate/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/10/03 14:26:40 wiz Exp $ diff --git a/www/p5-Template-Generate/distinfo b/www/p5-Template-Generate/distinfo new file mode 100644 index 00000000000..9cabff25079 --- /dev/null +++ b/www/p5-Template-Generate/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/10/03 14:26:40 wiz Exp $ + +SHA1 (Template-Generate-0.04.tar.gz) = d1f3d070498ebb09d7c2c6c520f8990027f94c15 +Size (Template-Generate-0.04.tar.gz) = 9145 bytes |