Date: Sat, 17 Mar 2007 04:08:10 +0100 (CET) From: Martin Tournoij <carpetsmoker@xs4all.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/110421: [PATCH] net/tcpillust - Update to TCL/TK 8.4 Message-ID: <20070317030810.C4334B835@glitch.carpetsmoker.net> Resent-Message-ID: <200703170430.l2H4U3Xi067135@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 110421 >Category: ports >Synopsis: [PATCH] net/tcpillust - Update to TCL/TK 8.4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Mar 17 04:30:03 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Martin Tournoij >Release: FreeBSD 6.2-RELEASE-p1 i386 >Organization: >Environment: FreeBSD glitch.carpetsmoker.net 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #0: Thu Feb 15 20:56:16 CET 2007 carpetsmoker@glitch.carpetsmoker.net:/usr/obj/nfs/tinderbox/jails/6.2/src/sys/GENERICri386 >Description: - Use TCL/TK 8.4 - Use PLIST_FILES >How-To-Repeat: >Fix: --- patch-tcpillust begins here --- diff -urN tcpillust.orig/Makefile tcpillust/Makefile --- tcpillust.orig/Makefile Fri Feb 21 14:15:03 2003 +++ Makefile Sat Mar 17 02:37:00 2007 @@ -7,36 +7,46 @@ PORTNAME= tcpillust PORTVERSION= 1.0a -CATEGORIES= net tk82 tcl82 +PORTREVISION= 1 +CATEGORIES= net tk84 tcl84 MASTER_SITES= ftp://ftp.csl.sony.co.jp/CSL/nishida/ MAINTAINER= nishida@csl.sony.co.jp COMMENT= A graphical TCP connection analysis tool -LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82 \ - tcl82.1:${PORTSDIR}/lang/tcl82 - -USE_IMAKE= yes -GNU_CONFIGURE= yes -CONFIGURE_ARGS= +USE_TCL= yes +USE_TK= yes +USE_TK_BUILD= yes +USE_XLIB= yes USE_MOTIF= yes -MAN1= tcpillust.1 - -DOCS= README - -SAMPLES= tcpclient.log tcpserver.log - -post-install: +MAN1= tcpillust.1 +PORTDOCS= README FAQ tcpclient.log tcpserver.log +PLIST_DIRS= share/tcpillust +PLIST_FILES= bin/tcpillust \ + share/tcpillust/tcpillust.tcl \ + share/tcpillust/back.xbm \ + share/tcpillust/forward.xbm \ + share/tcpillust/zoomin.xbm \ + share/tcpillust/zoomout.xbm + +do-build: +.for file in binread.c button.c draw.c parser.c tcpillust.c + ${CC} ${CFLAGS} -I${LOCALBASE}/include/ -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} \ + -I${X11BASE}/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 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/tcpillust ${PREFIX}/bin + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/tcpillust.tcl ${DATADIR}/ + ${INSTALL_DATA} ${WRKSRC}/*.xbm ${DATADIR}/ + ${INSTALL_MAN} ${WRKSRC}/tcpillust.man ${PREFIX}/man/man1/tcpillust.1 .if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/tcpillust - for i in $(DOCS); do \ - ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/tcpillust; \ - done - ${MKDIR} ${PREFIX}/share/doc/tcpillust/sample - for i in $(SAMPLES); do \ - ${INSTALL_DATA} ${WRKSRC}/sample/$$i ${PREFIX}/share/doc/tcpillust/sample; \ - done + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/FAQ ${WRKSRC}/sample/* ${DOCSDIR} .endif .include <bsd.port.mk> diff -urN tcpillust.orig/pkg-descr tcpillust/pkg-descr --- tcpillust.orig/pkg-descr Sat Jul 29 08:26:00 2000 +++ pkg-descr Sat Mar 17 02:37:00 2007 @@ -2,3 +2,5 @@ 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 diff -urN tcpillust.orig/pkg-plist tcpillust/pkg-plist --- tcpillust.orig/pkg-plist Sat Jul 29 08:26:00 2000 +++ pkg-plist Thu Jan 1 01:00:00 1970 @@ -1,12 +0,0 @@ -bin/tcpillust -lib/X11/tcpillust/tcpillust.tcl -lib/X11/tcpillust/back.xbm -lib/X11/tcpillust/forward.xbm -lib/X11/tcpillust/zoomin.xbm -lib/X11/tcpillust/zoomout.xbm -share/doc/tcpillust/sample/tcpclient.log -share/doc/tcpillust/sample/tcpserver.log -share/doc/tcpillust/README -@dirrm lib/X11/tcpillust -@dirrm share/doc/tcpillust/sample -@dirrm share/doc/tcpillust --- patch-tcpillust ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070317030810.C4334B835>