diff options
author | jmmv <jmmv@pkgsrc.org> | 2006-05-01 07:22:29 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2006-05-01 07:22:29 +0000 |
commit | c8f474fc43caed799628cc61f709b448a73b95e1 (patch) | |
tree | 611acd128ddd985b6e2696e41e9806185704bf49 /www/cherokee/Makefile | |
parent | 5de9b9424b54bd27f17d87795c91d992ebf48c50 (diff) | |
download | pkgsrc-c8f474fc43caed799628cc61f709b448a73b95e1.tar.gz |
Initial import of cherokee, version 0.5.3:
Cherokee is a very fast, flexible and easy to configure Web Server. It
supports the widespread technologies nowadays: FastCGI, SCGI, PHP, CGI,
TLS and SSL encrypted connections, Virtual hosts, Authentication, on the
fly encoding, Apache compatible log files, and much more.
Diffstat (limited to 'www/cherokee/Makefile')
-rw-r--r-- | www/cherokee/Makefile | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/www/cherokee/Makefile b/www/cherokee/Makefile new file mode 100644 index 00000000000..3742970e3a0 --- /dev/null +++ b/www/cherokee/Makefile @@ -0,0 +1,81 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/05/01 07:22:29 jmmv Exp $ +# + +DISTNAME= cherokee-0.5.3 +CATEGORIES= www +MASTER_SITES= http://www.0x50.org/download/0.5/0.5.3/ + +MAINTAINER= jmmv@NetBSD.org +HOMEPAGE= http://www.0x50.org/ +COMMENT= Flexible and fast web server + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes + +CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} +CONFIGURE_ARGS+= --with-wwwroot=${PREFIX}/share/cherokee + +PKGCONFIG_OVERRIDE= cherokee.pc.in + +INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR:Q} +OWN_DIRS= ${PKG_SYSCONFDIR}/cherokee +OWN_DIRS+= ${PKG_SYSCONFDIR}/cherokee/mods-enabled +OWN_DIRS+= ${PKG_SYSCONFDIR}/cherokee/sites-enabled +OWN_DIRS+= ${VARBASE}/log +OWN_DIRS+= ${VARBASE}/run +EGDIR= ${PREFIX}/share/examples/cherokee +MESSAGE_SUBST+= EGDIR=${EGDIR:Q} +CONF_FILES= +.for f in advanced.conf \ + cherokee.conf \ + icons.conf \ + mime.compression.types \ + mime.types +CONF_FILES+= ${EGDIR}/cherokee/${f} ${PKG_SYSCONFDIR}/cherokee/${f} +.endfor +CONF_FILES+= ${EGDIR}/cherokee/sites-available/default \ + ${PKG_SYSCONFDIR}/cherokee/sites-enabled/default + +RCD_SCRIPTS= cherokee + +SUBST_CLASSES+= varbase +SUBST_STAGE.varbase= pre-configure +SUBST_MESSAGE.varbase= Fixing references to local state directory. +SUBST_SED.varbase= -e 's|/var/|${VARBASE}/|g' +SUBST_FILES.varbase= cherokee.conf.sample.pre +SUBST_FILES.varbase+= http-cherokee.xml +SUBST_FILES.varbase+= cherokee-logrotate.1 +SUBST_FILES.varbase+= sites-default.sample.pre + +PKG_OPTIONS_VAR= PKG_OPTIONS.cherokee +PKG_OPTIONS_OPTIONAL_GROUPS= ssl +PKG_OPTIONS_GROUP.ssl= gnutls openssl +PKG_SUGGESTED_OPTIONS+= inet6 gnutls +PKG_SUPPORTED_OPTIONS+= inet6 +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif + +.if !empty(PKG_OPTIONS:Mgnutls) +CONFIGURE_ARGS+= --enable-tls=gnutls +.include "../../security/gnutls/buildlink3.mk" +CONF_FILES+= ${EGDIR}/cherokee/mods-available/ssl \ + ${PKG_SYSCONFDIR}/cherokee/mods-enabled/ssl +.elif !empty(PKG_OPTIONS:Mopenssl) +CONFIGURE_ARGS+= --enable-tls=openssl +.include "../../security/openssl/buildlink3.mk" +CONF_FILES+= ${EGDIR}/cherokee/mods-available/ssl \ + ${PKG_SYSCONFDIR}/cherokee/mods-enabled/ssl +.else +CONFIGURE_ARGS+= --disable-tls +.endif + +pre-install: + ${INSTALL_DATA_DIR} ${EGDIR}/pam.d + +.include "../../mk/bsd.pkg.mk" |