1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/net/tcpview/Makefile
Yen-Ming Lee a517a02469 enable MAKE_ARGS and unbreak tcpview
Noticed by:	bento and kris@
2003-02-22 14:19:10 +00:00

38 lines
891 B
Makefile

# New ports collection makefile for: tcpview-1.0
# Date created: 18 Aug 2000
# Whom: Chung-Kie Tung <tung@turtle.ee.ncku.edu.tw>
#
# $FreeBSD$
#
PORTNAME= tcpview
PORTVERSION= 1.0
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= yes
USE_MOTIF= yes
USE_REINPLACE= yes
MAKE_ARGS= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_MAN="${INSTALL_MAN}" \
INSTALL_DATA="${INSTALL_DATA}" \
PREFIX="${PREFIX}" \
X11BASE="${X11BASE}"
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:
${CP} ${WRKSRC}/DOC/Tcpview ${X11BASE}/lib/X11/app-defaults/
.include <bsd.port.mk>