BSD Ports

www/smarty4 4.5.7 FreeBSD

PHP compiling template engine

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
7ed403ba5e
License
LGPL3+
Categories
www
Package size
153.3 KiB, 1084.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
FreeBSDwww/smarty44.5.7
DragonFlywww/smarty44.5.5
HardenedBSDwww/smarty44.5.7
GhostBSDwww/smarty44.5.7

Install

Binary package:

pkg install smarty4-php82

From the ports tree:

cd /usr/ports/www/smarty4/ && make install clean

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

RUN_DEPENDS=	smarty4-php82>0:www/smarty4

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:latest4.5.74.5.7-4.5.54.5.7
FreeBSD:14:quarterly4.5.74.5.7n/a4.5.54.5.7
FreeBSD:15:latest4.5.74.5.7n/a4.5.54.5.5
FreeBSD:15:quarterly4.5.74.5.7n/an/an/a
FreeBSD:16:latest4.5.74.5.7n/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.

Run dependencies 6

No port depends on this one.

Configuration

No options to configure.

USES
cpe php:flavors,web
Service scripts
none
Flavors
smarty4-php83-4.5.7, smarty4-php84-4.5.7, smarty4-php85-4.5.7, smarty4-php86-4.5.7

Message after installing

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

Files

pkg-plist 212
  • share/smarty4-php82/Autoloader.php
  • share/smarty4-php82/Smarty.class.php
  • share/smarty4-php82/bootstrap.php
  • share/smarty4-php82/debug.tpl
  • share/smarty4-php82/functions.php
  • share/smarty4-php82/plugins/block.textformat.php
  • share/smarty4-php82/plugins/function.counter.php
  • share/smarty4-php82/plugins/function.cycle.php
  • share/smarty4-php82/plugins/function.fetch.php
  • share/smarty4-php82/plugins/function.html_checkboxes.php
  • share/smarty4-php82/plugins/function.html_image.php
  • share/smarty4-php82/plugins/function.html_options.php
  • share/smarty4-php82/plugins/function.html_radios.php
  • share/smarty4-php82/plugins/function.html_select_date.php
  • share/smarty4-php82/plugins/function.html_select_time.php
  • share/smarty4-php82/plugins/function.html_table.php
  • share/smarty4-php82/plugins/function.mailto.php
  • share/smarty4-php82/plugins/function.math.php
  • share/smarty4-php82/plugins/modifier.capitalize.php
  • share/smarty4-php82/plugins/modifier.count.php
  • share/smarty4-php82/plugins/modifier.date_format.php
  • share/smarty4-php82/plugins/modifier.debug_print_var.php
  • share/smarty4-php82/plugins/modifier.escape.php
  • share/smarty4-php82/plugins/modifier.explode.php
  • share/smarty4-php82/plugins/modifier.implode.php
  • share/smarty4-php82/plugins/modifier.mb_wordwrap.php
  • share/smarty4-php82/plugins/modifier.number_format.php
  • share/smarty4-php82/plugins/modifier.regex_replace.php
  • share/smarty4-php82/plugins/modifier.replace.php
  • share/smarty4-php82/plugins/modifier.spacify.php
  • share/smarty4-php82/plugins/modifier.truncate.php
  • share/smarty4-php82/plugins/modifiercompiler.cat.php
  • share/smarty4-php82/plugins/modifiercompiler.count_characters.php
  • share/smarty4-php82/plugins/modifiercompiler.count_paragraphs.php
  • share/smarty4-php82/plugins/modifiercompiler.count_sentences.php
  • share/smarty4-php82/plugins/modifiercompiler.count_words.php
  • share/smarty4-php82/plugins/modifiercompiler.default.php
  • share/smarty4-php82/plugins/modifiercompiler.escape.php
  • share/smarty4-php82/plugins/modifiercompiler.from_charset.php
  • share/smarty4-php82/plugins/modifiercompiler.indent.php
  • share/smarty4-php82/plugins/modifiercompiler.json_encode.php
  • share/smarty4-php82/plugins/modifiercompiler.lower.php
  • share/smarty4-php82/plugins/modifiercompiler.nl2br.php
  • share/smarty4-php82/plugins/modifiercompiler.noprint.php
  • share/smarty4-php82/plugins/modifiercompiler.round.php
  • share/smarty4-php82/plugins/modifiercompiler.str_repeat.php
  • share/smarty4-php82/plugins/modifiercompiler.string_format.php
  • share/smarty4-php82/plugins/modifiercompiler.strip.php
  • share/smarty4-php82/plugins/modifiercompiler.strip_tags.php
  • share/smarty4-php82/plugins/modifiercompiler.strlen.php
  • share/smarty4-php82/plugins/modifiercompiler.substr.php
  • share/smarty4-php82/plugins/modifiercompiler.to_charset.php
  • share/smarty4-php82/plugins/modifiercompiler.unescape.php
  • share/smarty4-php82/plugins/modifiercompiler.upper.php
  • share/smarty4-php82/plugins/modifiercompiler.wordwrap.php
  • share/smarty4-php82/plugins/outputfilter.trimwhitespace.php
  • share/smarty4-php82/plugins/shared.escape_special_chars.php
  • share/smarty4-php82/plugins/shared.literal_compiler_param.php
  • share/smarty4-php82/plugins/shared.make_timestamp.php
  • share/smarty4-php82/plugins/shared.mb_str_replace.php
  • share/smarty4-php82/plugins/shared.mb_unicode.php
  • share/smarty4-php82/plugins/variablefilter.htmlspecialchars.php
  • share/smarty4-php82/sysplugins/smarty_cacheresource.php
  • share/smarty4-php82/sysplugins/smarty_cacheresource_custom.php
  • share/smarty4-php82/sysplugins/smarty_cacheresource_keyvaluestore.php
  • share/smarty4-php82/sysplugins/smarty_data.php
  • share/smarty4-php82/sysplugins/smarty_internal_block.php
  • share/smarty4-php82/sysplugins/smarty_internal_cacheresource_file.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_append.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_assign.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_block.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_block_child.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_block_parent.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_break.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_call.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_capture.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_child.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_config_load.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_continue.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_debug.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_eval.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_extends.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_for.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_foreach.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_function.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_if.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_include.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_insert.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_ldelim.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_make_nocache.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_nocache.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_parent.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_private_block_plugin.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_private_foreachsection.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_private_function_plugin.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_private_modifier.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_private_object_block_function.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_private_object_function.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_private_print_expression.php
  • share/smarty4-php82/sysplugins/smarty_internal_compile_private_registered_block.php

The first 100 are listed.

distinfo 1
FileSizeSHA256
smarty-php-smarty-v4.5.7_GH0.tar.gz365480ae4cb84fa1c66fde80974d2a013ccab0c9fd19c73ea5384dabb4c8190a76ffb6

Commit history 1

DateCommitCreditsLog message
7ed403ba5e Po-Chuan Hsieh www/smarty4: www/smarty: Update to 4.5.7
Changes: https://github.com/smarty-php/smarty/releases