mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
c58f43938c
Decode BBR log dumps generated with tcplog_dumper. Sponsored by: Netflix
39 lines
840 B
Makefile
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>
|