BSD Ports

www/smarty 5.4.3 DragonFly

PHP compiling template engine

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
LGPL3+
Categories
www
Package size
130.1 KiB, 870.2 KiB installed

Description

Smarty is a template engine for PHP. Many other template engines for PHP provide basic variable substitution and dynamic block functionality. Smarty takes a step further to be a "smart" template engine, adding features such as configuration files, template functions, and variable modifiers, and making all of this functionality as easy as possible to use for both programmers and template designers. Smarty also converts the templates into PHP scripts, eliminating the need to parse the templates on every invocation. This makes Smarty extremely scalable and managable for large application needs.

In the other systems

SystemPortVersion
DragonFlywww/smarty5.4.3
FreeBSDwww/smarty5.8.4
HardenedBSDwww/smarty5.8.4
GhostBSDwww/smarty5.8.4

Install

Binary package:

pkg install smarty-php81

From DPorts:

cd /usr/dports/www/smarty && make install clean

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
smarty-php82-5.4.3, smarty-php83-5.4.3, smarty-php84-5.4.3

Message after installing

You need to adjust php's include_path to contain /usr/local/share/smarty-php81!
For example, insert
	include_path = ".:/usr/local/share/smarty-php81"
into /usr/local/etc/php.ini.