Files
ports/www/php-http/Makefile
T
Muhammad Moinur Rahman 29813da665 www/{pecl|php}-http: Convert port
ext-http extension aims to provide a convenient and powerful set of
functionality for one of PHPs major applications. It eases handling of
HTTP URLs, dates, redirects, headers and messages, provides means for
negotiation of clients preferred language and charset, as well as a
convenient way to send any arbitrary data with caching and resuming
capabilities. It provides powerful request functionality too.

Please note that pecl infrastructure is being deprecated so create a
different port which is not dependent on pecl infrastructure.

This commit also removes pecl-http ports in lieu of this port.

WWW:		https://github.com/m6w6/ext-http
2026-07-12 19:24:45 +02:00

31 lines
746 B
Makefile

PORTNAME= http
DISTVERSION= 4.3.1
CATEGORIES= www
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Extended HTTP Support
WWW= https://github.com/m6w6/ext-http
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/php-raphf@${PHP_FLAVOR} \
re2c:devel/re2c \
bash>0:shells/bash
LIB_DEPENDS= libcurl.so:ftp/curl \
libevent.so:devel/libevent \
libicudata.so:devel/icu
RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/raphf.so:devel/php-raphf@${PHP_FLAVOR}
USES= php:ext
USE_GITHUB= yes
GH_ACCOUNT= m6w6
GH_PROJECT= ext-${PORTNAME}
USE_PHP= iconv:build zlib:build
IGNORE_WITH_PHP= 86
CONFIGURE_SHELL= ${LOCALBASE}/bin/bash
.include <bsd.port.mk>