devel/pear-HTML_Template_Sigma 1.4.0 FreeBSD
Implementation of Integrated Templates API with template 'compilation' added
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- PHP301
- Categories
- devel, www, pear
- Package size
- 31.5 KiB, 139.3 KiB installed
Description
HTML_Template_Sigma implements Integrated Templates API designed by Ulf Wendel.
Features:
- Nested blocks. Nesting is controlled by the engine.
- Ability to include files from within template: <!-- INCLUDE -->
- Automatic removal of empty blocks and unknown variables (methods to manually tweak/override this are also available)
- Methods for runtime addition and replacement of blocks in templates
- Ability to insert simple function calls into templates: func_uppercase('Hello world!') and to define callback functions for these
- 'Compiled' templates: the engine has to parse a template file using regular expressions to find all the blocks and variable placeholders. This is a very "expensive" operation and is an overkill to do on every page request: templates seldom change on production websites. Thus this feature: an internal representation of the template structure is saved into a file and this file gets loaded instead of the source one on subsequent requests (unless the source changes)
- PHPUnit-based tests to define correct behaviour
- Usage examples for most of the features are available, look in the docs/ directory
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/pear-HTML_Template_Sigma | 1.4.0 |
| DragonFly | devel/pear-HTML_Template_Sigma | 1.3.0 |
Install
Binary package:
pkg install php82-pear-HTML_Template_Sigma
From the ports tree:
cd /usr/ports/devel/pear-HTML_Template_Sigma/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= php82-pear-HTML_Template_Sigma>0:devel/pear-HTML_Template_Sigma
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.4.0 | 1.4.0 | 1.3.0 | 1.3.0 | 1.4.0 |
| FreeBSD:14:quarterly | 1.4.0 | 1.4.0 | n/a | 1.3.0 | 1.4.0 |
| FreeBSD:15:latest | 1.4.0 | 1.4.0 | n/a | 1.3.0 | 1.3.0 |
| FreeBSD:15:quarterly | 1.4.0 | 1.4.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.4.0 | 1.4.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/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 9
Run dependencies 11
No port depends on this one.
Configuration
No options to configure.
- USES
- pear
- Service scripts
- none
- Flavors
php83-pear-HTML_Template_Sigma-1.4.0,php84-pear-HTML_Template_Sigma-1.4.0,php85-pear-HTML_Template_Sigma-1.4.0,php86-pear-HTML_Template_Sigma-1.4.0
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| PEAR/HTML_Template_Sigma-1.4.0.tgz | 29979 | b547240eb827df96f03e5a6a12ad70f910dc1e9de79c9676422033dd97369879 |
Commit history 0
No commits in the history this site was built from.