Ticket #17114: Portfile.2

File Portfile.2, 1.4 KB (added by sam@…, 15 years ago)

updated portfile with cpu optimizations

Line 
1# $Id$
2
3PortSystem 1.0
4
5name              haproxy
6version           1.3.15.6
7categories        net
8platforms         darwin
9maintainers       samgranieri
10description       The Reliable, High Performance TCP/HTTP Load Balancer
11
12long_description  HAproxy is a high-performance and highly-robust TCP/HTTP \
13                  load balancer which provides cookie-based persistence, \
14                  automatic failover, header insertion, deletion, modification \
15                  on the fly, advanced logging contents to help trouble-shooting \
16                  buggy applications and/or networks, and a few other features. It \
17                  uses its own state machine to achieve up to ten thousands hits \
18                  per second on modern hardware, even with thousands simultaneous connections.
19
20homepage          http://haproxy.1wt.eu/
21master_sites      http://haproxy.1wt.eu/download/1.3/src/
22distname          haproxy-1.3.15.6
23
24checksums         md5 470cfd76b3a5608f4db02930c556d1e2 \
25                  sha1 5ae0fb19b7754254f8852e3bc9354c63b073e4dc \
26                  rmd160 552a8ac394af406be40672e422bb4db3d90d2b22
27
28use_configure     no
29
30build.target TARGET=osx
31
32platform i386 {
33   build.target-append   CPU=i686
34}
35
36destroot  {
37  xinstall -s -m 755 ${worksrcpath}/haproxy ${destroot}${prefix}/sbin
38  xinstall -m 644 ${worksrcpath}/doc/haproxy.1 ${destroot}${prefix}/share/man/man1
39}