mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
9af6d3982f
Approved by: portmgr (blanket)
37 lines
899 B
Makefile
37 lines
899 B
Makefile
PORTNAME= mvfst
|
|
DISTVERSION= g20210701
|
|
PORTREVISION= 1
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Implementation of the QUIC transport protocol
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
|
|
libfizz.so:security/fizz \
|
|
libfmt.so:devel/libfmt \
|
|
libfolly.so:devel/folly \
|
|
libglog.so:devel/glog
|
|
|
|
USES= cmake compiler:c++17-lang cpe
|
|
CPE_VENDOR= facebook
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= facebookincubator
|
|
GH_TAGNAME= 5d78c63965239cf6cfacbdc33f7de9b6e1245a3a
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_ON= BUILD_SHARED_LIBS
|
|
CMAKE_OFF= BUILD_TESTS
|
|
|
|
CXXFLAGS+= -fPIC
|
|
|
|
do-test:
|
|
@cd ${BUILD_WRKSRC} && \
|
|
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTS:BOOL=ON ${CMAKE_SOURCE_PATH} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
|
|
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
|
|
|
|
.include <bsd.port.mk>
|