1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00

37 lines
835 B
Makefile

# Created by: Michael Fausten <ports@michael-fausten.de>
# $FreeBSD$
PORTNAME= smarty3
PORTVERSION= 3.1.14
CATEGORIES= www
MASTER_SITES= http://www.smarty.net/files/
DISTNAME= Smarty-${PORTVERSION}
MAINTAINER= ports@michael-fausten.de
COMMENT= 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
NO_STAGE= yes
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>