diff options
-rw-r--r-- | www/php-http3/DESCR | 7 | ||||
-rw-r--r-- | www/php-http3/Makefile | 46 | ||||
-rw-r--r-- | www/php-http3/distinfo | 6 |
3 files changed, 59 insertions, 0 deletions
diff --git a/www/php-http3/DESCR b/www/php-http3/DESCR new file mode 100644 index 00000000000..e514ae49421 --- /dev/null +++ b/www/php-http3/DESCR @@ -0,0 +1,7 @@ +This 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. diff --git a/www/php-http3/Makefile b/www/php-http3/Makefile new file mode 100644 index 00000000000..dbec6fbe7fa --- /dev/null +++ b/www/php-http3/Makefile @@ -0,0 +1,46 @@ +# $NetBSD: Makefile,v 1.1 2016/03/12 09:15:15 fhajny Exp $ + +MODNAME= http +PECL_VERSION= 3.0.1 +CATEGORIES+= www + +PECL_DISTNAME= pecl_http-${PECL_VERSION} + +MAINTAINER= filip@joyent.com +HOMEPAGE= http://pecl.php.net/package/pecl_http +COMMENT= PHP extension for extended HTTP support +LICENSE= 2-clause-bsd AND isc + +CONFLICTS= php-http-[0-9]* + +PHP_VERSIONS_ACCEPTED= 70 + +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes + +CONFIGURE_ARGS+= --with-http +CONFIGURE_ARGS+= --with-http-libcurl-dir=${BUILDLINK_PREFIX.curl} +CONFIGURE_ARGS+= --with-http-libevent-dir=${BUILDLINK_PREFIX.libevent} +CONFIGURE_ARGS+= --with-http-libidn-dir=${BUILDLINK_PREFIX.libidn} +CONFIGURE_ARGS+= --with-http-zlib-dir=${BUILDLINK_PREFIX.zlib} + +SUBST_CLASSES+= ini +SUBST_STAGE.ini= pre-patch +SUBST_MESSAGE.ini= Redirecting to temporary php.ini file +SUBST_FILES.ini= config9.m4 +SUBST_SED.ini= -e 's,PHP_EXECUTABLE -m,PHP_EXECUTABLE -c ${WRKDIR} -m,' + +post-extract: + (${ECHO} "[PHP]" ;\ + ${ECHO} "extension=propro.so" ; ${ECHO} "extension=raphf.so" \ + ) > ${WRKDIR}/php.ini + +.include "../../devel/libevent/buildlink3.mk" +.include "../../devel/libidn/buildlink3.mk" +.include "../../devel/php-raphf2/buildlink3.mk" +.include "../../devel/zlib/buildlink3.mk" +.include "../../sysutils/file/buildlink3.mk" +.include "../../www/curl/buildlink3.mk" +.include "../../www/php-propro2/buildlink3.mk" +.include "../../lang/php/ext.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/php-http3/distinfo b/www/php-http3/distinfo new file mode 100644 index 00000000000..05a73aa5db6 --- /dev/null +++ b/www/php-http3/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2016/03/12 09:15:15 fhajny Exp $ + +SHA1 (php-http/pecl_http-3.0.1.tgz) = 9d1015774dcd50ac7c7fa845062269fdbac4c719 +RMD160 (php-http/pecl_http-3.0.1.tgz) = 63ea318a0bb3858b894a675726de762d16a4941e +SHA512 (php-http/pecl_http-3.0.1.tgz) = 344ae45987269d9505ffed6059be378005298d89c5e39bda6f771d8bf5a1998e91c214c03d32b9c78329c95e4928d35d3659dd3a1c70071aa5b2bd2763852098 +Size (php-http/pecl_http-3.0.1.tgz) = 197372 bytes |