summaryrefslogtreecommitdiffstats
path: root/net/tcpsplit/Makefile
blob: ab2bb9c2339d39709cc566072c29784b24714c83 (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
# Created by: Lars Eggert <lars@eggert.org>
# $FreeBSD$

PORTNAME=	tcpsplit
PORTVERSION=	0.2
CATEGORIES=	net
MASTER_SITES=	http://www.icir.org/mallman/software/tcpsplit/

MAINTAINER=	lars@eggert.org
COMMENT=	Breaks a libpcap trace along TCP connection boundaries

LICENSE=	MIT

PLIST_FILES=	bin/tcpsplit
PORTDOCS=	README

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -E '/^(CC|CFLAGS|INC|LD)/d' ${WRKSRC}/Makefile

.include <bsd.port.options.mk>

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/tcpsplit ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud