1 # $NetBSD: Makefile,v 1.11 2009/07/03 14:15:41 drochner Exp $
4 DISTNAME= cherokee-0.99.28
7 MASTER_SITES= http://www.cherokee-project.com/download/0.99/0.99.28/
9 MAINTAINER= oivulf@gmail.com
10 HOMEPAGE= http://www.cherokee-project.com/
11 COMMENT= Flexible and fast web server
15 USE_TOOLS+= bison flex gmake
17 PKG_USERS= crazyhorse:www
18 CONFIGURE_ARGS+= --with-wwwuser=crazyhorse
19 CONFIGURE_ARGS+= --with-wwwgroup=www
20 CONFIGURE_ARGS+= --with-wwwroot=${PREFIX}/share/cherokee
22 PKGCONFIG_OVERRIDE= cherokee.pc.in
24 INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR:Q}
25 OWN_DIRS= ${PKG_SYSCONFDIR}/cherokee
26 OWN_DIRS+= ${PKG_SYSCONFDIR}/cherokee/mods-enabled
27 OWN_DIRS+= ${PKG_SYSCONFDIR}/cherokee/sites-enabled
28 EGDIR= ${PREFIX}/share/examples/cherokee
29 MESSAGE_SUBST+= EGDIR=${EGDIR:Q}
31 CONF_FILES+= ${PREFIX}/share/examples/cherokee/cherokee/cherokee.conf ${PKG_SYSCONFDIR}/cherokee.conf
33 RCD_SCRIPTS+= cherokee
36 CONFIGURE_ARGS+= --enable-ipv6
37 CONFIGURE_ARGS+= --with-libssl
38 .include "../../security/openssl/buildlink3.mk"
41 ${INSTALL_DATA_DIR} ${EGDIR}/pam.d
43 .include "../../mk/bsd.pkg.mk"