aboutsummaryrefslogtreecommitdiffstats
path: root/net/tcpproxy/Makefile
blob: e61a959c2b2a0f732b54663d93cdc837cbeed84a (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
37
38
39
# New ports collection makefile for:    tcpproxy
# Date created:             2011-03-30
# Whom:                 Alexander Hausner <alex@hugo.bmg.gv.at>
#
# $FreeBSD$
#

PORTNAME=   tcpproxy
PORTVERSION=    1.0
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=   http://www.spreadspace.org/tcpproxy/releases/ \
        http://alex.bmg.gv.at/programs/

MAINTAINER= alex@hugo.bmg.gv.at
COMMENT=    A simple tcp connection proxy for ipv4 and ipv6

BUILD_DEPENDS=  ragel:${PORTSDIR}/devel/ragel

USE_GMAKE=  yes
HAS_CONFIGURE=  yes

USERS=  _tcpproxy
GROUPS= _tcpproxy

MAN8=   tcpproxy.8

USE_RC_SUBR=    tcpproxy

WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src

PLIST_FILES=    bin/tcpproxy etc/tcpproxy_sample.conf

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/tcpproxy ${PREFIX}/bin
    ${INSTALL_DATA}  ${WRKDIR}/${PORTNAME}-${PORTVERSION}/contrib/example.conf ${PREFIX}/etc/tcpproxy_sample.conf
    ${INSTALL_MAN} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc/${MAN8} ${PREFIX}/man/man8

.include <bsd.port.mk>