aboutsummaryrefslogtreecommitdiffstats
path: root/net/recvnet/Makefile
blob: 45b88246c95ded40cf84d4cbeccc8d4980b19288 (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
# New ports collection makefile for:    recvnet
# Date created:             27 Sep 2005
# Whom:                 Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#

PORTNAME=   recvnet
PORTVERSION=    0.0.1
CATEGORIES= net
MASTER_SITES=   http://www.vanheusden.com/Linux/ \
        CRITICAL
EXTRACT_SUFX=   .tgz

MAINTAINER= ehaupt@FreeBSD.org
COMMENT=    Recvnet (inverse telnet) is a utility for debugging tcp connections

MAKE_JOBS_SAFE= yes

CFLAGS+=    -DVERSION=\"${PORTVERSION}\"
LDFLAGS+=   -lcurses

PLIST_FILES=    bin/recvnet

do-build:
    ${CC} ${CFLAGS} -c ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}.o
    ${CC} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.o -o ${WRKSRC}/${PORTNAME}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin

.include <bsd.port.mk>