aboutsummaryrefslogtreecommitdiffstats
path: root/net/tcpsplit/Makefile
blob: b67475f5e40fce61cd5bb2807f6958682f6c3d57 (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
# 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= ports@FreeBSD.org
COMMENT=    Breaks a libpcap trace along TCP connection boundaries

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/COPYRIGHT

PLIST_FILES=    bin/tcpsplit
PORTDOCS=   README

OPTIONS_DEFINE= DOCS

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

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/tcpsplit ${STAGEDIR}${PREFIX}/bin

do-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>