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

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

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

CVSweb <webmaster@jp.NetBSD.org>