33 lines
801 B
Makefile
33 lines
801 B
Makefile
# Ports collection makefile for: tcpshow
|
|
# Version required: 1.0
|
|
# Date created: 17 Jul 1998
|
|
# Whom: Oleg Safiullin <form@vs.itam.nsc.ru>
|
|
#
|
|
# $OpenBSD: Makefile,v 1.2 1998/07/20 04:50:00 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.cs.berkeley.edu/~daw/mike/
|
|
DISTFILES= tcpshow.c tcpshow.1
|
|
|
|
MAINTAINER= form@vs.itam.nsc.ru
|
|
|
|
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} -o tcpshow tcpshow.c)
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tcpshow ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/tcpshow.1 ${PREFIX}/man/man1
|
|
|
|
.include <bsd.port.mk>
|