source: trunk/dports/www/pound/Portfile @ 87969

Last change on this file since 87969 was 73704, checked in by ryandesign@…, 9 years ago

pound: update to 2.5 and fix build failure with openssl 1.0.0; see #27325 (maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 73704 2010-11-22 08:03:41Z ryandesign@macports.org $
2
3PortSystem        1.0
4
5name              pound
6version           2.5
7categories        www
8platforms         darwin
9maintainers       gmail.com:rcavanaugh
10
11description       A reverse proxy, load balancer and HTTPS front-end for Web server(s)
12long_description  The Pound program is a reverse proxy, load balancer and\
13                  HTTPS front-end for Web server(s). Pound was developed to\
14                  enable distributing the load among several Web-servers and\
15                  to allow for a convenient SSL wrapper for those Web servers\
16                  that do not offer it natively.
17
18homepage          http://www.apsis.ch/pound/
19distname          Pound-${version}
20extract.suffix    .tgz
21master_sites      ${homepage}
22
23checksums         sha1    0bc8c45b9afb64fb8810b44213345c2a67ce8a8c \
24                  rmd160  6f8d55eff11b25b0ac0dab66aac90af5380e2753
25
26# TODO use tcmalloc and/or hoard
27depends_lib       port:openssl port:pcre
28
29patchfiles        pound-2.5-openssl.patch
30patch.pre_args    -p1
31
32configure.args    --with-ssl=${prefix}
33
34set pound_config_name   pound.cfg
35set pound_config        ${prefix}/etc/${pound_config_name}
36set pound_pidfile_name  pound.pid
37set pound_pidfile       ${prefix}/var/run/${pound_pidfile_name}
38
39pre-configure {
40  reinplace "s|-o @I_OWNER@ -g @I_GRP@||g" ${worksrcpath}/Makefile.in
41}
42
43startupitem.create  yes
44startupitem.init    "PIDFILE=${pound_pidfile}"
45startupitem.start   "${prefix}/sbin/pound -f ${pound_config} -p \$PIDFILE"
46startupitem.stop    "kill \$(cat \$PIDFILE)"
47
48post-install {
49  ui_msg "\n Before starting pound it must be configured.\n\
50    Pound is configured by editing ${pound_config}\n\
51    Details on the format of ${pound_config_name} can be found in\n\
52    the pound man page or at ${homepage}\n"
53}
Note: See TracBrowser for help on using the repository browser.