BSD Ports

devel/p5-Inline-TT 0.07_1 FreeBSD

Provides inline support for template toolkit 2.x

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
devel, perl5
Package size
10.1 KiB, 18.2 KiB installed

Description

Inline::TT provides Inline access to version 2.0 and higher of the Template Toolkit. This allows you to house your templates inside the source code file, while retaining the ability to cache compiled templates on the disk (via Inline's caching mechanism).

The names of the blocks in the template are exported as functions. Call these with a reference to a hash of values, which will be used for interpolation in the templates. This hash reference is the same as the second argument to the process method of any Template object. The output from template toolkit will be returned to you as a single string. Note that leading and trailing spaces are trimmed, further the template toolkit options PRE_CHOMP and POST_CHOMP are set. Currently, there is no way to change these behaviors.

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Inline-TT0.07_1
DragonFlydevel/p5-Inline-TT0.07_1
HardenedBSDdevel/p5-Inline-TT0.07_1
GhostBSDdevel/p5-Inline-TT0.07_1

Install

Binary package:

pkg install p5-Inline-TT

From the ports tree:

cd /usr/ports/devel/p5-Inline-TT/ && make install clean

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

RUN_DEPENDS=	p5-Inline-TT>0:devel/p5-Inline-TT

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.07_10.07_10.07_10.07_10.07_1
FreeBSD:14:quarterly0.07_10.07_1n/a0.07_10.07_1
FreeBSD:15:latest0.07_10.07_1n/a0.07_10.07_1
FreeBSD:15:quarterly0.07_10.07_1n/an/an/a
FreeBSD:16:latest0.07_10.07_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

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

Build dependencies 5
Run dependencies 5
Required by 1

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Inline/TT.pm
  • %%PERL5_MAN3%%/Inline::TT.3.gz
distinfo 1
FileSizeSHA256
Inline-TT-0.07.tar.gz6599ac7eaea3a9b6846b40fe760921d587cb21509a10eb0837ff5b33d3b8967226c4
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.