freebsd-ports/www/smarty3/Makefile
Mathieu Arnold a1993564e0 Introduce PHP flavors.
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
  flavored.  They will automatically get flavors (php56, php70, php71, php72)
  depending of the versions they support (set with IGNORE_WITH_PHP).  As a
  consequence, ports using USES=pear and USES=horde are also flavored.

PR:		226242
Submitted by:	mat
Exp-run by:	antoine
Approved by:	portmgr
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D14208
2018-03-08 19:48:41 +00:00

31 lines
593 B
Makefile

# Created by: Michael Fausten <ports@michael-fausten.de>
# $FreeBSD$
PORTNAME= smarty
DISTVERSIONPREFIX= v
DISTVERSION= 3.1.30
CATEGORIES= www
PKGNAMESUFFIX= 3${PHP_PKGNAMESUFFIX}
MAINTAINER= ports@michael-fausten.de
COMMENT= PHP compiling template engine
LICENSE= LGPL3
USES= 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>