2003-03-23 16:34:30 +01:00
|
|
|
# New ports collection makefile for: tcpview
|
2001-03-07 13:40:08 +01:00
|
|
|
# Date created: 18 Aug 2000
|
|
|
|
# Whom: Chung-Kie Tung <tung@turtle.ee.ncku.edu.tw>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tcpview
|
|
|
|
PORTVERSION= 1.0
|
2007-10-17 12:13:01 +02:00
|
|
|
PORTREVISION= 5
|
2001-03-07 13:40:08 +01:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://ftp.cac.washington.edu/pub/noc-tools/tcpview/
|
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
2010-06-13 17:28:43 +02:00
|
|
|
MAINTAINER= cy@FreeBSD.org
|
2003-02-20 20:00:52 +01:00
|
|
|
COMMENT= A Motif-based TCP/IP protocol analyzer
|
2001-03-07 13:40:08 +01:00
|
|
|
|
2007-10-17 12:13:01 +02:00
|
|
|
USE_BISON= build
|
2001-03-07 13:40:08 +01:00
|
|
|
USE_MOTIF= yes
|
2003-02-18 18:57:17 +01:00
|
|
|
|
2001-03-07 13:40:08 +01:00
|
|
|
MAN1= tcpview.1
|
|
|
|
|
2009-05-29 17:42:35 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
2009-07-26 14:16:23 +02:00
|
|
|
|
2003-02-18 18:57:17 +01:00
|
|
|
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
|
2009-05-29 17:42:35 +02:00
|
|
|
.if ${OSVERSION} >= 800000
|
|
|
|
@${REINPLACE_CMD} -e "s|-DCSLIP|-UCSLIP|" \
|
|
|
|
${WRKSRC}/Makefile
|
|
|
|
.endif
|
2003-03-23 16:34:30 +01:00
|
|
|
|
2001-03-07 13:40:08 +01:00
|
|
|
post-install:
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- 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)
2008-04-19 19:56:05 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/DOC/Tcpview ${LOCALBASE}/lib/X11/app-defaults/
|
2001-03-07 13:40:08 +01:00
|
|
|
|
2009-05-29 17:42:35 +02:00
|
|
|
.include <bsd.port.post.mk>
|