aboutsummaryrefslogtreecommitdiffstats
path: root/net/bounce/Makefile
blob: 24b9dc025f1ac29ea235fa3236d169486925ba03 (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
# ex:ts=8
# 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=   1
CATEGORIES= net security
MASTER_SITES=   http://www.iagora.com/~espel/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= obrien
DISTNAME=   bounce
EXTRACT_SUFX=   .c

MAINTAINER= ports@FreeBSD.org
COMMENT=    Bounce tcp connections to another machine/port

NO_WRKSUBDIR=   yes

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

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

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

.include <bsd.port.mk>