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

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

1.3     ! joerg       1: # $NetBSD: Makefile,v 1.2 2006/05/18 20:30:01 wiz 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
1.3     ! joerg      16: USE_TOOLS+=            bison
1.1       jmmv       17:
                     18: CONFIGURE_ARGS+=       --localstatedir=${VARBASE:Q}
                     19: CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
                     20: CONFIGURE_ARGS+=       --with-wwwroot=${PREFIX}/share/cherokee
                     21:
                     22: PKGCONFIG_OVERRIDE=    cherokee.pc.in
                     23:
                     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: OWN_DIRS+=             ${VARBASE}/log
                     29: OWN_DIRS+=             ${VARBASE}/run
                     30: EGDIR=                 ${PREFIX}/share/examples/cherokee
                     31: MESSAGE_SUBST+=                EGDIR=${EGDIR:Q}
                     32: CONF_FILES=
                     33: .for f in              advanced.conf \
                     34:                        cherokee.conf \
                     35:                        icons.conf \
                     36:                        mime.compression.types \
                     37:                        mime.types
                     38: CONF_FILES+=           ${EGDIR}/cherokee/${f} ${PKG_SYSCONFDIR}/cherokee/${f}
                     39: .endfor
                     40: CONF_FILES+=           ${EGDIR}/cherokee/sites-available/default \
                     41:                        ${PKG_SYSCONFDIR}/cherokee/sites-enabled/default
                     42:
                     43: RCD_SCRIPTS=           cherokee
                     44:
                     45: SUBST_CLASSES+=                varbase
                     46: SUBST_STAGE.varbase=   pre-configure
                     47: SUBST_MESSAGE.varbase= Fixing references to local state directory.
                     48: SUBST_SED.varbase=     -e 's|/var/|${VARBASE}/|g'
                     49: SUBST_FILES.varbase=   cherokee.conf.sample.pre
                     50: SUBST_FILES.varbase+=  http-cherokee.xml
                     51: SUBST_FILES.varbase+=  cherokee-logrotate.1
                     52: SUBST_FILES.varbase+=  sites-default.sample.pre
                     53:
                     54: PKG_OPTIONS_VAR=               PKG_OPTIONS.cherokee
                     55: PKG_OPTIONS_OPTIONAL_GROUPS=   ssl
                     56: PKG_OPTIONS_GROUP.ssl=         gnutls openssl
                     57: PKG_SUGGESTED_OPTIONS+=                inet6 gnutls
                     58: PKG_SUPPORTED_OPTIONS+=                inet6
                     59: .include "../../mk/bsd.options.mk"
                     60:
                     61: .if !empty(PKG_OPTIONS:Minet6)
                     62: CONFIGURE_ARGS+=       --enable-ipv6
                     63: .else
                     64: CONFIGURE_ARGS+=       --disable-ipv6
                     65: .endif
                     66:
                     67: .if !empty(PKG_OPTIONS:Mgnutls)
                     68: CONFIGURE_ARGS+=       --enable-tls=gnutls
                     69: .include "../../security/gnutls/buildlink3.mk"
                     70: CONF_FILES+=           ${EGDIR}/cherokee/mods-available/ssl \
                     71:                        ${PKG_SYSCONFDIR}/cherokee/mods-enabled/ssl
                     72: .elif !empty(PKG_OPTIONS:Mopenssl)
                     73: CONFIGURE_ARGS+=       --enable-tls=openssl
                     74: .include "../../security/openssl/buildlink3.mk"
                     75: CONF_FILES+=           ${EGDIR}/cherokee/mods-available/ssl \
                     76:                        ${PKG_SYSCONFDIR}/cherokee/mods-enabled/ssl
                     77: .else
                     78: CONFIGURE_ARGS+=       --disable-tls
                     79: .endif
                     80:
                     81: pre-install:
                     82:        ${INSTALL_DATA_DIR} ${EGDIR}/pam.d
                     83:
                     84: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>