aboutsummaryrefslogtreecommitdiffstats
path: root/net/bounce/Makefile
blob: aaacdb2ea7c59f05c7462ba5a615de15f77e10a3 (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
# Created by: 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

NO_STAGE=   yes
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>