1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/net/read_bbrlog/Makefile
Olivier Cochard c58f43938c New port: net/read_bbrlog
Decode BBR log dumps generated with tcplog_dumper.

Sponsored by:	Netflix
2020-08-03 20:40:06 +00:00

39 lines
840 B
Makefile

# $FreeBSD$
PORTNAME= read_bbrlog
PORTVERSION= 0.1.1
DISTVERSIONPREFIX= v
CATEGORIES= net
MAINTAINER= olivier@FreeBSD.org
COMMENT= Decode BBR log dumps generated with tcplog_dumper
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64
BUILD_DEPENDS= ${PREFIX}/include/bbparse.h:devel/bbparse
USE_GITHUB= yes
GH_ACCOUNT= Netflix
PLIST_FILES= bin/read_bbrlog \
man/man1/read_bbrlog.1.gz
CFLAGS+= -I${PREFIX}/include
LDFLAGS+= -L${PREFIX}/lib
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1300076
IGNORE= builds only on FreeBSD 13-head with minimum revision 356414
.endif
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/read_bbrlog ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/read_bbrlog.1.gz ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>