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

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

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

CVSweb <webmaster@jp.NetBSD.org>