mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
90f8caf765
libhpack implements HPACK (Header Compression for HTTP/2.0), a format adapted to efficiently represent HTTP header fields in the context of the upcoming HTTP/2.0 protocol. WWW: https://github.com/alobbs/libhpack
33 lines
752 B
Makefile
33 lines
752 B
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= libhpack
|
|
PORTVERSION= 0.0.20140206
|
|
CATEGORIES= www
|
|
MASTER_SITES= LOCAL/sunpoet
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Implementation of HPACK (Header compression for HTTP/2.0)
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
LIB_DEPENDS= libcheck.so:${PORTSDIR}/devel/libcheck
|
|
|
|
CMAKE_ARGS= -DBUILD_DOCS=OFF \
|
|
-DBUILD_TESTS=OFF \
|
|
-DENABLE_GCOV=OFF \
|
|
-DUSE_VALGRIND=OFF
|
|
USE_LDCONFIG= yes
|
|
USE_PYTHON_BUILD= 2
|
|
USE_XZ= yes
|
|
USES= cmake pkgconfig shebangfix
|
|
|
|
SHEBANG_FILES= gen-config.py
|
|
python_OLD_CMD= ${SETENV} python
|
|
python_CMD= ${PYTHON_CMD}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|STATIC|SHARED|' ${WRKSRC}/libchula/CMakeLists.txt ${WRKSRC}/libhpack/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|