2020-01-29 20:13:28 +01:00
|
|
|
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
|
|
|
|
|
|
PORTNAME= ngtcp2
|
2021-05-02 00:14:19 +02:00
|
|
|
PORTVERSION= 0.1.0.g20210421
|
2020-01-29 20:13:28 +01:00
|
|
|
CATEGORIES= net
|
|
|
|
PKGNAMEPREFIX= lib
|
|
|
|
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
2021-04-25 22:12:45 +02:00
|
|
|
COMMENT= Implementation of QUIC protocol
|
2020-01-29 20:13:28 +01:00
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
|
|
|
USES= autoreconf compiler:c++17-lang libtool pathfix pkgconfig
|
|
|
|
|
2021-03-07 23:11:44 +01:00
|
|
|
CONFIGURE_ARGS= --enable-lib-only --with-jemalloc
|
2020-01-29 20:13:28 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
USE_CXXSTD= c++17
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2021-05-02 00:14:19 +02:00
|
|
|
GH_TAGNAME= f183441
|
2020-01-29 20:13:28 +01:00
|
|
|
USE_GITHUB= yes
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|0.1.0-DEV|${PORTVERSION}|' ${WRKSRC}/configure.ac
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|