Update www/smarty3 to version 3.1.13
[dports.git] / www / smarty3 / Makefile
1 # Created by: Michael Fausten <ports@michael-fausten.de>
2 # $FreeBSD: www/smarty3/Makefile 320097 2013-06-06 13:45:19Z culot $
3
4 PORTNAME=       smarty3
5 PORTVERSION=    3.1.13
6 CATEGORIES=     www
7 MASTER_SITES=   http://www.smarty.net/files/
8 DISTNAME=       Smarty-${PORTVERSION}
9
10 MAINTAINER=     ports@michael-fausten.de
11 COMMENT=        The PHP compiling template engine
12
13 WRKSRC=         ${WRKDIR}/Smarty-${PORTVERSION}
14
15 NO_BUILD=       yes
16 USE_PHP=        pcre
17 WANT_PHP_WEB=   yes
18
19 PKGMESSAGE=     ${WRKDIR}/pkg-message
20 SUB_FILES=      pkg-message
21
22 do-install:
23         @${MKDIR} ${DATADIR}
24 .for f in Smarty.class.php SmartyBC.class.php debug.tpl
25         @${INSTALL_DATA} ${WRKSRC}/libs/$f ${DATADIR}
26 .endfor
27         @${MKDIR} ${DATADIR}/plugins
28         @${INSTALL_DATA} ${WRKSRC}/libs/plugins/* ${DATADIR}/plugins
29         @${MKDIR} ${DATADIR}/sysplugins
30         @${INSTALL_DATA} ${WRKSRC}/libs/sysplugins/* ${DATADIR}/sysplugins
31
32 post-install:
33         @${CAT} ${PKGMESSAGE}
34
35 .include <bsd.port.mk>