blob: cd1fb767e02270df00daebb4a5199de9f294f039 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
PORTNAME= read_bbrlog
PORTVERSION= 0.1.2
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
MAKE_ENV+= WITHOUT_PIE=true
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1400003
IGNORE= builds only on FreeBSD head with minimum version 1400003
.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>
|