diff --git a/textproc/Makefile b/textproc/Makefile index 3f0e79daaef0..ef0de7be6038 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -779,6 +779,7 @@ SUBDIR += p5-Template-Magic SUBDIR += p5-Template-Plugin-Autoformat SUBDIR += p5-Template-Plugin-CSV + SUBDIR += p5-Template-Plugin-Data-Printer SUBDIR += p5-Template-Plugin-Filter-Minify-CSS SUBDIR += p5-Template-Plugin-Filter-Minify-CSS-XS SUBDIR += p5-Template-Plugin-Filter-Minify-JavaScript diff --git a/textproc/p5-Template-Plugin-Data-Printer/Makefile b/textproc/p5-Template-Plugin-Data-Printer/Makefile new file mode 100644 index 000000000000..45fd6424373d --- /dev/null +++ b/textproc/p5-Template-Plugin-Data-Printer/Makefile @@ -0,0 +1,23 @@ +# Created by: Zeus Panchenko +# $FreeBSD$ + +PORTNAME= Template-Plugin-DataPrinter +PORTVERSION= 0.013 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= Template Toolkit dumper plugin using Data::Printer + +RUN_DEPENDS= p5-Data-Printer>=0:devel/p5-Data-Printer \ + p5-HTML-FromANSI-Tiny>=0:textproc/p5-HTML-FromANSI-Tiny \ + p5-Hash-Merge-Simple>=0:devel/p5-Hash-Merge-Simple \ + p5-Template-Toolkit>=0:www/p5-Template-Toolkit +TEST_DEPENDS= p5-Test-NoWarnings>=0:devel/p5-Test-NoWarnings + +NO_ARCH= yes +USES= perl5 +USE_PERL5= configure + +.include diff --git a/textproc/p5-Template-Plugin-Data-Printer/distinfo b/textproc/p5-Template-Plugin-Data-Printer/distinfo new file mode 100644 index 000000000000..97360b3a933b --- /dev/null +++ b/textproc/p5-Template-Plugin-Data-Printer/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1434174551 +SHA256 (Template-Plugin-DataPrinter-0.013.tar.gz) = 837c9756019b4a1e29a6a6ed991c5fca51d5b4130de2a8ba2d30a976d6ff01f9 +SIZE (Template-Plugin-DataPrinter-0.013.tar.gz) = 14950 diff --git a/textproc/p5-Template-Plugin-Data-Printer/pkg-descr b/textproc/p5-Template-Plugin-Data-Printer/pkg-descr new file mode 100644 index 000000000000..1715eea2e258 --- /dev/null +++ b/textproc/p5-Template-Plugin-Data-Printer/pkg-descr @@ -0,0 +1,7 @@ +This is a dumper plugin for Template::Toolkit which uses Data::Printer +instead of Data::Dumper. + +Data::Printer is a colorised pretty-printer with nicely human-readable +object output. + +WWW: https://metacpan.org/release/Template-Plugin-DataPrinter diff --git a/textproc/p5-Template-Plugin-Data-Printer/pkg-plist b/textproc/p5-Template-Plugin-Data-Printer/pkg-plist new file mode 100644 index 000000000000..699460c660a1 --- /dev/null +++ b/textproc/p5-Template-Plugin-Data-Printer/pkg-plist @@ -0,0 +1,2 @@ +%%PERL5_MAN3%%/Template::Plugin::DataPrinter.3.gz +%%SITE_PERL%%/Template/Plugin/DataPrinter.pm