blob: d1517dc231937ded603cec55931d441549544924 (
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
|
PORTNAME= smarty
PORTVERSION= 5.5.0
DISTVERSIONPREFIX= v
CATEGORIES= www
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PHP compiling template engine
WWW= https://www.smarty.net/ \
https://github.com/smarty-php/smarty
LICENSE= LGPL3+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe php:flavors,web
NO_ARCH= yes
NO_BUILD= yes
DATADIR= ${PREFIX}/share/smarty${PHP_PKGNAMESUFFIX}
SUB_FILES= pkg-message
USE_GITHUB= yes
GH_ACCOUNT= smarty-php
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC}/src && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>
|