svn commit: r507450 - in head/textproc: . p5-Text-Hogan
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Jul 27 14:01:26 UTC 2019
Author: sunpoet
Date: Sat Jul 27 14:01:25 2019
New Revision: 507450
URL: https://svnweb.freebsd.org/changeset/ports/507450
Log:
Add p5-Text-Hogan 2.02
Text::Hogan is a statement-for-statement rewrite of hogan.js in Perl.
It is a mustache templating engine which supports pre-compilation of your
templates into pure Perl code, which then renders very quickly.
It passes the full mustache spec.
WWW: https://metacpan.org/release/Text-Hogan
Added:
head/textproc/p5-Text-Hogan/
head/textproc/p5-Text-Hogan/Makefile (contents, props changed)
head/textproc/p5-Text-Hogan/distinfo (contents, props changed)
head/textproc/p5-Text-Hogan/pkg-descr (contents, props changed)
head/textproc/p5-Text-Hogan/pkg-plist (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Sat Jul 27 13:41:24 2019 (r507449)
+++ head/textproc/Makefile Sat Jul 27 14:01:25 2019 (r507450)
@@ -867,6 +867,7 @@
SUBDIR += p5-Text-Hatena
SUBDIR += p5-Text-Highlight
SUBDIR += p5-Text-HikiDoc
+ SUBDIR += p5-Text-Hogan
SUBDIR += p5-Text-Hyphen
SUBDIR += p5-Text-LTSV
SUBDIR += p5-Text-Language-Guess
Added: head/textproc/p5-Text-Hogan/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/p5-Text-Hogan/Makefile Sat Jul 27 14:01:25 2019 (r507450)
@@ -0,0 +1,30 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= Text-Hogan
+PORTVERSION= 2.02
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= Mustache templating engine statement-for-statement cloned from hogan.js
+
+LICENSE= ART10 GPLv1+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-Clone>=0.37:devel/p5-Clone \
+ p5-Text-Trim>=1.02:textproc/p5-Text-Trim
+TEST_DEPENDS= p5-Data-Visitor>=0.30:devel/p5-Data-Visitor \
+ p5-Path-Tiny>=0.059:devel/p5-Path-Tiny \
+ p5-Try-Tiny>=0.22:lang/p5-Try-Tiny \
+ p5-YAML>=1.13:textproc/p5-YAML
+
+USES= perl5
+USE_PERL5= configure
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
Added: head/textproc/p5-Text-Hogan/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/p5-Text-Hogan/distinfo Sat Jul 27 14:01:25 2019 (r507450)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1564233825
+SHA256 (Text-Hogan-2.02.tar.gz) = a33d7bb8c8c8efd201405750f4fb225d564653e7bc08015bbd7e85ef08fd702c
+SIZE (Text-Hogan-2.02.tar.gz) = 27679
Added: head/textproc/p5-Text-Hogan/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/p5-Text-Hogan/pkg-descr Sat Jul 27 14:01:25 2019 (r507450)
@@ -0,0 +1,8 @@
+Text::Hogan is a statement-for-statement rewrite of hogan.js in Perl.
+
+It is a mustache templating engine which supports pre-compilation of your
+templates into pure Perl code, which then renders very quickly.
+
+It passes the full mustache spec.
+
+WWW: https://metacpan.org/release/Text-Hogan
Added: head/textproc/p5-Text-Hogan/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/p5-Text-Hogan/pkg-plist Sat Jul 27 14:01:25 2019 (r507450)
@@ -0,0 +1,6 @@
+%%SITE_PERL%%/Text/Hogan.pm
+%%SITE_PERL%%/Text/Hogan/Compiler.pm
+%%SITE_PERL%%/Text/Hogan/Template.pm
+%%PERL5_MAN3%%/Text::Hogan.3.gz
+%%PERL5_MAN3%%/Text::Hogan::Compiler.3.gz
+%%PERL5_MAN3%%/Text::Hogan::Template.3.gz
More information about the svn-ports-head
mailing list