aboutsummaryrefslogtreecommitdiffstats
path: root/net/tcpshow/Makefile
blob: 1540602205e84823f69d6341844a37a3dcb80e68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ex:ts=8
# Ports collection makefile for:  tcpshow
# Date created:           Tue Nov 04, 1997
# Whom:               David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#

PORTNAME=   tcpshow
PORTVERSION=    1.74
CATEGORIES= net security
MASTER_SITES=   ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/obrien/
#       http://www.cs.berkeley.edu/~daw/mike/
DISTFILES=  tcpshow.c tcpshow.1

MAINTAINER= obrien@FreeBSD.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} -o tcpshow tcpshow.c)

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/tcpshow ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/tcpshow.1 ${PREFIX}/man/man1

.include <bsd.port.mk>