notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
smarty4 PHP compiling template engine
4.5.6 www on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 4.5.5Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2024-03-31 18:57:04
Last Update: 2025-09-07 23:03:23
Commit Hash: 3987eb2
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py311-PyOpenGL, p5-Sane
License: LGPL3+
WWW:
https://www.smarty.net/
https://github.com/smarty-php/smarty
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.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • smarty4${PHP_PKGNAMESUFFIX}>0:www/smarty4
To install the port:
cd /usr/ports/www/smarty4/ && make install clean
To add the package, run one of these commands:
  • pkg install www/smarty4
  • pkg install smarty4-php83
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: smarty4-php83
Package flavors (<flavor>: <package>)
  • php83: smarty4-php83
  • php81: smarty4-php81
  • php82: smarty4-php82
  • php84: smarty4-php84
  • php85: smarty4-php85
distinfo:
TIMESTAMP = 1757120556 SHA256 (smarty-php-smarty-v4.5.6_GH0.tar.gz) = f617b86983b3c7115222c44d63d874630f9d4b4bd88cf1ef603b3ab138c67079 SIZE (smarty-php-smarty-v4.5.6_GH0.tar.gz) = 364180

Packages (timestamps in pop-ups are UTC):
smarty4-php81
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.5.54.5.6-4.5.54.5.6---
FreeBSD:13:quarterly4.5.54.5.5-4.5.54.5.5---
FreeBSD:14:latest4.5.54.5.6-4.5.54.5.6---
FreeBSD:14:quarterly4.5.54.5.5-4.5.54.5.5---
FreeBSD:15:latest4.5.54.5.5n/a4.5.5n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
 
smarty4-php82
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.5.54.5.6-4.5.54.5.6---
FreeBSD:13:quarterly4.5.54.5.5-4.5.54.5.5---
FreeBSD:14:latest4.5.54.5.6-4.5.54.5.6---
FreeBSD:14:quarterly4.5.54.5.5-4.5.54.5.5---
FreeBSD:15:latest4.5.54.5.5n/a4.5.5n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
 
smarty4-php83
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.5.54.5.6-4.5.54.5.6---
FreeBSD:13:quarterly4.5.54.5.5-4.5.54.5.5---
FreeBSD:14:latest4.5.54.5.6-4.5.54.5.6---
FreeBSD:14:quarterly4.5.54.5.5-4.5.54.5.5---
FreeBSD:15:latest4.5.54.5.5n/a4.5.5n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
 
smarty4-php84
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.5.54.5.6-4.5.54.5.6---
FreeBSD:13:quarterly4.5.54.5.5-4.5.54.5.5---
FreeBSD:14:latest4.5.54.5.6-4.5.54.5.6---
FreeBSD:14:quarterly4.5.54.5.5-4.5.54.5.5---
FreeBSD:15:latest4.5.54.5.5n/a4.5.5n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
 
smarty4-php85
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest4.5.54.5.6-4.5.54.5.6---
FreeBSD:13:quarterly--------
FreeBSD:14:latest4.5.54.5.6-4.5.54.5.6---
FreeBSD:14:quarterly--------
FreeBSD:15:latest4.5.54.5.5n/a-n/a---
FreeBSD:15:quarterly--n/a-n/a---
FreeBSD:16:latest--n/a-n/a---
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. php.h : lang/php83
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
www_smarty4
USES:
cpe php:flavors,web
pkg-message:
For install:
You need to adjust php's include_path to contain /usr/local/share/smarty-php83! For example, insert include_path = ".:/usr/local/share/smarty-php83" into /usr/local/etc/php.ini.
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/smarty-php/smarty/tar.gz/v4.5.6?dummy=/
Collapse this list.

Number of commits found: 6

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.5.6
07 Sep 2025 23:03:23
commit hash: 3987eb2285fed4075bde2c6e724b6ad4ddab6391commit hash: 3987eb2285fed4075bde2c6e724b6ad4ddab6391commit hash: 3987eb2285fed4075bde2c6e724b6ad4ddab6391commit hash: 3987eb2285fed4075bde2c6e724b6ad4ddab6391 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/smarty4: www/smarty: Update to 4.5.6

Changes:	https://github.com/smarty-php/smarty/releases
4.5.5
28 Nov 2024 04:39:17
commit hash: 7cdf73975ec139ba1e902edacb1ba89fd1f0466fcommit hash: 7cdf73975ec139ba1e902edacb1ba89fd1f0466fcommit hash: 7cdf73975ec139ba1e902edacb1ba89fd1f0466fcommit hash: 7cdf73975ec139ba1e902edacb1ba89fd1f0466f files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/smarty4: www/smarty: Update to 4.5.5

Changes:	https://github.com/smarty-php/smarty/releases
4.5.4
05 Sep 2024 06:17:48
commit hash: 2b799b9a3256118418d349036a4b7df57d4380d3commit hash: 2b799b9a3256118418d349036a4b7df57d4380d3commit hash: 2b799b9a3256118418d349036a4b7df57d4380d3commit hash: 2b799b9a3256118418d349036a4b7df57d4380d3 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/smarty4: www/smarty: Update to 4.5.4

Changes:	https://github.com/smarty-php/smarty/releases
4.5.3
03 Jun 2024 02:37:55
commit hash: 81409ad83d9615a55aa8efd21d17076c2f296b4dcommit hash: 81409ad83d9615a55aa8efd21d17076c2f296b4dcommit hash: 81409ad83d9615a55aa8efd21d17076c2f296b4dcommit hash: 81409ad83d9615a55aa8efd21d17076c2f296b4d files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/smarty4: www/smarty: Update to 4.5.3

- Update WWW

Changes:	https://github.com/smarty-php/smarty/releases
4.5.2
08 Apr 2024 06:45:28
commit hash: 40c1264002afaf1d87773a7132fe0120a7a71bdbcommit hash: 40c1264002afaf1d87773a7132fe0120a7a71bdbcommit hash: 40c1264002afaf1d87773a7132fe0120a7a71bdbcommit hash: 40c1264002afaf1d87773a7132fe0120a7a71bdb files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/smarty: Update to 4.5.2

Changes:	https://github.com/smarty-php/smarty/releases
4.5.1
31 Mar 2024 18:43:14
commit hash: 2e5dc08c1cbed0c123e6d25ea1fbf1a2c5dc8585commit hash: 2e5dc08c1cbed0c123e6d25ea1fbf1a2c5dc8585commit hash: 2e5dc08c1cbed0c123e6d25ea1fbf1a2c5dc8585commit hash: 2e5dc08c1cbed0c123e6d25ea1fbf1a2c5dc8585 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/smarty4: Add smarty 4.5.1 (copied from smarty)

- Add PORTSCOUT

Number of commits found: 6