pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/p5-Template-Generate This module generates TT2 tem...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b8a6975570f7
branches:  trunk
changeset: 462462:b8a6975570f7
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Oct 03 14:26:40 2003 +0000

description:
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:

 www/p5-Template-Generate/DESCR    |  12 ++++++++++++
 www/p5-Template-Generate/Makefile |  19 +++++++++++++++++++
 www/p5-Template-Generate/PLIST    |   1 +
 www/p5-Template-Generate/distinfo |   4 ++++
 4 files changed, 36 insertions(+), 0 deletions(-)

diffs (52 lines):

diff -r 73852b11e31f -r b8a6975570f7 www/p5-Template-Generate/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-Template-Generate/DESCR    Fri Oct 03 14:26:40 2003 +0000
@@ -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 -r 73852b11e31f -r b8a6975570f7 www/p5-Template-Generate/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-Template-Generate/Makefile Fri Oct 03 14:26:40 2003 +0000
@@ -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@localhost
+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 -r 73852b11e31f -r b8a6975570f7 www/p5-Template-Generate/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-Template-Generate/PLIST    Fri Oct 03 14:26:40 2003 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/10/03 14:26:40 wiz Exp $
diff -r 73852b11e31f -r b8a6975570f7 www/p5-Template-Generate/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-Template-Generate/distinfo Fri Oct 03 14:26:40 2003 +0000
@@ -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



Home | Main Index | Thread Index | Old Index