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

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

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

CVSweb <webmaster@jp.NetBSD.org>