From owner-svn-ports-all@FreeBSD.ORG Tue Jan 14 16:36:56 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 339574D4; Tue, 14 Jan 2014 16:36:56 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0585E1779; Tue, 14 Jan 2014 16:36:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0EGatdi046289; Tue, 14 Jan 2014 16:36:55 GMT (envelope-from gahr@svn.freebsd.org) Received: (from gahr@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0EGat4j046288; Tue, 14 Jan 2014 16:36:55 GMT (envelope-from gahr@svn.freebsd.org) Message-Id: <201401141636.s0EGat4j046288@svn.freebsd.org> From: Pietro Cerutti Date: Tue, 14 Jan 2014 16:36:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r339699 - branches/2014Q1/net/tcpillust X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jan 2014 16:36:56 -0000 Author: gahr Date: Tue Jan 14 16:36:55 2014 New Revision: 339699 URL: http://svnweb.freebsd.org/changeset/ports/339699 QAT: https://qat.redports.org/buildarchive/r339699/ Log: MFH: r339688 - Convert to USES=tk - STAGE-clean - Fix build Approved by: portmgr Modified: branches/2014Q1/net/tcpillust/Makefile Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/net/tcpillust/Makefile ============================================================================== --- branches/2014Q1/net/tcpillust/Makefile Tue Jan 14 16:27:08 2014 (r339698) +++ branches/2014Q1/net/tcpillust/Makefile Tue Jan 14 16:36:55 2014 (r339699) @@ -11,15 +11,13 @@ MASTER_SITES= http://www.jp.nishida.org/ MAINTAINER= nishida@sfc.wide.ad.jp COMMENT= Graphical TCP connection analysis tool -USES= motif -USE_TCL= yes -USE_TK= yes +USES= motif tk USE_XORG= xt -MAN1= tcpillust.1 PORTDOCS= tcpclient.log tcpserver.log PLIST_DIRS= share/tcpillust PLIST_FILES= bin/tcpillust \ + man/man1/tcpillust.1.gz \ share/tcpillust/tcpillust.tcl \ share/tcpillust/back.xbm \ share/tcpillust/forward.xbm \ @@ -28,24 +26,21 @@ PLIST_FILES= bin/tcpillust \ WRKSRC= ${WRKDIR}/${PORTNAME} -NO_STAGE= yes do-build: .for file in binread.c button.c draw.c parser.c tcpillust.c tcpdump/print-tcp.c - ${CC} ${CFLAGS} -I/usr/include -I/usr/include/pcap -I${LOCALBASE}/include/ -I${TCL_INCLUDEDIR} -I${TK_INCLUDEDIR} \ + ${CC} ${CFLAGS} -DHAVE_BPF_DUMP -I/usr/include -I/usr/include/pcap -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/lib -L/usr/lib -L${TCL_LIBDIR} -L${TK_LIBDIR} -L${LOCALBASE}/lib \ -lm -ltcl${TCL_VER:S/.//} -ltk${TK_VER:S/.//} ${WRKSRC}/*.o ${WRKSRC}/tcpdump/*.o -o ${WRKSRC}/tcpillust -lpcap -lX11 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} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/sample/* ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/tcpillust ${STAGEDIR}${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/tcpillust.tcl ${STAGEDIR}${DATADIR}/ + ${INSTALL_DATA} ${WRKSRC}/*.xbm ${STAGEDIR}${DATADIR}/ + ${INSTALL_MAN} ${WRKSRC}/tcpillust.man ${STAGEDIR}${PREFIX}/man/man1/tcpillust.1 + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/sample/* ${STAGEDIR}${DOCSDIR} .include