freebsd-ports/www/smarty3/Makefile
Greg Larkin d30008c3a3 NOTE: This port tracks Smarty 3.x, while www/smarty2 tracks Smarty 2.x
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: http://www.smarty.net/
2012-09-28 17:22:32 +00:00

35 lines
828 B
Makefile

# Created by: Michael Fausten <ports@michael-fausten.de>
# $FreeBSD$
PORTNAME= smarty3
PORTVERSION= 3.1.12
CATEGORIES= www
MASTER_SITES= http://www.smarty.net/files/
DISTNAME= Smarty-${PORTVERSION}
MAINTAINER= ports@michael-fausten.de
COMMENT= The PHP compiling template engine
WRKSRC= ${WRKDIR}/Smarty-${PORTVERSION}
NO_BUILD= yes
USE_PHP= pcre
WANT_PHP_WEB= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
do-install:
@${MKDIR} ${DATADIR}
.for f in Smarty.class.php SmartyBC.class.php debug.tpl
@${INSTALL_DATA} ${WRKSRC}/libs/$f ${DATADIR}
.endfor
@${MKDIR} ${DATADIR}/plugins
@${INSTALL_DATA} ${WRKSRC}/libs/plugins/* ${DATADIR}/plugins
@${MKDIR} ${DATADIR}/sysplugins
@${INSTALL_DATA} ${WRKSRC}/libs/sysplugins/* ${DATADIR}/sysplugins
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>