aboutsummaryrefslogblamecommitdiff
path: root/net/libngtcp2/Makefile
blob: 550ce986398db82b36c973b934a0f1fc0a07285f (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                  

                      
                               



                                   
                                               





                                                                        
                                                 




                             
                       





                                                                                 
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>

PORTNAME=	ngtcp2
PORTVERSION=	0.1.0.g20210513
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=	d952464
USE_GITHUB=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|0.1.0-DEV|${PORTVERSION}|' ${WRKSRC}/configure.ac

.include <bsd.port.mk>