Here is a long overdue update for HTML::Template.

What's new upstream (97 lines of changelog [0]): 

- full UTF-8 templates support
- allow clean XML style tags like "<tmpl_var foo />"
- add a config() method to allow global defaults, reducing boilerplate
  code
- add lazy caching
- most importantly, nothing backward incompatible :)

What's new in the port:

- use Perl license marker, and metacpan HOMEPAGE
- as CGI has been dropped from core modules since Perl 5.22, we need
  to pull it as dependency for tests
- add Pod testing

Testing:

- 'make test' passes
- There are 11 direct consumers that i've tested [1], and found no new
  issues due to that update.

Comments/feedback are welcome!

Charlène.


[0] https://metacpan.org/source/SAMTREGAR/HTML-Template-2.97/Changes
[1] http://0x0.st/zmVL.tgz


Index: Makefile
===================================================================
RCS file: /cvs/ports/www/p5-HTML-Template/Makefile,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 Makefile
--- Makefile    6 May 2019 19:36:30 -0000       1.10
+++ Makefile    20 May 2019 23:35:58 -0000
@@ -4,13 +4,14 @@ COMMENT=      use HTML Templates from CGI scr
 
 MODULES=       cpan
 PKG_ARCH=      *
-DISTNAME=      HTML-Template-2.9
+DISTNAME=      HTML-Template-2.97
 CATEGORIES=    www
-REVISION=      0
 
-HOMEPAGE=      http://sourceforge.net/projects/html-template/
-
-# GPL/Artistic license
+# Perl
 PERMIT_PACKAGE_CDROM=  Yes
+
+TEST_DEPENDS=  www/p5-CGI
+
+MAKE_ENV+=     TEST_POD=Yes AUTHOR_TESTING=Yes
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/p5-HTML-Template/distinfo,v
retrieving revision 1.6
diff -u -p -u -p -r1.6 distinfo
--- distinfo    18 Jan 2015 03:15:45 -0000      1.6
+++ distinfo    20 May 2019 23:35:58 -0000
@@ -1,2 +1,2 @@
-SHA256 (HTML-Template-2.9.tar.gz) = 
Yml7+kxlcp/lor8IvqHODWXdBgBk0yfdpmGcYKURQEc=
-SIZE (HTML-Template-2.9.tar.gz) = 82558
+SHA256 (HTML-Template-2.97.tar.gz) = 
ZUevYfOqhXk/hhYZCTjWd9eZX7O3IMFiWAQLyTXiEp8=
+SIZE (HTML-Template-2.97.tar.gz) = 88236
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/www/p5-HTML-Template/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 PLIST
--- pkg/PLIST   15 Sep 2004 18:49:51 -0000      1.3
+++ pkg/PLIST   20 May 2019 23:35:58 -0000
@@ -1,4 +1,7 @@
 @comment $OpenBSD: PLIST,v 1.3 2004/09/15 18:49:51 espie Exp $
 ${P5SITE}/HTML/
+${P5SITE}/HTML/Template/
 ${P5SITE}/HTML/Template.pm
+${P5SITE}/HTML/Template/FAQ.pm
 @man man/man3p/HTML::Template.3p
+@man man/man3p/HTML::Template::FAQ.3p

Reply via email to