Update to rely on USE_TCL API, instead of hardcoding 8.4.

Bump PORTREVISION, because 8.5 is now the default. This became
a problem after recent update of x11-toolkits/blt, on which ttt
depends.

Notified by:	pav

Clean up pkg-descr a little.
This commit is contained in:
Mikhail Teterin 2010-01-23 23:25:37 +00:00
parent ca27462913
commit 796f71e598
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248438
2 changed files with 13 additions and 11 deletions

View file

@ -7,21 +7,24 @@
PORTNAME= ttt
PORTVERSION= 1.8.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= net tk ipv6
MASTER_SITES= ftp://ftp.csl.sony.co.jp/pub/kjc/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tele Traffic Tapper, a network traffic monitoring tool
LIB_DEPENDS= BLT24.3:${PORTSDIR}/x11-toolkits/blt
LIB_DEPENDS= BLT24:${PORTSDIR}/x11-toolkits/blt
USE_TK= 84+
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl8.4 \
--with-tk=${LOCALBASE}/lib/tk8.4
CONFIGURE_ARGS= --with-tcl=${LOCALBASE}/lib/tcl${TCL_VER} \
--with-tk=${LOCALBASE}/lib/tk${TK_VER}
INSTALL_TARGET= install install-man
MAN1= ttt.1 tttprobe.1 tttview.1
.include <bsd.port.pre.mk>
post-configure:
${REINPLACE_CMD} 's|^CFLAGS *=.*|CFLAGS=${CFLAGS}|' \
${WRKSRC}/Makefile
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,9 +1,6 @@
TTT: Tele Traffic Tapper
TTT: Tele Traffic Tapper (version 1.6)
2000/12/21
ttt is yet another decendant of tcpdump but it is capable of real-time,
ttt is yet another descendant of tcpdump but it is capable of real-time,
graphical, and remote traffic-monitoring. ttt won't replace tcpdump,
rather, it helps you find out what to look into with tcpdump.
@ -14,3 +11,5 @@ Features:
- IPv6 Aware: (experimental)
- Portable
- Easy to customize
WWW: http://www.sonycsl.co.jp/~kjc/software.html#ttt