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

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

1.1     ! salo        1: # $NetBSD$
        !             2: #
        !             3:
        !             4: DISTNAME=      dovecot-0.99.9.1
        !             5: CATEGORIES=    mail
        !             6: MASTER_SITES=  http://dovecot.procontrol.fi/
        !             7:
        !             8: PATCH_SITES=   ${MASTER_SITES}
        !             9: PATCHFILES=    freebsd.patch fetch.patch
        !            10:
        !            11: MAINTAINER=    packages@netbsd.org
        !            12: HOMEPAGE=      http://dovecot.procontrol.fi/
        !            13: COMMENT=       Secure IMAP and POP3 server
        !            14:
        !            15: USE_BUILDLINK2=        YES
        !            16: USE_LIBTOOL=   YES
        !            17: USE_PKGINSTALL= YES
        !            18: GNU_CONFIGURE= YES
        !            19:
        !            20: LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool
        !            21:
        !            22: CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
        !            23: CONFIGURE_ARGS+=       --localstatedir=/var
        !            24: CONFIGURE_ARGS+=       --with-ssldir=/etc/openssl
        !            25:
        !            26: DOVECOT_USE_GNUTLS?=   NO
        !            27:
        !            28: .if !empty(DOVECOT_USE_GNUTLS:M[Yy][Ee][Ss])
        !            29: CONFIGURE_ARGS+=       --enable-ssl=gnutls
        !            30: .include "../../security/gnutls/buildlink2.mk"
        !            31: .else
        !            32: CONFIGURE_ARGS+=        --enable-ssl=openssl
        !            33: .include "../../security/openssl/buildlink2.mk"
        !            34: .endif
        !            35:
        !            36: DOVECOT_USE_LDAP?=     NO
        !            37:
        !            38: .if !empty(DOVECOT_USE_LDAP:M[Yy][Ee][Ss])
        !            39: CONFIGURE_ARGS+=       --with-ldap
        !            40: .include "../../databases/openldap/buildlink2.mk"
        !            41: .endif
        !            42:
        !            43: DOVECOT_USE_PGSQL?=    NO
        !            44:
        !            45: .if !empty(DOVECOT_USE_PGSQL:M[Yy][Ee][Ss])
        !            46: CONFIGURE_ARGS+=       --with-pgsql
        !            47: CPPFLAGS=              -I${BUILDLINK_DIR}/include/pgsql
        !            48: .include "../../databases/postgresql-lib/buildlink2.mk"
        !            49: .endif
        !            50:
        !            51: .if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
        !            52: BUILD_DEFS+=           USE_INET6
        !            53: CONFIGURE_ARGS+=       --enable-ipv6
        !            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>