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

Annotation of pkgsrc/mail/dovecot/Makefile, Revision 1.4

1.4     ! salo        1: # $NetBSD: Makefile,v 1.3 2003/06/19 16:11:11 salo Exp $
1.1       salo        2: #
                      3:
1.4     ! salo        4: DISTNAME=      dovecot-0.99.10-rc2
        !             5: PKGNAME=       ${DISTNAME:S/-rc/rc/}
1.1       salo        6: CATEGORIES=    mail
1.3       salo        7: MASTER_SITES=  http://dovecot.procontrol.fi/   \
1.4     ! salo        8:                http://dovecot.procontrol.fi/rc/
1.1       salo        9:
1.3       salo       10: MAINTAINER=    tom@replic8.net
1.1       salo       11: HOMEPAGE=      http://dovecot.procontrol.fi/
                     12: COMMENT=       Secure IMAP and POP3 server
                     13:
                     14: USE_BUILDLINK2=        YES
                     15: USE_LIBTOOL=   YES
                     16: USE_PKGINSTALL= YES
                     17: GNU_CONFIGURE= YES
                     18:
                     19: LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool
                     20:
                     21: CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
                     22: CONFIGURE_ARGS+=       --localstatedir=/var
                     23: CONFIGURE_ARGS+=       --with-ssldir=/etc/openssl
                     24:
1.4     ! salo       25: .include "../../mk/bsd.prefs.mk"
        !            26:
        !            27: .if !empty(USE_OPENLDAP:M[Yy][Ee][Ss])
        !            28: CONFIGURE_ARGS+=       --with-ldap
        !            29: .include "../../databases/openldap/buildlink2.mk"
        !            30: .endif
        !            31:
        !            32: .if defined(USE_SASL2) && !empty(USE_SASL2:M[Yy][Ee][Ss])
        !            33: CONFIGURE_ARGS+=       --with-cyrus-sasl2
        !            34: .include "../../security/cyrus-sasl2/buildlink2.mk"
        !            35: .endif
        !            36:
        !            37: .if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
        !            38: BUILD_DEFS+=           USE_INET6
        !            39: CONFIGURE_ARGS+=       --enable-ipv6
        !            40: .endif
1.1       salo       41:
                     42: .if !empty(DOVECOT_USE_GNUTLS:M[Yy][Ee][Ss])
                     43: CONFIGURE_ARGS+=       --enable-ssl=gnutls
                     44: .include "../../security/gnutls/buildlink2.mk"
                     45: .else
                     46: CONFIGURE_ARGS+=        --enable-ssl=openssl
                     47: .include "../../security/openssl/buildlink2.mk"
                     48: .endif
                     49:
                     50: .if !empty(DOVECOT_USE_PGSQL:M[Yy][Ee][Ss])
                     51: CONFIGURE_ARGS+=       --with-pgsql
                     52: CPPFLAGS=              -I${BUILDLINK_DIR}/include/pgsql
                     53: .include "../../databases/postgresql-lib/buildlink2.mk"
                     54: .endif
                     55:
                     56: RCD_SCRIPTS=   dovecot
                     57:
                     58: DOVECOT_USER?= dovecot
                     59: DOVECOT_GROUP?=        dovecot
                     60: PKG_GROUPS=    ${DOVECOT_GROUP}
                     61: PKG_USERS=     ${DOVECOT_USER}:${DOVECOT_GROUP}::Dovecot\\ IMAP/POP3\\ user
                     62:
                     63: EGDIR=         ${PREFIX}/share/examples/dovecot
                     64: CONF_FILES=    ${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf
                     65:
                     66: post-configure:
                     67:        @cd ${WRKSRC} &&                                                \
                     68:        (                                                               \
                     69:                ${MV} dovecot-example.conf dovecot-example.conf.orig;   \
                     70:                ${SED} ${FILES_SUBST_SED} dovecot-example.conf.orig >   \
                     71:                        dovecot-example.conf;                           \
                     72:        )
                     73:
                     74: post-install:
                     75:        ${INSTALL_DATA_DIR} ${EGDIR}
                     76:        ${INSTALL_DATA} ${WRKSRC}/dovecot-example.conf  \
                     77:                ${EGDIR}/dovecot.conf.default
                     78:        ${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${EGDIR}
                     79:        ${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${EGDIR}
                     80:
                     81: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>