1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/net/tcpshow/Makefile

34 lines
774 B
Makefile

# Created by: David O'Brien (obrien@NUXI.com)
# $FreeBSD$
PORTNAME= tcpshow
PORTVERSION= 1.74
PORTREVISION= 1
CATEGORIES= net security
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= obrien
# http://www.cs.berkeley.edu/~daw/mike/
# http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/tcpshow/
DISTFILES= tcpshow.c tcpshow.1
MAINTAINER= obrien@FreeBSD.org
COMMENT= Decode tcpdump(1) output
NO_WRKSUBDIR= yes
MAN1= tcpshow.1
NO_STAGE= yes
do-extract:
@${MKDIR} ${WRKDIR}
@${CP} ${DISTDIR}/tcpshow.c ${WRKDIR}
@${CP} ${DISTDIR}/tcpshow.1 ${WRKDIR}
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o tcpshow tcpshow.c)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcpshow ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/tcpshow.1 ${PREFIX}/man/man1
.include <bsd.port.mk>