blob: 35347e1ea55384cd5eae5735ce0a5f37baee72b1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: Michael Fausten <ports@michael-fausten.de>
# $FreeBSD$
PORTNAME= smarty3
PORTVERSION= 3.1.13
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>
|