pkgsrc/www/p5-Template-Extract/Makefile
wiz 98d7c707f3 Update to 0.40:
[Changes for 0.40 - 2005-09-17]

* Support for capturing matched regular expressions into variables,
  Contributed by "woremacx".  For example, this captures an nonempty
  header text into the "heading" variable:

    <h2>[% heading =~ /((?!<\/h2).+?)/ %]</h2>

[Changes for 0.39 - 2005-07-15]

* Allow passing Template::Parser options directly into
  Template::Extract->new().  Suggested by brian d foy.

* Factored out the parser into Template::Extract::Parser to
  allow use of alternate parsers with the PARSE_CLASS class method.

[Changes for 0.38 - 2004-10-25]

* Fix test failure with pre-5.8.4's regex optimizer.
  Reported by CPAN testers.

[Changes for 0.37 - 2004-10-20]

* Move under SVK for version management.
* If the template ends with a capturing variable, make it
  greedy instead of nongreedy, so it won't always match the
  empty string.  Reported by LTJake on IRC.

[Changes for 0.36 - 2004-02-16]

* Separate the compilation and run parts into two
  modules, for ease of deployment (::Run may be put
  on a machine without TT2) and marginally faster
  execution.  Suggested by Bruno De Fraine.

[Changes for 0.35 - 2004-01-09]

* Fixes regression caused by newer TT2 versions,
  which adds the extra "#line" directives into the
  regular expressions.  Spotted by Yi-Ming Cao
  and Sam Smith.

* Implement suggestion from Luis Oliveira: embedded
  non-capturing regexes, such as [% /\s*/ %].

* Add implicit optional newlines around [% FOREACH %]
  blocks, so it can intuitively work.

[Changes for 0.33 - 2003-12-13]

* Adds MANIFEST.SKIP that takes care of Module::Build
  files, so older versions of Module::Build/MakeMaker
  won't trip Module::Signature over.  Thanks to CPAN
  smoker Jost Krieger for the report.

[Changes for 0.32 - 2003-12-13]

* Improved build intrastructure, suggested by Mark Fowler,
  to automatically check and download nmake.exe on Windows,
  as well as supporting a Module::Build-compatible Build.PL.

* Clarify documents; add links to Simon and Mark's articles.

[Changes for 0.31 - 2003-10-21]

* New flag $EXACT to control whether partial documents
  should match. (defaults to 0 for backward compatibility)

* Tatsuhiko Miyagawa pointed out that [% FOREACH %] blocks
  fail to match prematurely because it can match zero times.
  Now outermost foreach blocks must match at least once.

[Changes for 0.30 - 2003-10-20]

* This module is no longer experimental. :)
* Russell Matbouli reports that extract did not properly
  set \%values.  Fixed.
* [% SET key = "value" %] now works inside FOREACHs.
* [% SET nested.key = "value" %] now works.
* Much more robust validating code inside FOREACHs.
* Refactored the common context walking code from "get",
  "set" and "validate" into _ext, and improved readability.
2007-02-27 13:36:42 +00:00

34 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.16 2007/02/27 13:36:42 wiz Exp $
DISTNAME= Template-Extract-0.40
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5tex
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Template/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/~autrijus/Template-Extract/
COMMENT= Perl5 module for extracting data structure from TT2-rendered documents
TEX_ACCEPTED= teTeX3
DEPENDS+= p5-Template-Toolkit>=2.0:../../www/p5-Template-Toolkit
DEPENDS+= p5-Apache-DBI>=0.87:../../databases/p5-Apache-DBI
DEPENDS+= p5-DBI>=1.18:../../databases/p5-DBI
DEPENDS+= p5-Date-Calc>=4.3:../../devel/p5-Date-Calc
DEPENDS+= p5-GD>=1.32:../../graphics/p5-GD
DEPENDS+= p5-GDGraph3d>=0.55:../../graphics/p5-GDGraph3d
DEPENDS+= p5-GDGraph>=1.33:../../graphics/p5-GDGraph
DEPENDS+= p5-Pod-POM-[0-9]*:../../textproc/p5-Pod-POM
DEPENDS+= p5-Text-Autoformat-[0-9]*:../../textproc/p5-Text-Autoformat
DEPENDS+= p5-XML-DOM>=1.43:../../textproc/p5-XML-DOM
DEPENDS+= p5-XML-Parser>=2.30:../../textproc/p5-XML-Parser
DEPENDS+= p5-XML-RSS>=0.9:../../textproc/p5-XML-RSS
DEPENDS+= p5-XML-XPath>=1.08:../../textproc/p5-XML-XPath
PERL5_PACKLIST= auto/Template/Extract/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/tex.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"