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

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

1.2     ! wiz         1: # $NetBSD: Makefile,v 1.1.1.1 2006/05/01 07:22:29 jmmv Exp $
1.1       jmmv        2: #
                      3:
                      4: DISTNAME=      cherokee-0.5.3
                      5: CATEGORIES=    www
                      6: MASTER_SITES=  http://www.0x50.org/download/0.5/0.5.3/
                      7:
                      8: MAINTAINER=    jmmv@NetBSD.org
                      9: HOMEPAGE=      http://www.0x50.org/
                     10: COMMENT=       Flexible and fast web server
                     11:
1.2     ! wiz        12: BROKEN_IN=             pkgsrc-2006Q1
        !            13:
1.1       jmmv       14: GNU_CONFIGURE=         yes
                     15: USE_LIBTOOL=           yes
                     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>