Skip to content

Commit

Permalink
www/smarty3: Update to 3.1.45
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Jun 3, 2022
1 parent f7ac403 commit 9e760ad
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 23 deletions.
18 changes: 9 additions & 9 deletions www/smarty3/Makefile
Expand Up @@ -2,30 +2,30 @@

PORTNAME= smarty
DISTVERSIONPREFIX= v
DISTVERSION= 3.1.34
PORTVERSION= 3.1.45
CATEGORIES= www
PKGNAMESUFFIX= 3${PHP_PKGNAMESUFFIX}

MAINTAINER= ports@FreeBSD.org
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PHP compiling template engine

LICENSE= LGPL21+
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/LICENSE

USES= cpe php:web,flavors
USES= cpe php:flavors,web
USE_PHP= pcre
USE_GITHUB= yes
GH_ACCOUNT= smarty-php

NO_ARCH= yes
NO_BUILD= yes

DATADIR= ${PREFIX}/share/smarty3${PHP_PKGNAMESUFFIX}
SUB_FILES= pkg-message

DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
USE_GITHUB= yes
GH_ACCOUNT= smarty-php

do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}/libs && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/libs && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions www/smarty3/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1585780469
SHA256 (smarty-php-smarty-v3.1.34_GH0.tar.gz) = f1830270b96faf8b2a79a34eaee1fa683e77c986805dd88f305648a8c1b5cda2
SIZE (smarty-php-smarty-v3.1.34_GH0.tar.gz) = 250396
TIMESTAMP = 1653925906
SHA256 (smarty-php-smarty-v3.1.45_GH0.tar.gz) = 4e8dcc8b52ea097b93d32aa432cb552547568ae328505d25af078d63354a9a83
SIZE (smarty-php-smarty-v3.1.45_GH0.tar.gz) = 265781
4 changes: 2 additions & 2 deletions www/smarty3/files/pkg-message.in
@@ -1,10 +1,10 @@
[
{ type: install
message: <<EOM
You need to adjust php's include_path to contain `%%DATADIR%%'!
You need to adjust php's include_path to contain %%DATADIR%%!
For example, insert
include_path = ".:%%DATADIR%%"
into `%%LOCALBASE%%/etc/php.ini'.
into %%LOCALBASE%%/etc/php.ini.
EOM
}
]
17 changes: 8 additions & 9 deletions www/smarty3/pkg-descr
@@ -1,11 +1,10 @@
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.
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.

WWW: https://www.smarty.net/

0 comments on commit 9e760ad

Please sign in to comment.