3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
31 lines
732 B
Makefile
31 lines
732 B
Makefile
# New ports collection makefile for: tcpview
|
|
# Date created: 18 Aug 2000
|
|
# Whom: Chung-Kie Tung <tung@turtle.ee.ncku.edu.tw>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tcpview
|
|
PORTVERSION= 1.0
|
|
PORTREVISION= 5
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.cac.washington.edu/pub/noc-tools/tcpview/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= A Motif-based TCP/IP protocol analyzer
|
|
|
|
USE_BISON= build
|
|
USE_MOTIF= yes
|
|
|
|
MAN1= tcpview.1
|
|
|
|
post-patch:
|
|
.for f in nametoaddr.c addrtoname.c print-nfs.c detail-tcp.c tv_addrtoname.c
|
|
@${REINPLACE_CMD} -e 's/NTOHL/ntohl/ ; s/NTOHS/ntohs/' ${WRKSRC}/${f}
|
|
.endfor
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/DOC/Tcpview ${LOCALBASE}/lib/X11/app-defaults/
|
|
|
|
.include <bsd.port.mk>
|