freebsd-ports/www/smarty3/Makefile
Bernhard Froehlich cb617f0554
www/smarty3: Add CPE information
Approved by:	portmgr (blanket)
2021-09-25 20:29:02 +00:00

31 lines
619 B
Makefile

# Created by: Michael Fausten <ports@michael-fausten.de>
PORTNAME= smarty
DISTVERSIONPREFIX= v
DISTVERSION= 3.1.34
CATEGORIES= www
PKGNAMESUFFIX= 3${PHP_PKGNAMESUFFIX}
MAINTAINER= ports@michael-fausten.de
COMMENT= PHP compiling template engine
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cpe php:web,flavors
USE_PHP= pcre
USE_GITHUB= yes
GH_ACCOUNT= smarty-php
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
DATADIR= ${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${WRKSRC}/libs && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>