aboutsummaryrefslogtreecommitdiff
path: root/net/tcpshow/Makefile
blob: 7ddce51f1bbcb730288fbeaa2085d0e787ad095f (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
PORTNAME=	tcpshow
PORTVERSION=	1.74
PORTREVISION=	2
CATEGORIES=	net security
MASTER_SITES=	LOCAL/obrien
DISTFILES=	tcpshow.c tcpshow.1

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Decode tcpdump(1) output

NO_WRKSUBDIR=	yes

do-extract:
	@${MKDIR} ${WRKSRC}
	@${CP} ${DISTDIR}/tcpshow.c ${WRKSRC}
	@${CP} ${DISTDIR}/tcpshow.1 ${WRKSRC}

do-build:
	(cd ${WRKSRC} && ${CC} ${CFLAGS} -o tcpshow tcpshow.c)

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/tcpshow ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/tcpshow.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>