ports/net/ngtcp2/Makefile

38 lines
941 B
Makefile
Raw Normal View History

2023-08-16 22:26:55 +00:00
COMMENT= implementation of the RFC 9000 QUIC protocol
2023-09-20 18:59:05 +00:00
V= 0.19.1
2023-08-16 22:26:55 +00:00
DISTNAME= ngtcp2-$V
2023-09-20 18:59:05 +00:00
SHARED_LIBS+= ngtcp2 3.0 # 15.1
SHARED_LIBS+= ngtcp2_crypto_quictls 0.0 # 1.0
2023-08-16 22:26:55 +00:00
CATEGORIES= net
HOMEPAGE= https://nghttp2.org/ngtcp2/
# MIT
PERMIT_PACKAGE= Yes
WANTLIB += crypto ssl
2023-09-27 17:15:09 +00:00
SITES= https://github.com/ngtcp2/ngtcp2/releases/download/v$V/
2023-08-16 22:26:55 +00:00
SEPARATE_BUILD= Yes
DEBUG_PACKAGES= ${BUILD_PACKAGES}
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --with-openssl
# Don't pull this in as BUILD_DEPENDS to reduce dependencies on
# the path to building curl->cmake.
pre-test:
@if ! [ -f ${LOCALBASE}/lib/libcunit.a ]; then echo; \
echo "====================================================="; \
echo "To run tests, install the cunit package and re-build."; \
echo "Dependency is not forced to avoid restricting arches."; \
echo "====================================================="; \
echo; exit 1; \
fi
.include <bsd.port.mk>