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

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

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

CVSweb <webmaster@jp.NetBSD.org>