# $Id: Portfile 56388 2009-08-26 23:43:52Z blb@macports.org $

PortSystem 1.0

name              haproxy
version           1.3.20
categories        net
platforms         darwin
maintainers       samgranieri.com:sam
description       The Reliable, High Performance TCP/HTTP Load Balancer

long_description  HAproxy is a high-performance and highly-robust TCP/HTTP \
                  load balancer which provides cookie-based persistence, \
                  automatic failover, header insertion, deletion, modification \
                  on the fly, advanced logging contents to help trouble-shooting \
                  buggy applications and/or networks, and a few other features. It \
                  uses its own state machine to achieve up to ten thousands hits \
                  per second on modern hardware, even with thousands simultaneous connections.

homepage          http://haproxy.1wt.eu/
master_sites      http://haproxy.1wt.eu/download/1.3/src/

checksums         md5     e37046e0cb2f407d92c41d7731d1dd10 \
                  sha1    c017c2853ca0f20669abfb24c7f3b30630d86438 \
                  rmd160  5f16cd2862bc02b61be44682d591f689a36c964d

use_configure     no

build.target TARGET=osx

destroot  {
  xinstall -s -m 755 ${worksrcpath}/haproxy ${destroot}${prefix}/sbin
  xinstall -m 644 ${worksrcpath}/doc/haproxy.1 ${destroot}${prefix}/share/man/man1
}
