aboutsummaryrefslogtreecommitdiffstats
path: root/net/bounce/Makefile
blob: 96e4d5550f7a71a2f8d82d8808648f65eee736e6 (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
34
35
36
# New Ports collection makefile for:  bounce
# Date created:           Mon Dec 23, 1998
# Whom:               David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#

PORTNAME=   bounce
PORTVERSION=    1.0
PORTREVISION=   8
CATEGORIES= net security
MASTER_SITES=   http://www.iagora.com/~espel/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= obrien
DISTNAME=   bounce
EXTRACT_SUFX=   .c

MAINTAINER= matt@efs.org
COMMENT=    Bounce TCP connections to another machine/port

USE_RC_SUBR=    bounce
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

PLIST_FILES=    sbin/bounce

do-extract:
    @${MKDIR} ${WRKSRC}
    @${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}

do-build:
    (cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${DISTNAME} ${DISTNAME}.c)

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/sbin

.include <bsd.port.mk>