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

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

1.31    ! schmonz     1: # $NetBSD: Makefile,v 1.30 2004/12/28 02:47:44 reed Exp $
1.1       salo        2:
1.31    ! schmonz     3: DISTNAME=              dovecot-0.99.13
1.6       salo        4: CATEGORIES=            mail
1.22      xtraeme     5: MASTER_SITES=          http://www.dovecot.org/releases/
1.1       salo        6:
1.29      xtraeme     7: .if 0
1.11      xtraeme     8: PATCH_SITES=           http://www.roughtrade.net/dovecot/
1.28      xtraeme     9: PATCHFILES=            dovecot-crammd5-0.99.11.diff
1.6       salo       10: PATCH_DIST_STRIP=      -p1
1.29      xtraeme    11: .endif
1.1       salo       12:
1.6       salo       13: MAINTAINER=            tom@replic8.net
1.22      xtraeme    14: HOMEPAGE=              http://www.dovecot.org/
1.6       salo       15: COMMENT=               Secure IMAP and POP3 server
                     16:
1.24      schmonz    17: PKG_INSTALLATION_TYPES=        overwrite pkgviews
                     18:
1.29      xtraeme    19: WRKSRC=                        ${WRKDIR}/${DISTNAME:S/.1$//}
1.31    ! schmonz    20: USE_BUILDLINK3=                yes
        !            21: USE_LIBTOOL=           yes
        !            22: USE_PKGINSTALL=        yes
        !            23: GNU_CONFIGURE=         yes
1.1       salo       24:
                     25: CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
1.21      xtraeme    26: CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
1.7       xtraeme    27: CONFIGURE_ARGS+=       --with-ssldir=${SSLCERTS}
1.1       salo       28:
1.4       salo       29: .include "../../mk/bsd.prefs.mk"
1.26      jlam       30: .include "options.mk"
1.1       salo       31:
                     32: RCD_SCRIPTS=   dovecot
                     33:
                     34: DOVECOT_USER?= dovecot
                     35: DOVECOT_GROUP?=        dovecot
                     36: PKG_GROUPS=    ${DOVECOT_GROUP}
                     37: PKG_USERS=     ${DOVECOT_USER}:${DOVECOT_GROUP}::Dovecot\\ IMAP/POP3\\ user
                     38:
                     39: EGDIR=         ${PREFIX}/share/examples/dovecot
                     40: CONF_FILES=    ${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf
                     41:
1.26      jlam       42: INSTALLATION_DIRS=     libexec/dovecot sbin share/doc/dovecot          \
                     43:                        share/examples/dovecot
1.24      schmonz    44:
1.1       salo       45: post-configure:
1.13      jlam       46:        @cd ${WRKSRC};                                                  \
1.24      schmonz    47:        for i in dovecot-example.conf; do                               \
                     48:                ${SED} ${FILES_SUBST_SED} $$i > $$i.new;                \
                     49:                ${MV} -f $$i.new $$i;                                   \
1.13      jlam       50:        done
1.1       salo       51:
                     52: post-install:
                     53:        ${INSTALL_DATA_DIR} ${EGDIR}
                     54:        ${INSTALL_DATA} ${WRKSRC}/dovecot-example.conf  \
                     55:                ${EGDIR}/dovecot.conf.default
                     56:        ${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${EGDIR}
                     57:        ${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${EGDIR}
                     58:
                     59: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>