summaryrefslogtreecommitdiff
path: root/www/p5-Template-Extract
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-10-03 14:07:24 +0000
committerwiz <wiz@pkgsrc.org>2003-10-03 14:07:24 +0000
commit9e4d7573798bdbeece1ede146887f294ad49d1d9 (patch)
tree9b1c8bd85d1b3c1930ace1d04518ba16f4d2ed1c /www/p5-Template-Extract
parentee36ec12cbb16ab74186e47899bf4aced5e2c6cf (diff)
downloadpkgsrc-9e4d7573798bdbeece1ede146887f294ad49d1d9.tar.gz
This module is a subclass of the Template toolkit, with added
template extraction functionality. It can take a rendered document and its template together, and get the original data structure back, effectively reversing the "process" function. This module is considered experimental. If you just wish to extract RSS-type information out of a HTML document, WWW::SherlockSearch may be a more robust solution.
Diffstat (limited to 'www/p5-Template-Extract')
-rw-r--r--www/p5-Template-Extract/DESCR8
-rw-r--r--www/p5-Template-Extract/Makefile19
-rw-r--r--www/p5-Template-Extract/PLIST1
-rw-r--r--www/p5-Template-Extract/distinfo4
4 files changed, 32 insertions, 0 deletions
diff --git a/www/p5-Template-Extract/DESCR b/www/p5-Template-Extract/DESCR
new file mode 100644
index 00000000000..200b203fc29
--- /dev/null
+++ b/www/p5-Template-Extract/DESCR
@@ -0,0 +1,8 @@
+This module is a subclass of the Template toolkit, with added
+template extraction functionality. It can take a rendered document
+and its template together, and get the original data structure
+back, effectively reversing the "process" function.
+
+This module is considered experimental. If you just wish to extract
+RSS-type information out of a HTML document, WWW::SherlockSearch
+may be a more robust solution.
diff --git a/www/p5-Template-Extract/Makefile b/www/p5-Template-Extract/Makefile
new file mode 100644
index 00000000000..7cc5b37bde8
--- /dev/null
+++ b/www/p5-Template-Extract/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/10/03 14:07:24 wiz Exp $
+
+DISTNAME= Template-Extract-0.25
+PKGNAME= p5-${DISTNAME}
+SVR4_PKGNAME= p5tex
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Template/}
+
+MAINTAINER= wiz@NetBSD.org
+HOMEPAGE= http://search.cpan.org/~autrijus/Template-Extract/
+COMMENT= Perl5 module for extracting data structure from TT2-rendered documents
+
+DEPENDS+= p5-Template-Toolkit>=2.0:../../www/p5-Template-Toolkit
+
+USE_BUILDLINK2= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Template/Extract/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-Template-Extract/PLIST b/www/p5-Template-Extract/PLIST
new file mode 100644
index 00000000000..ea836ba97c5
--- /dev/null
+++ b/www/p5-Template-Extract/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/10/03 14:07:24 wiz Exp $
diff --git a/www/p5-Template-Extract/distinfo b/www/p5-Template-Extract/distinfo
new file mode 100644
index 00000000000..a79a40f987c
--- /dev/null
+++ b/www/p5-Template-Extract/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/10/03 14:07:24 wiz Exp $
+
+SHA1 (Template-Extract-0.25.tar.gz) = 9e5a99ee3076e130ce601f50c672b3baf05510b5
+Size (Template-Extract-0.25.tar.gz) = 19323 bytes