Ticket #26622: Portfile.patch

File Portfile.patch, 1.5 KB (added by felix.bellanger@…, 14 years ago)
  • Portfile

     
    1 # $Id$
     1# $Id: Portfile 58296 2009-09-25 13:46:41Z arthurk@macports.org $
    22
    33PortSystem 1.0
    44
    55name            cherokee
    6 version         0.99.24
     6version         1.0.8
    77categories      www
    88platforms       darwin
    99maintainers     gmail.com:leidel
     
    1414  configure and maintain.  It ships out-of-the-box SCGI \
    1515  support, making it ideal for deploying dynamic websites.
    1616homepage        http://www.cherokee-project.com/
    17 master_sites    http://www.cherokee-project.com/download/0.99/${version}
     17master_sites    http://www.cherokee-project.com/download/1.0/${version}
    1818distname        ${name}-${version}
    19 checksums       md5     5afed8bdd6020dc5bf0ba9ec83b947f1 \
    20                 sha1    a4a81bd9a99ba631f93f593d25a3c69acf8c7455
     19checksums       md5     12117a80c2a970173bd32660439c2db0 \
     20                sha1    28b2e2b192c713aa9c43737ae8376a55effa7336
    2121depends_lib     port:pcre \
    2222                port:zlib \
    23                 port:libgeoip
     23                port:libgeoip \
     24                port:rrdtool
    2425
    2526configure.args    --mandir=${prefix}/share/man
    2627
     
    3132set cherokee_pidfile       ${prefix}/var/run/${cherokee_pidfile_name}
    3233
    3334startupitem.create  yes
    34 startupitem.init    "PIDFILE=${cherokee_config}"
     35startupitem.init    "PIDFILE=${cherokee_pidfile}"
    3536startupitem.start   "${prefix}/sbin/cherokee -C ${cherokee_config}"
    3637startupitem.stop    "kill \$(cat \$PIDFILE)"
    3738