5cad147b16
- While here, minor cleanup for net/tcpsplit PR: 206406, 206407 Approved by: lars@eggert.org (private email)
30 lines
680 B
Makefile
30 lines
680 B
Makefile
# 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>
|