[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / cherokee

Annotation of pkgsrc/www/cherokee/Makefile, Revision 1.9

1.9     ! wiz         1: # $NetBSD: Makefile,v 1.8 2008/02/04 20:10:34 tnn Exp $
1.1       jmmv        2: #
                      3:
                      4: DISTNAME=      cherokee-0.5.3
1.9     ! wiz         5: PKGREVISION=   3
1.1       jmmv        6: CATEGORIES=    www
1.5       wiz         7: MASTER_SITES=  http://www.cherokee-project.com/download/0.5/0.5.3/
1.1       jmmv        8:
                      9: MAINTAINER=    jmmv@NetBSD.org
1.5       wiz        10: HOMEPAGE=      http://www.cherokee-project.com/
1.1       jmmv       11: COMMENT=       Flexible and fast web server
                     12:
                     13: GNU_CONFIGURE=         yes
                     14: USE_LIBTOOL=           yes
1.8       tnn        15: USE_TOOLS+=            bison lex
1.1       jmmv       16:
                     17: CONFIGURE_ARGS+=       --localstatedir=${VARBASE:Q}
                     18: CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
                     19: CONFIGURE_ARGS+=       --with-wwwroot=${PREFIX}/share/cherokee
                     20:
                     21: PKGCONFIG_OVERRIDE=    cherokee.pc.in
                     22:
                     23: INSTALL_MAKE_FLAGS+=   sysconfdir=${EGDIR:Q}
                     24: OWN_DIRS=              ${PKG_SYSCONFDIR}/cherokee
                     25: OWN_DIRS+=             ${PKG_SYSCONFDIR}/cherokee/mods-enabled
                     26: OWN_DIRS+=             ${PKG_SYSCONFDIR}/cherokee/sites-enabled
                     27: OWN_DIRS+=             ${VARBASE}/log
                     28: OWN_DIRS+=             ${VARBASE}/run
                     29: EGDIR=                 ${PREFIX}/share/examples/cherokee
                     30: MESSAGE_SUBST+=                EGDIR=${EGDIR:Q}
                     31: CONF_FILES=
                     32: .for f in              advanced.conf \
                     33:                        cherokee.conf \
                     34:                        icons.conf \
                     35:                        mime.compression.types \
                     36:                        mime.types
                     37: CONF_FILES+=           ${EGDIR}/cherokee/${f} ${PKG_SYSCONFDIR}/cherokee/${f}
                     38: .endfor
                     39: CONF_FILES+=           ${EGDIR}/cherokee/sites-available/default \
                     40:                        ${PKG_SYSCONFDIR}/cherokee/sites-enabled/default
                     41:
                     42: RCD_SCRIPTS=           cherokee
                     43:
                     44: SUBST_CLASSES+=                varbase
                     45: SUBST_STAGE.varbase=   pre-configure
                     46: SUBST_MESSAGE.varbase= Fixing references to local state directory.
                     47: SUBST_SED.varbase=     -e 's|/var/|${VARBASE}/|g'
                     48: SUBST_FILES.varbase=   cherokee.conf.sample.pre
                     49: SUBST_FILES.varbase+=  http-cherokee.xml
                     50: SUBST_FILES.varbase+=  cherokee-logrotate.1
                     51: SUBST_FILES.varbase+=  sites-default.sample.pre
                     52:
                     53: PKG_OPTIONS_VAR=               PKG_OPTIONS.cherokee
                     54: PKG_OPTIONS_OPTIONAL_GROUPS=   ssl
                     55: PKG_OPTIONS_GROUP.ssl=         gnutls openssl
                     56: PKG_SUGGESTED_OPTIONS+=                inet6 gnutls
                     57: PKG_SUPPORTED_OPTIONS+=                inet6
                     58: .include "../../mk/bsd.options.mk"
                     59:
                     60: .if !empty(PKG_OPTIONS:Minet6)
                     61: CONFIGURE_ARGS+=       --enable-ipv6
                     62: .else
                     63: CONFIGURE_ARGS+=       --disable-ipv6
                     64: .endif
                     65:
                     66: .if !empty(PKG_OPTIONS:Mgnutls)
                     67: CONFIGURE_ARGS+=       --enable-tls=gnutls
                     68: .include "../../security/gnutls/buildlink3.mk"
                     69: CONF_FILES+=           ${EGDIR}/cherokee/mods-available/ssl \
                     70:                        ${PKG_SYSCONFDIR}/cherokee/mods-enabled/ssl
                     71: .elif !empty(PKG_OPTIONS:Mopenssl)
                     72: CONFIGURE_ARGS+=       --enable-tls=openssl
                     73: .include "../../security/openssl/buildlink3.mk"
                     74: CONF_FILES+=           ${EGDIR}/cherokee/mods-available/ssl \
                     75:                        ${PKG_SYSCONFDIR}/cherokee/mods-enabled/ssl
                     76: .else
                     77: CONFIGURE_ARGS+=       --disable-tls
                     78: .endif
                     79:
                     80: pre-install:
                     81:        ${INSTALL_DATA_DIR} ${EGDIR}/pam.d
                     82:
                     83: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>