1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/www/smarty/Makefile
2024-03-09 22:05:34 +08:00

30 lines
565 B
Makefile

PORTNAME= smarty
DISTVERSIONPREFIX= v
PORTVERSION= 4.4.1
CATEGORIES= www
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PHP compiling template engine
WWW= https://www.smarty.net/
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}/libs && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
.include <bsd.port.mk>