BSD Ports

textproc/p5-Text-SimpleTemplate 0.36_1 FreeBSD

Yet another Perl module for template processing

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Categories
textproc, perl5
Package size
8.0 KiB, 11.5 KiB installed

Description

This is yet another library for template-based text generation.

Template-based text generation is a way to separate program code and data, so non-programmer can control final result (like HTML) as desired without tweaking the program code itself. By doing so, jobs like website maintenance is much easier because you can leave program code unchanged even if page redesign was needed.

The idea is simple. Whenever a block of text surrounded by '<%' and '%>' (or any pair of delimiters you specify) is found, it will be taken as Perl expression, and will be replaced by its evaluated result.

Major goal of this library is simplicity and speed. While there're many modules for template processing, this module has near raw Perl-code (i.e., "s|xxx|xxx|ge") speed, while providing simple-to-use objective interface.

In the other systems

SystemPortVersion
FreeBSDtextproc/p5-Text-SimpleTemplate0.36_1
DragonFlytextproc/p5-Text-SimpleTemplate0.36_1

Install

Binary package:

pkg install p5-Text-SimpleTemplate

From the ports tree:

cd /usr/ports/textproc/p5-Text-SimpleTemplate/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Text-SimpleTemplate>0:textproc/p5-Text-SimpleTemplate

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.36_10.36_10.36_10.36_10.36_1
FreeBSD:14:quarterly0.36_10.36_1n/a0.36_10.36_1
FreeBSD:15:latest0.36_10.36_1n/a0.36_10.36_1
FreeBSD:15:quarterly0.36_10.36_1n/an/an/a
FreeBSD:16:latest0.36_10.36_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 1
Run dependencies 1
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%PERL5_MAN3%%/Text::SimpleTemplate.3.gz
  • %%SITE_PERL%%/Text/SimpleTemplate.pm
distinfo 1
FileSizeSHA256
Text-SimpleTemplate-0.36.tar.gz6140894d6360000852943d2f48a1558ba4fbc2931496786838f7e1e923674a4fc214
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.