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

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem        1.0
4
5name              pound
6version           2.4.3
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}
22checksums         md5 2de4c2ac1023b420b74a1bc08fb93b8a \
23                  sha1 1d86e134bf307c9e2f10f647a73925339ba96575 \
24                  rmd160 a59c5fda7ce12513a894c4cbe59708f2fb73caa3
25
26# TODO use tcmalloc and/or hoard
27depends_lib       port:openssl port:pcre
28configure.args    --mandir=\\\$\\{prefix\\}/share/man \
29                  --infodir=\\\$\\{prefix\\}/share/info \
30                  --with-ssl=${prefix}/include/openssl
31
32set pound_config_name   pound.cfg
33set pound_config        ${prefix}/etc/${pound_config_name}
34set pound_pidfile_name  pound.pid
35set pound_pidfile       ${prefix}/var/run/${pound_pidfile_name}
36
37pre-configure {
38  reinplace "s|-o @I_OWNER@ -g @I_GRP@||g" ${worksrcpath}/Makefile.in
39}
40
41startupitem.create  yes
42startupitem.init    "PIDFILE=${pound_pidfile}"
43startupitem.start   "${prefix}/sbin/pound -f ${pound_config} -p \$PIDFILE"
44startupitem.stop    "kill \$(cat \$PIDFILE)"
45
46post-install {
47  ui_msg "\n Before starting pound it must be configured.\n\
48    Pound is configured by editing ${pound_config}\n\
49    Details on the format of ${pound_config_name} can be found in\n\
50    the pound man page or at ${homepage}\n"
51}
Note: See TracBrowser for help on using the repository browser.