aboutsummaryrefslogtreecommitdiff
path: root/net/balance/Makefile
blob: 893d97d0def04d63a884d6bb28a3e082a470cb33 (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
# New ports collection makefile for:	balance
# Date created:				Wed 6 Dec 2000
# Whom:					Joseph Scott <joseph@randomnetworks.com>
#
# $FreeBSD$
#

PORTNAME=	balance
PORTVERSION=	3.15
CATEGORIES=	net
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED} \
		http://www.inlab.de/
MASTER_SITE_SUBDIR=	balance

MAINTAINER=	joseph@randomnetworks.com
COMMENT=	Simple but powerful generic tcp proxy with round robin features

ALL_TARGET=	balance

USE_RC_SUBR=	yes

MAN1=		balance.1

post-build:
	@${SED} -e 's,%%RC_SUBR%%,${RC_SUBR},g' -e 's,%%PREFIX%%,${PREFIX},g' \
		${FILESDIR}/${PORTNAME}.sh >${WRKDIR}/${PORTNAME}.sh

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/balance ${PREFIX}/bin
	@${INSTALL_MAN} ${WRKSRC}/balance.1 ${PREFIX}/man/man1
	@${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/etc/rc.d/${PORTNAME}.sh
	@${MKDIR} /var/run/balance

.include <bsd.port.mk>