blob: 1869e20cc6b3601d4d180d71dad37f214a0aca78 (
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
|
PORTNAME= smarty
PORTVERSION= 2.6.32
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= http://www.smarty.net/files/docs/:manual
DISTFILES= manual-en-${PORTVERSION:R}.zip:manual
PKGNAMESUFFIX= 2${PHP_PKGNAMESUFFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= PHP compiling template engine
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/COPYING.lib
OPTIONS_DEFINE= DOCS
NO_ARCH= yes
NO_BUILD= yes
USES= cpe php:web,flavors
USE_PHP= pcre
SUB_FILES= pkg-message
USE_GITHUB= yes
GH_ACCOUNT= smarty-php
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}/libs && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
do-install-DOCS-on:
@${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>
|