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

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

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

CVSweb <webmaster@jp.NetBSD.org>