30 lines
625 B
Makefile
30 lines
625 B
Makefile
# $OpenBSD: Makefile,v 1.25 2013/03/11 11:35:57 espie Exp $
|
|
|
|
COMMENT= decode tcpdump(1) output
|
|
|
|
DISTNAME= tcpshow-1.74
|
|
CATEGORIES= net security
|
|
|
|
MASTER_SITES= ${MASTER_SITE_FREEBSD_LOCAL:=obrien/}
|
|
DISTFILES= tcpshow.c tcpshow.1
|
|
|
|
EXTRACT_CASES= *)cp ${FULLDISTDIR}/$$archive ${WRKDIST};;
|
|
|
|
PERMIT_PACKAGE_CDROM= no fee
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
WANTLIB= c
|
|
|
|
WRKDIST= ${WRKDIR}
|
|
|
|
do-build:
|
|
cd ${WRKSRC}; ${CC} ${CFLAGS} -DNOETHERNAMES -o tcpshow tcpshow.c
|
|
|
|
USE_GROFF = Yes
|
|
NO_TEST= Yes
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tcpshow ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/tcpshow.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|