[58296] trunk/dports/www

arthurk at macports.org arthurk at macports.org
Fri Sep 25 06:46:44 PDT 2009


Revision: 58296
          http://trac.macports.org/changeset/58296
Author:   arthurk at macports.org
Date:     2009-09-25 06:46:41 -0700 (Fri, 25 Sep 2009)
Log Message:
-----------
Added Cherokee port. Thanks Jannis Leidel.

Added Paths:
-----------
    trunk/dports/www/cherokee/
    trunk/dports/www/cherokee/Portfile

Added: trunk/dports/www/cherokee/Portfile
===================================================================
--- trunk/dports/www/cherokee/Portfile	                        (rev 0)
+++ trunk/dports/www/cherokee/Portfile	2009-09-25 13:46:41 UTC (rev 58296)
@@ -0,0 +1,80 @@
+# $Id$
+
+PortSystem 1.0
+
+name            cherokee
+version         0.99.24
+categories      www
+platforms       darwin
+maintainers     gmail.com:leidel
+description     Cherokee web server
+long_description \
+  Cherokee is a relatively new HTTP server designed to be as\
+  performant as Apache and lighttpd, but much easier to \
+  configure and maintain.  It ships out-of-the-box SCGI \
+  support, making it ideal for deploying dynamic websites.
+homepage        http://www.cherokee-project.com/
+master_sites    http://www.cherokee-project.com/download/0.99/${version}
+distname        ${name}-${version}
+checksums       md5     5afed8bdd6020dc5bf0ba9ec83b947f1 \
+                sha1    a4a81bd9a99ba631f93f593d25a3c69acf8c7455
+depends_lib     port:pcre \
+                port:zlib \
+                port:libgeoip
+
+configure.args    --mandir=${prefix}/share/man
+
+# Startup item.
+set cherokee_config_name   cherokee.conf
+set cherokee_config        ${prefix}/etc/${name}/${cherokee_config_name}
+set cherokee_pidfile_name  cherokee.pid
+set cherokee_pidfile       ${prefix}/var/run/${cherokee_pidfile_name}
+
+startupitem.create  yes
+startupitem.init    "PIDFILE=${cherokee_config}"
+startupitem.start   "${prefix}/sbin/cherokee -C ${cherokee_config}"
+startupitem.stop    "kill \$(cat \$PIDFILE)"
+
+variant no_startupitem description {Do not create a startup item} {
+    startupitem.create  no
+}
+
+variant ssl description {Add SSL (HTTPS) support to the server} {
+    depends_lib-append port:openssl
+    configure.args-append --enable-tls=openssl \
+                          --with-openssl=${prefix}/include/openssl
+}
+
+variant no_ipv6 description {Disable IPv6 support} {
+    configure.args-append --disable-ipv6
+}
+
+variant no_pam description {Disable PAM support} {
+    configure.args-append --disable-pam
+}
+
+variant trace description {Allows debugging options} {
+    configure.args-append --enable-trace
+}
+
+variant no_epoll description {Disable epoll() support} {
+    configure.args-append --disable-epoll
+}
+
+variant no_pthread description {Disable threading support} {
+    configure.args-append --disable-pthread
+}
+
+variant no_readdir_r description {Disable readdir_r usage} {
+    configure.args-append --disable-readdir_r
+}
+
+variant no_admin description {Skips cherokee-admin installation} {
+    configure.args-append --disable-admin
+}
+
+pre-destroot {
+    xinstall -m 755 -d ${destroot}${prefix}/var/log
+    destroot.keepdirs-append ${destroot}${prefix}/var/log
+}
+


Property changes on: trunk/dports/www/cherokee/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090925/18d25c74/attachment-0001.html>


More information about the macports-changes mailing list