blob: 4bc86dbc29636bab9f4353000589999bb6c33665 (
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
36
37
38
39
40
41
42
43
44
45
|
# Created by: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
# $FreeBSD$
PORTNAME= smarty
PORTVERSION= 2.6.28
CATEGORIES= www
MASTER_SITES= http://www.smarty.net/files/ \
http://www.smarty.net/files/docs/:manual
DISTFILES= Smarty-${PORTVERSION}${EXTRACT_SUFX} \
manual-en-${DOCSVERSION}${EXTRACT_SUFX}:manual
MAINTAINER= danilo@FreeBSD.org
COMMENT= PHP compiling template engine
USES= zip
DOCSVERSION= 2.6
OPTIONS_DEFINE= DOCS
NO_BUILD= yes
USE_PHP= pcre
WANT_PHP_WEB= yes
WRKSRC= ${WRKDIR}/Smarty-${PORTVERSION}
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
.for f in Config_File.class.php Smarty.class.php Smarty_Compiler.class.php debug.tpl
${INSTALL_DATA} ${WRKSRC}/libs/$f ${STAGEDIR}${DATADIR}
.endfor
@${MKDIR} ${STAGEDIR}${DATADIR}/internals
${INSTALL_DATA} ${WRKSRC}/libs/internals/* ${STAGEDIR}${DATADIR}/internals
@${MKDIR} ${STAGEDIR}${DATADIR}/plugins
${INSTALL_DATA} ${WRKSRC}/libs/plugins/* ${STAGEDIR}${DATADIR}/plugins
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in BUGS FAQ INSTALL NEWS README
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
.endfor
@${MKDIR} ${STAGEDIR}${DOCSDIR}/manual
cd ${WRKDIR}/manual-en && ${FIND} . | ${CPIO} --quiet -dump ${STAGEDIR}${DOCSDIR}/manual
.include <bsd.port.mk>
|