aef5a66670
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
31 lines
835 B
Makefile
31 lines
835 B
Makefile
# Created by: Wen Heping <wenheping@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= http
|
|
PORTVERSION= 2.5.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://pecl.php.net/get/
|
|
PKGNAMEPREFIX= pecl-
|
|
PKGNAMESUFFIX= 2
|
|
DISTNAME= pecl_${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= Extended HTTP Support
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/pecl-raphf \
|
|
${LOCALBASE}/lib/php/${PHP_EXT_DIR}/propro.so:devel/pecl-propro \
|
|
re2c:devel/re2c
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/pecl-raphf \
|
|
${LOCALBASE}/lib/php/${PHP_EXT_DIR}/propro.so:devel/pecl-propro
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
libevent.so:devel/libevent2
|
|
|
|
IGNORE_WITH_PHP=70
|
|
USES= php:ext tar:tgz
|
|
CONFLICTS= pecl-http1* pecl-http-*
|
|
|
|
.include <bsd.port.mk>
|