pkgsrc/www/nghttp2/Makefile

32 lines
902 B
Makefile

# $NetBSD: Makefile,v 1.59 2020/01/18 21:48:30 jperkin Exp $
DISTNAME= nghttp2-1.40.0
PKGREVISION= 2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_GITHUB:=tatsuhiro-t/}
EXTRACT_SUFX= .tar.xz
GITHUB_RELEASE= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://nghttp2.org/
COMMENT= Implementation of HTTP/2 in C
LICENSE= mit
# Upstream documents that c++14 is required for C++ parts of the code;
# the base package does not use C++.
USE_LANGUAGES= c
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-examples
CONFIGURE_ARGS+= --disable-python-bindings
PKGCONFIG_OVERRIDE+= lib/libnghttp2.pc.in
PKGCONFIG_OVERRIDE+= src/libnghttp2_asio.pc.in
REPLACE_PYTHON+= script/fetch-ocsp-response
.include "options.mk"
.include "../../lang/python/application.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"