ports/databases/php-memcache/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

34 lines
699 B
Makefile

# Created by: Gerrit Beine <tux@pinguru.net>
# $FreeBSD$
PORTNAME= memcache
PORTVERSION= 3.0.9
CATEGORIES= databases
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Memcached extension for PHP
LICENSE= PHP30
LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= EXAMPLES
PORTSCOUT= skipv:start
CONFIGURE_ARGS= --with-zlib-dir=/usr
IGNORE_WITH_PHP=56
USE_CSTD= gnu89
USE_PHP= session:build zlib:build
USES= dos2unix php:ext
GH_ACCOUNT= websupport-sk
GH_PROJECT= pecl-${PORTNAME}
GH_TAGNAME= e702b5f
USE_GITHUB= yes
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_DATA} ${WRKSRC}/example.php ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>