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

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /pkgsrc/mail/dovecot/Makefile between version 1.124 and 1.196

version 1.124, 2008/11/24 09:54:29 version 1.196, 2019/07/20 22:46:30
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
   
 DISTNAME=               dovecot-1.1.7  DOVECOT_VERSION=        1.2
   DOVECOT_SUBVERSION=     .17
   SIEVE_VERSION=          0.1.19
   MANAGESIEVE_VERSION=    0.11.13
   DISTNAME=               dovecot-${DOVECOT_VERSION}${DOVECOT_SUBVERSION}
   PKGREVISION=            32
 CATEGORIES=             mail  CATEGORIES=             mail
 MASTER_SITES=           http://www.dovecot.org/releases/1.1/  MASTER_SITES=           http://www.dovecot.org/releases/${DOVECOT_VERSION}/
   DOVECOT_SIEVE_SITES=    http://pigeonhole.dovecot.org/releases/${DOVECOT_VERSION}/
   
 MAINTAINER=             ghen@NetBSD.org  MANAGESIEVE_PATCH=                      dovecot-${DOVECOT_VERSION}${DOVECOT_SUBVERSION}-managesieve-${MANAGESIEVE_VERSION}.diff.gz
 HOMEPAGE=               http://www.dovecot.org/  SITES.${MANAGESIEVE_PATCH}=     ${DOVECOT_SIEVE_SITES}
   PATCH_DIST_STRIP.${MANAGESIEVE_PATCH}=  -p1
   
   MAINTAINER=             pkgsrc-users@NetBSD.org
   HOMEPAGE=               https://www.dovecot.org/
 COMMENT=                Secure IMAP and POP3 server  COMMENT=                Secure IMAP and POP3 server
   LICENSE=                mit AND gnu-lgpl-v2.1 AND modified-bsd
   
 PKG_INSTALLATION_TYPES= overwrite pkgviews  # This package is eol as of May, 2011.  As of April, 2017, it remains
 PKG_DESTDIR_SUPPORT=    user-destdir  # because at least one user reported still using it.
   
 USE_LIBTOOL=            yes  USE_LIBTOOL=            yes
   USE_TOOLS+=             pkg-config rpcgen
 GNU_CONFIGURE=          yes  GNU_CONFIGURE=          yes
 USE_TOOLS+=             pkg-config  
 USE_TOOLS+=             rpcgen  
   
 CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFDIR:Q}  
 CONFIGURE_ARGS+=        --localstatedir=${VARBASE:Q}  
 CONFIGURE_ARGS+=        --with-ssldir=${SSLDIR:Q}  
 CONFIGURE_ARGS+=        --enable-header-install  CONFIGURE_ARGS+=        --enable-header-install
   CONFIGURE_ARGS+=        --localstatedir=${VARBASE}
   CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFDIR}
   CONFIGURE_ARGS+=        --with-ssldir=${SSLDIR}
   
 .include "../../mk/bsd.prefs.mk"  .include "../../mk/bsd.prefs.mk"
 .include "options.mk"  .include "options.mk"
Line 35  PKG_USERS_VARS+= DOVECOT_USER
Line 44  PKG_USERS_VARS+= DOVECOT_USER
   
 PKG_GECOS.${DOVECOT_USER}=      Dovecot IMAP/POP3 user  PKG_GECOS.${DOVECOT_USER}=      Dovecot IMAP/POP3 user
   
 EGDIR=                  ${PREFIX}/share/examples/dovecot  EGDIR=          ${PREFIX}/share/examples/dovecot
 CONF_FILES=             ${EGDIR}/dovecot-example.conf ${PKG_SYSCONFDIR}/dovecot.conf  CONF_FILES=     ${EGDIR}/dovecot-example.conf ${PKG_SYSCONFDIR}/dovecot.conf
   
 INSTALLATION_DIRS=      libexec/dovecot sbin share/doc/dovecot          \  INSTALLATION_DIRS+=     libexec/dovecot sbin share/doc/dovecot          \
                         share/examples/dovecot                          share/examples/dovecot
   
 SUBST_CLASSES+=         paths  SUBST_CLASSES+=         paths
 SUBST_FILES.paths=      dovecot-example.conf  SUBST_FILES.paths=      dovecot-example.conf
 SUBST_SED.paths+=       -e 's,@PREFIX@,${PREFIX},g'  SUBST_VARS.paths=       PREFIX
 SUBST_STAGE.paths=      pre-configure  SUBST_STAGE.paths=      pre-configure
   
 BUILD_DEFS+=            VARBASE  BUILD_DEFS+=            VARBASE
Line 53  post-build:
Line 62  post-build:
                                                 > ${WRKDIR}/dovecot-example.conf                                                  > ${WRKDIR}/dovecot-example.conf
         ${SED} "s|/etc/ssl|${SSLDIR}|" ${WRKSRC}/doc/mkcert.sh \          ${SED} "s|/etc/ssl|${SSLDIR}|" ${WRKSRC}/doc/mkcert.sh \
                                                 > ${WRKDIR}/mkcert.sh                                                  > ${WRKDIR}/mkcert.sh
   .if !empty(PKG_OPTIONS:Mdovecot-sieve)
   # We need dovecot built in order to be able to configure sieve.
           cd ${WRKSRC.sieve} \
           && env ${CONFIGURE_ENV} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} ${CONFIGURE_ARGS.sieve}
           cd ${WRKSRC.sieve} \
           && env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} -f ${MAKE_FILE} ${BUILD_TARGET}
   .endif
   .if !empty(PKG_OPTIONS:Mdovecot-managesieve)
   # Wee need sieve built in order to configure and build managesieve. Sigh.
           cd ${WRKSRC.managesieve} \
           && env ${CONFIGURE_ENV} ${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} ${CONFIGURE_ARGS.managesieve}
           cd ${WRKSRC.managesieve} \
           && env ${MAKE_ENV} ${MAKE_PROGRAM} ${BUILD_MAKE_FLAGS} -f ${MAKE_FILE} ${BUILD_TARGET}
   .endif
   
 post-install:  post-install:
         ${INSTALL_DATA} ${WRKDIR}/dovecot-example.conf ${DESTDIR}${EGDIR}          ${INSTALL_DATA} ${WRKDIR}/dovecot-example.conf ${DESTDIR}${EGDIR}
Line 60  post-install:
Line 83  post-install:
         ${INSTALL_SCRIPT} ${WRKDIR}/mkcert.sh ${DESTDIR}${EGDIR}          ${INSTALL_SCRIPT} ${WRKDIR}/mkcert.sh ${DESTDIR}${EGDIR}
         ${INSTALL_DATA} ${WRKSRC}/src/lib/liblib.a ${DESTDIR}${PREFIX}/lib/dovecot          ${INSTALL_DATA} ${WRKSRC}/src/lib/liblib.a ${DESTDIR}${PREFIX}/lib/dovecot
   
   .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"  .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.124  
changed lines
  Added in v.1.196

CVSweb <webmaster@jp.NetBSD.org>