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

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

1.132   ! tnn         1: # $NetBSD: Makefile,v 1.131 2009/04/20 14:06:17 ghen Exp $
1.1       salo        2:
1.131     ghen        3: DISTNAME=              dovecot-1.1.14
1.132   ! tnn         4: PKGREVISION=           1
1.6       salo        5: CATEGORIES=            mail
1.117     ghen        6: MASTER_SITES=          http://www.dovecot.org/releases/1.1/
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.117     ghen       18: USE_TOOLS+=            rpcgen
1.1       salo       19:
1.39      rillig     20: CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
                     21: CONFIGURE_ARGS+=       --localstatedir=${VARBASE:Q}
1.64      abs        22: CONFIGURE_ARGS+=       --with-ssldir=${SSLDIR:Q}
1.101     ghen       23: CONFIGURE_ARGS+=       --enable-header-install
1.1       salo       24:
1.4       salo       25: .include "../../mk/bsd.prefs.mk"
1.26      jlam       26: .include "options.mk"
1.1       salo       27:
1.43      ghen       28: RCD_SCRIPTS=           dovecot
1.1       salo       29:
1.43      ghen       30: DOVECOT_USER?=         dovecot
                     31: DOVECOT_GROUP?=                dovecot
                     32: PKG_GROUPS=            ${DOVECOT_GROUP}
1.50      jlam       33: PKG_USERS=             ${DOVECOT_USER}:${DOVECOT_GROUP}
1.98      jlam       34: PKG_GROUPS_VARS+=      DOVECOT_GROUP
                     35: PKG_USERS_VARS+=       DOVECOT_USER
1.50      jlam       36:
                     37: PKG_GECOS.${DOVECOT_USER}=     Dovecot IMAP/POP3 user
1.1       salo       38:
1.43      ghen       39: EGDIR=                 ${PREFIX}/share/examples/dovecot
1.106     rillig     40: CONF_FILES=            ${EGDIR}/dovecot-example.conf ${PKG_SYSCONFDIR}/dovecot.conf
1.1       salo       41:
1.26      jlam       42: INSTALLATION_DIRS=     libexec/dovecot sbin share/doc/dovecot          \
                     43:                        share/examples/dovecot
1.24      schmonz    44:
1.42      joerg      45: SUBST_CLASSES+=                paths
                     46: SUBST_FILES.paths=     dovecot-example.conf
                     47: SUBST_SED.paths+=      -e 's,@PREFIX@,${PREFIX},g'
1.44      ghen       48: SUBST_STAGE.paths=     pre-configure
1.1       salo       49:
1.111     ghen       50: BUILD_DEFS+=           VARBASE
                     51:
1.64      abs        52: post-build:
                     53:        ${SED} "s|/etc/ssl/|${SSLDIR}/|" ${WRKSRC}/dovecot-example.conf \
                     54:                                                > ${WRKDIR}/dovecot-example.conf
                     55:        ${SED} "s|/etc/ssl|${SSLDIR}|" ${WRKSRC}/doc/mkcert.sh \
                     56:                                                > ${WRKDIR}/mkcert.sh
                     57:
1.1       salo       58: post-install:
1.90      ghen       59:        ${INSTALL_DATA} ${WRKDIR}/dovecot-example.conf ${DESTDIR}${EGDIR}
1.76      joerg      60:        ${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${DESTDIR}${EGDIR}
                     61:        ${INSTALL_SCRIPT} ${WRKDIR}/mkcert.sh ${DESTDIR}${EGDIR}
1.101     ghen       62:        ${INSTALL_DATA} ${WRKSRC}/src/lib/liblib.a ${DESTDIR}${PREFIX}/lib/dovecot
1.1       salo       63:
1.44      ghen       64: .include "../../devel/zlib/buildlink3.mk"
1.1       salo       65: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>