ports/net/libngtcp2/Makefile

28 lines
609 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= ngtcp2
PORTVERSION= 0.1.0.g20211219
CATEGORIES= net
PKGNAMEPREFIX= lib
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Implementation of QUIC protocol
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf compiler:c++17-lang libtool pathfix pkgconfig
CONFIGURE_ARGS= --enable-lib-only --with-jemalloc
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_CXXSTD= c++17
USE_LDCONFIG= yes
GH_TAGNAME= 20c710a
USE_GITHUB= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%PORTVERSION%%|${PORTVERSION}|' ${WRKSRC}/configure.ac
.include <bsd.port.mk>