aboutsummaryrefslogtreecommitdiffstats
path: root/net/tcpsplit/Makefile
blob: f6df060f3a358e26989f280babb01369a4bb9fe0 (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
# 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

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>