From 5a00ec87d2d48d307832589bccfa11aa0bafcda1 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Mon, 24 Feb 2014 10:36:05 +0000 Subject: - Add HPACK option --- www/nghttp2/Makefile | 6 ++++++ www/nghttp2/pkg-plist | 2 ++ 2 files changed, 8 insertions(+) (limited to 'www') diff --git a/www/nghttp2/Makefile b/www/nghttp2/Makefile index 4712de06379..9bcc48a3133 100644 --- a/www/nghttp2/Makefile +++ b/www/nghttp2/Makefile @@ -14,6 +14,9 @@ LICENSE= MIT LIB_DEPENDS= libevent_openssl.so:${PORTSDIR}/devel/libevent2 \ libspdylay.so:${PORTSDIR}/www/spdylay +OPTIONS_DEFINE= HPACK +OPTIONS_SUB= yes + CONFIGURE_ARGS= --disable-python-bindings \ --enable-app \ --enable-examples @@ -31,6 +34,9 @@ USES= compiler:c++11-lang pathfix pkgconfig PORTDOCS= * +HPACK_CONFIGURE_ARGS= --enable-hpack-tools +HPACK_LIB_DEPENDS= libjansson.so:${PORTSDIR}/devel/jansson + .include .if ${OSVERSION} < 1000000 && !defined(WITH_OPENSSL_PORT) diff --git a/www/nghttp2/pkg-plist b/www/nghttp2/pkg-plist index 2b293642eed..2b89c6531ee 100644 --- a/www/nghttp2/pkg-plist +++ b/www/nghttp2/pkg-plist @@ -1,3 +1,5 @@ +%%HPACK%%bin/deflatehd +%%HPACK%%bin/inflatehd bin/nghttp bin/nghttpd bin/nghttpx -- cgit