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

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

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

CVSweb <webmaster@jp.NetBSD.org>