29 lines
647 B
Makefile
29 lines
647 B
Makefile
# Created by: David O'Brien (obrien@NUXI.com)
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tcpshow
|
|
PORTVERSION= 1.74
|
|
PORTREVISION= 1
|
|
CATEGORIES= net security
|
|
MASTER_SITES= LOCAL
|
|
MASTER_SITE_SUBDIR= obrien
|
|
DISTFILES= tcpshow.c tcpshow.1
|
|
|
|
MAINTAINER= obrien@FreeBSD.org
|
|
COMMENT= Decode tcpdump(1) output
|
|
|
|
NO_WRKSUBDIR= 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 ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/tcpshow.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|