aboutsummaryrefslogtreecommitdiff
path: root/net/tcplog_dumper/Makefile
blob: 82cba2406275584a1f10fe571c411551421315c1 (plain) (blame)
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
PORTNAME=	tcplog_dumper
PORTVERSION=	0.1.1
DISTVERSIONPREFIX=	v
CATEGORIES=	net

MAINTAINER=	olivier@FreeBSD.org
COMMENT=	Dump data from the tcp_log device

LICENSE=	BSD2CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

ONLY_FOR_ARCHS=	aarch64 amd64 mips64 mips64el mips64elhf mips64hf powerpc64 powerpc64le riscv64 riscv64sf
ONLY_FOR_ARCHS_REASON=	only 64-bit platforms are supported

USE_GITHUB=	yes
GH_ACCOUNT=	Netflix

PLIST_FILES=	sbin/tcplog_dumper \
		man/man1/tcplog_dumper.1.gz

.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}/sbin
	${INSTALL_PROGRAM} ${WRKSRC}/tcplog_dumper ${STAGEDIR}${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/tcplog_dumper.1.gz ${STAGEDIR}${PREFIX}/man/man1

.include <bsd.port.mk>