diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2014-01-14 14:22:55 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2014-01-14 14:22:55 +0000 |
commit | 115233d891650ac67604c5f0727122adf00cf1cc (patch) | |
tree | 2106a2124ea9efbd5901cf79c2f36b10f6c35937 /net | |
parent | Functional changes: (diff) |
- Convert to USES=tk
- STAGE-clean
- Fix build
MFH: 2014Q1
Notes
Notes:
svn path=/head/; revision=339688
Diffstat (limited to 'net')
-rw-r--r-- | net/tcpillust/Makefile | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/net/tcpillust/Makefile b/net/tcpillust/Makefile index ba2fa579d762..224fd932edc4 100644 --- a/net/tcpillust/Makefile +++ b/net/tcpillust/Makefile @@ -11,15 +11,13 @@ MASTER_SITES= http://www.jp.nishida.org/tcpillust/ 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 <bsd.port.mk> |