aboutsummaryrefslogblamecommitdiff
path: root/www/libnghttp3/Makefile
blob: ac215b145872a118e739dcf8e06050f1d70337e5 (plain) (tree)
1
2
3
4
                                                  

                       
                               

















                                                                        
                       





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

PORTNAME=	nghttp3
PORTVERSION=	0.1.0.g20210315
CATEGORIES=	www net
PKGNAMEPREFIX=	lib

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	HTTP/3 C Library

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		autoreconf compiler:c++17-lang libtool pathfix pkgconfig

CONFIGURE_ARGS=	--enable-lib-only
GNU_CONFIGURE=	yes
INSTALL_TARGET=	install-strip
USE_CXXSTD=	c++17
USE_LDCONFIG=	yes

GH_ACCOUNT=	ngtcp2
GH_TAGNAME=	66ad30f
USE_GITHUB=	yes

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

.include <bsd.port.mk>