mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
fa1a2d30b8
PR: ports/77761 Submitted by: Gerard Samuel <fbsd-ports@trini0.org> Approved by: Joseph Scott <joseph@randomnetworks.com> (maintainer)
35 lines
867 B
Makefile
35 lines
867 B
Makefile
# New ports collection makefile for: balance
|
|
# Date created: Wed 6 Dec 2000
|
|
# Whom: Joseph Scott <joseph@randomnetworks.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= balance
|
|
PORTVERSION= 3.19
|
|
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>
|