- Update to 2.01a

Submitted by:	Yoshifumi Nishida <nishida@sfc.wide.ad.jp> (maintainer)
This commit is contained in:
Pav Lucistnik 2008-06-21 19:50:59 +00:00
parent cc5923723b
commit b5e4009b97
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215485
3 changed files with 14 additions and 13 deletions

View file

@ -1,17 +1,16 @@
# New ports collection makefile for: tcpillust
# Date created: 14 April 2000
# Whom: nishida@csl.sony.co.jp
# Whom: nishida@sfc.wide.ad.jp
#
# $FreeBSD$
#
PORTNAME= tcpillust
PORTVERSION= 1.0a
PORTREVISION= 3
PORTVERSION= 2.01a
CATEGORIES= net tcl tk
MASTER_SITES= ftp://ftp.csl.sony.co.jp/CSL/nishida/
MASTER_SITES= http://www.jp.nishida.org/tcpillust/
MAINTAINER= nishida@csl.sony.co.jp
MAINTAINER= nishida@sfc.wide.ad.jp
COMMENT= A graphical TCP connection analysis tool
USE_TCL= yes
@ -20,7 +19,7 @@ USE_XORG= xt
USE_MOTIF= yes
MAN1= tcpillust.1
PORTDOCS= README FAQ tcpclient.log tcpserver.log
PORTDOCS= tcpclient.log tcpserver.log
PLIST_DIRS= share/tcpillust
PLIST_FILES= bin/tcpillust \
share/tcpillust/tcpillust.tcl \
@ -29,13 +28,15 @@ PLIST_FILES= bin/tcpillust \
share/tcpillust/zoomin.xbm \
share/tcpillust/zoomout.xbm
WRKSRC= ${WRKDIR}/${PORTNAME}
do-build:
.for file in binread.c button.c draw.c parser.c tcpillust.c
.for file in binread.c button.c draw.c parser.c tcpillust.c tcpdump/print-tcp.c
${CC} ${CFLAGS} -I${LOCALBASE}/include/ -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} \
-I${LOCALBASE}/include -DILTDIR=\"${DATADIR}\" -c ${WRKSRC}/${file} -o ${WRKSRC}/${file:S/.c/.o/}
.endfor
${CC} ${CFLAGS} -L${TCL_LIBDIR} -L${TK_LIBDIR} -L${LOCALBASE}/lib \
-lm -lpcap -ltcl${TCL_VER:S/.//} -ltk${TK_VER:S/.//} ${WRKSRC}/*.o -o ${WRKSRC}/tcpillust
-lm -ltcl${TCL_VER:S/.//} -ltk${TK_VER:S/.//} ${WRKSRC}/*.o ${WRKSRC}/tcpdump/*.o -o ${WRKSRC}/tcpillust -lpcap
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcpillust ${PREFIX}/bin
@ -45,7 +46,7 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/tcpillust.man ${PREFIX}/man/man1/tcpillust.1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/FAQ ${WRKSRC}/sample/* ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/sample/* ${DOCSDIR}
.endif
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
MD5 (tcpillust-1.0a.tar.gz) = 9c5cfc176a28fe83e0c647230ca497ec
SHA256 (tcpillust-1.0a.tar.gz) = aa7c79196e19ff03bdce0eb1cdbe8d0aad4d42ea46b780f41940b636d860bfde
SIZE (tcpillust-1.0a.tar.gz) = 45364
MD5 (tcpillust-2.01a.tar.gz) = 316da48755e6fdac5c2652d54964e935
SHA256 (tcpillust-2.01a.tar.gz) = c8124986317971dbe0c5e15d4c4c61a58d9645a7bed84f17e5fb54961673e433
SIZE (tcpillust-2.01a.tar.gz) = 101794

View file

@ -3,4 +3,4 @@ Tcpillust - A graphical TCP connection analysis tool
Tcpillust takes tcpdump file(s) specified on the command line and draw
pictures like figures in the ``TCP/IP Illustrated'' series.
WWW: http://www.csl.sony.co.jp/person/nishida/tcpillust.html
WWW: http://www.jp.nishida.org/tcpillust/index.html