forked from Lainports/freebsd-ports
file, so the order remains the same. Every PHP (or Zend) extension now installs its own .ini file in /usr/local/etc/php. A PHP extension will be automatically activated when installed. The order into which extensions are loaded is automatically guessed. In some very rare cases, the guess will be wrong, and PHP_MOD_PRIO will need to be set. Refer to the USES=php section of the Porter's Handbook for more information. Convert ports touching etc/php/extensions.ini manually, or telling the OP to do it. And finally, bump PORTREVISION for all php extensions. PR: 210697 Submitted by: mat Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D7022
32 lines
675 B
Makefile
32 lines
675 B
Makefile
# Created by: Gerrit Beine <tux@pinguru.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= memcache
|
|
PORTVERSION= 3.0.8
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://pecl.php.net/get/
|
|
PKGNAMEPREFIX= pecl-
|
|
DIST_SUBDIR= PECL
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Memcached extension
|
|
|
|
LICENSE= PHP30
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BROKEN_powerpc64= does not build
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
CONFIGURE_ARGS= --with-zlib-dir=/usr
|
|
IGNORE_WITH_PHP=70
|
|
USE_CSTD= gnu89
|
|
USE_PHP= zlib:build session:build
|
|
USES= dos2unix php:ext tar:tgz
|
|
|
|
post-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
|
|
${INSTALL_DATA} ${WRKSRC}/example.php ${STAGEDIR}${EXAMPLESDIR}/
|
|
|
|
.include <bsd.port.mk>
|