aboutsummaryrefslogtreecommitdiff
path: root/net/tcpproxy/Makefile
blob: 9b982e0219fe15b327f7d15b3f8b022dbb3e22cf (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: Alexander Hausner <alex@hugo.bmg.gv.at>
# $FreeBSD$

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

MAINTAINER=	alex@hugo.bmg.gv.at
COMMENT=	Simple TCP connection proxy for IPv4 and IPv6

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

USES=		gmake
HAS_CONFIGURE=	yes

USERS=	_tcpproxy
GROUPS=	_tcpproxy

USE_RC_SUBR=	tcpproxy

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

PLIST_FILES=	bin/tcpproxy etc/tcpproxy_sample.conf \
		man/man8/tcpproxy.8.gz

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

.include <bsd.port.mk>