blob: 9cefb13bcb9c7c9b199e567fcf5cfec8cb16555f (
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
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.20 2004/02/14 00:54:45 grant Exp $
# FreeBSD Id: Makefile,v 1.3 1997/07/19 19:43:36 fenner Exp
#
DISTNAME= tcptrace-6.4.2
CATEGORIES= net
MASTER_SITES= http://www.tcptrace.org/download/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.tcptrace.org/
COMMENT= TCP dump file analysis tool
GNU_CONFIGURE= yes
USE_BUILDLINK2= yes
ALL_TARGET= tcptrace
DOCFILES= COPYRIGHT FAQ README README.tput_graphs
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
LDFLAGS+= -lnsl -lsocket -lm
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcptrace ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/tcptrace.man ${PREFIX}/man/man1/tcptrace.1
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tcptrace
.for file in ${DOCFILES}
${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/tcptrace
.endfor
.include "../../archivers/bzip2/buildlink2.mk"
.include "../../net/libpcap/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|