a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $
PortSystem 1.0
name balance
version 3.34
categories net
platforms darwin
maintainers nomaintainer@macports.org
description simple but powerful generic TCP proxy
long_description Balance is a simple but powerful generic TCP proxy with \
round-robin load balancing and failover mechanisms. Its behaviour \
can be controlled at runtime using a simple command line syntax.
homepage http://balance.sourceforge.net/
master_sites http://www.inlab.de/
checksums sha1 5980542f3ef28e9f2b97476d0e239a82f4917a37
use_configure no
build.args CFLAGS="-O2 -DBalanceBSD"
destroot {
xinstall -m 755 -d ${destroot}${prefix}/bin \
${destroot}${prefix}/share/man/man1
xinstall -m 755 ${worksrcpath}/balance ${destroot}${prefix}/bin
xinstall -m 644 ${worksrcpath}/balance.1 ${destroot}${prefix}/share/man/man1
}
platform darwin 8 {
build.args-append CC=/usr/bin/gcc-4.0
}