openbsd-ports/net/tcpshow/Makefile

35 lines
847 B
Makefile

# Ports collection makefile for: tcpshow
# Version required: 1.0
# Date created: 17 Jul 1998
# Whom: Oleg Safiullin <form@OpenBSD.ORG>
#
# $OpenBSD: Makefile,v 1.4 1998/10/20 08:39:47 form Exp $
# FreeBSD: Makefile,v 1.2 1997/11/10 11:33:04 asami Exp
#
DISTNAME= tcpshow-1.74
CATEGORIES= net security
MASTER_SITES= http://www.freebsd.org/~obrien/ \
http://www.cs.berkeley.edu/~daw/mike/
DISTFILES= tcpshow.c tcpshow.1
MAINTAINER= form@OpenBSD.ORG
NO_WRKSUBDIR= yes
MAN1= tcpshow.1
do-extract:
@${MKDIR} ${WRKDIR}
@${CP} ${DISTDIR}/tcpshow.c ${WRKDIR}
@${CP} ${DISTDIR}/tcpshow.1 ${WRKDIR}
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -DNOETHERNAMES -o tcpshow tcpshow.c)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tcpshow ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/tcpshow.1 ${PREFIX}/man/man1
.include <bsd.port.mk>