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

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

1.94    ! ghen        1: # $NetBSD: Makefile,v 1.93 2007/04/08 10:48:07 ghen Exp $
1.1       salo        2:
1.94    ! ghen        3: DISTNAME=              dovecot-1.0.0
        !             4: #PKGNAME=              ${DISTNAME:S/.rc/rc/}
1.6       salo        5: CATEGORIES=            mail
1.22      xtraeme     6: MASTER_SITES=          http://www.dovecot.org/releases/
1.1       salo        7:
1.43      ghen        8: MAINTAINER=            ghen@NetBSD.org
1.22      xtraeme     9: HOMEPAGE=              http://www.dovecot.org/
1.6       salo       10: COMMENT=               Secure IMAP and POP3 server
                     11:
1.24      schmonz    12: PKG_INSTALLATION_TYPES=        overwrite pkgviews
1.76      joerg      13: PKG_DESTDIR_SUPPORT=   user-destdir
1.24      schmonz    14:
1.31      schmonz    15: USE_LIBTOOL=           yes
                     16: GNU_CONFIGURE=         yes
1.57      ghen       17: USE_TOOLS+=            pkg-config
1.1       salo       18:
1.39      rillig     19: CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
                     20: CONFIGURE_ARGS+=       --localstatedir=${VARBASE:Q}
1.64      abs        21: CONFIGURE_ARGS+=       --with-ssldir=${SSLDIR:Q}
1.1       salo       22:
1.4       salo       23: .include "../../mk/bsd.prefs.mk"
1.26      jlam       24: .include "options.mk"
1.1       salo       25:
1.43      ghen       26: RCD_SCRIPTS=           dovecot
1.1       salo       27:
1.43      ghen       28: DOVECOT_USER?=         dovecot
                     29: DOVECOT_GROUP?=                dovecot
                     30: PKG_GROUPS=            ${DOVECOT_GROUP}
1.50      jlam       31: PKG_USERS=             ${DOVECOT_USER}:${DOVECOT_GROUP}
                     32:
                     33: PKG_GECOS.${DOVECOT_USER}=     Dovecot IMAP/POP3 user
1.1       salo       34:
1.43      ghen       35: EGDIR=                 ${PREFIX}/share/examples/dovecot
                     36: CONF_FILES=            ${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf
1.1       salo       37:
1.26      jlam       38: INSTALLATION_DIRS=     libexec/dovecot sbin share/doc/dovecot          \
                     39:                        share/examples/dovecot
1.24      schmonz    40:
1.42      joerg      41: SUBST_CLASSES+=                paths
                     42: SUBST_FILES.paths=     dovecot-example.conf
                     43: SUBST_SED.paths+=      -e 's,@PREFIX@,${PREFIX},g'
1.44      ghen       44: SUBST_STAGE.paths=     pre-configure
1.1       salo       45:
1.64      abs        46: post-build:
                     47:        ${SED} "s|/etc/ssl/|${SSLDIR}/|" ${WRKSRC}/dovecot-example.conf \
                     48:                                                > ${WRKDIR}/dovecot-example.conf
                     49:        ${SED} "s|/etc/ssl|${SSLDIR}|" ${WRKSRC}/doc/mkcert.sh \
                     50:                                                > ${WRKDIR}/mkcert.sh
                     51:
1.1       salo       52: post-install:
1.90      ghen       53:        ${INSTALL_DATA} ${WRKDIR}/dovecot-example.conf ${DESTDIR}${EGDIR}
1.76      joerg      54:        ${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${DESTDIR}${EGDIR}
                     55:        ${INSTALL_SCRIPT} ${WRKDIR}/mkcert.sh ${DESTDIR}${EGDIR}
1.1       salo       56:
1.44      ghen       57: .include "../../devel/zlib/buildlink3.mk"
1.1       salo       58: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>