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

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

1.32    ! jdolecek    1: # $NetBSD: Makefile,v 1.31 2005/01/08 19:58:16 schmonz 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.6       salo        7: MAINTAINER=            tom@replic8.net
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_BUILDLINK3=                yes
                     15: USE_LIBTOOL=           yes
                     16: USE_PKGINSTALL=        yes
                     17: GNU_CONFIGURE=         yes
1.1       salo       18:
                     19: CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
1.21      xtraeme    20: CONFIGURE_ARGS+=       --localstatedir=${VARBASE}
1.7       xtraeme    21: CONFIGURE_ARGS+=       --with-ssldir=${SSLCERTS}
1.1       salo       22:
1.4       salo       23: .include "../../mk/bsd.prefs.mk"
1.26      jlam       24: .include "options.mk"
1.1       salo       25:
                     26: RCD_SCRIPTS=   dovecot
                     27:
                     28: DOVECOT_USER?= dovecot
                     29: DOVECOT_GROUP?=        dovecot
                     30: PKG_GROUPS=    ${DOVECOT_GROUP}
                     31: PKG_USERS=     ${DOVECOT_USER}:${DOVECOT_GROUP}::Dovecot\\ IMAP/POP3\\ user
                     32:
                     33: EGDIR=         ${PREFIX}/share/examples/dovecot
                     34: CONF_FILES=    ${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf
                     35:
1.26      jlam       36: INSTALLATION_DIRS=     libexec/dovecot sbin share/doc/dovecot          \
                     37:                        share/examples/dovecot
1.24      schmonz    38:
1.1       salo       39: post-configure:
1.13      jlam       40:        @cd ${WRKSRC};                                                  \
1.24      schmonz    41:        for i in dovecot-example.conf; do                               \
                     42:                ${SED} ${FILES_SUBST_SED} $$i > $$i.new;                \
                     43:                ${MV} -f $$i.new $$i;                                   \
1.13      jlam       44:        done
1.1       salo       45:
                     46: post-install:
                     47:        ${INSTALL_DATA_DIR} ${EGDIR}
                     48:        ${INSTALL_DATA} ${WRKSRC}/dovecot-example.conf  \
                     49:                ${EGDIR}/dovecot.conf.default
                     50:        ${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${EGDIR}
                     51:        ${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${EGDIR}
                     52:
                     53: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>