diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-12-19 11:10:29 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-12-19 11:10:29 +0000 |
| commit | e3de7809085dd7166fd0228c5620e6e74e135ce1 (patch) | |
| tree | ecc3dce412cce4640749f8879081aeed28fdf466 | |
| parent | be8b5e86af6366820426d01b9e0ae5f039664d52 (diff) | |
devel/p5-Log-Report-Template: Add p5-Log-Report-Template 1.04
Log::Report::Template extends Template, which is the core of Template Toolkit.
The main addition is support for translations via the translation framework
offered by Log::Report.
You add translations to a template system, by adding calls to some translation
function (by default called loc()) to your template text. That function will
perform dark magic to collect the translation from translation tables, and fill
in values.
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/p5-Log-Report-Template/Makefile | 26 | ||||
| -rw-r--r-- | devel/p5-Log-Report-Template/distinfo | 3 | ||||
| -rw-r--r-- | devel/p5-Log-Report-Template/pkg-descr | 8 | ||||
| -rw-r--r-- | devel/p5-Log-Report-Template/pkg-plist | 9 |
5 files changed, 47 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 8690faa37bac..f98f7caaa11f 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2964,6 +2964,7 @@ SUBDIR += p5-Log-Report SUBDIR += p5-Log-Report-Lexicon SUBDIR += p5-Log-Report-Optional + SUBDIR += p5-Log-Report-Template SUBDIR += p5-Log-Simple SUBDIR += p5-Log-Trace SUBDIR += p5-Log-TraceMessages diff --git a/devel/p5-Log-Report-Template/Makefile b/devel/p5-Log-Report-Template/Makefile new file mode 100644 index 000000000000..f28820ee2adb --- /dev/null +++ b/devel/p5-Log-Report-Template/Makefile @@ -0,0 +1,26 @@ +PORTNAME= Log-Report-Template +PORTVERSION= 1.04 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +MASTER_SITE_SUBDIR= CPAN:MARKOV +PKGNAMEPREFIX= p5- + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Template Toolkit with translations +WWW= https://metacpan.org/dist/Log-Report-Template + +LICENSE= ART10 GPLv1+ +LICENSE_COMB= dual + +BUILD_DEPENDS= ${RUN_DEPENDS} +RUN_DEPENDS= p5-Log-Report>=1.42:devel/p5-Log-Report \ + p5-Log-Report-Lexicon>=1.13:devel/p5-Log-Report-Lexicon \ + p5-String-Print>=0.91:textproc/p5-String-Print \ + p5-Template-Toolkit>=2.26:www/p5-Template-Toolkit + +USES= perl5 +USE_PERL5= configure + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/p5-Log-Report-Template/distinfo b/devel/p5-Log-Report-Template/distinfo new file mode 100644 index 000000000000..48f94654afb9 --- /dev/null +++ b/devel/p5-Log-Report-Template/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1766036337 +SHA256 (Log-Report-Template-1.04.tar.gz) = f81d766c3f728057be0e8fbe249c4e123dcf9a557ae300cd80187791acdae2db +SIZE (Log-Report-Template-1.04.tar.gz) = 23464 diff --git a/devel/p5-Log-Report-Template/pkg-descr b/devel/p5-Log-Report-Template/pkg-descr new file mode 100644 index 000000000000..046a8d993c19 --- /dev/null +++ b/devel/p5-Log-Report-Template/pkg-descr @@ -0,0 +1,8 @@ +Log::Report::Template extends Template, which is the core of Template Toolkit. +The main addition is support for translations via the translation framework +offered by Log::Report. + +You add translations to a template system, by adding calls to some translation +function (by default called loc()) to your template text. That function will +perform dark magic to collect the translation from translation tables, and fill +in values. diff --git a/devel/p5-Log-Report-Template/pkg-plist b/devel/p5-Log-Report-Template/pkg-plist new file mode 100644 index 000000000000..8ac6721ea624 --- /dev/null +++ b/devel/p5-Log-Report-Template/pkg-plist @@ -0,0 +1,9 @@ +%%SITE_PERL%%/Log/Report/Template.pm +%%SITE_PERL%%/Log/Report/Template.pod +%%SITE_PERL%%/Log/Report/Template/Extract.pm +%%SITE_PERL%%/Log/Report/Template/Extract.pod +%%SITE_PERL%%/Log/Report/Template/Textdomain.pm +%%SITE_PERL%%/Log/Report/Template/Textdomain.pod +%%PERL5_MAN3%%/Log::Report::Template.3.gz +%%PERL5_MAN3%%/Log::Report::Template::Extract.3.gz +%%PERL5_MAN3%%/Log::Report::Template::Textdomain.3.gz |
