[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.32 and 1.82

version 1.32, 2005/01/23 10:00:12 version 1.82, 2007/02/02 15:07:02
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
   
 DISTNAME=               dovecot-0.99.13  DISTNAME=               dovecot-1.0.rc21
   PKGNAME=                ${DISTNAME:S/.rc/rc/}
 CATEGORIES=             mail  CATEGORIES=             mail
 MASTER_SITES=           http://www.dovecot.org/releases/  MASTER_SITES=           http://www.dovecot.org/releases/
   
 MAINTAINER=             tom@replic8.net  MAINTAINER=             ghen@NetBSD.org
 HOMEPAGE=               http://www.dovecot.org/  HOMEPAGE=               http://www.dovecot.org/
 COMMENT=                Secure IMAP and POP3 server  COMMENT=                Secure IMAP and POP3 server
   
 PKG_INSTALLATION_TYPES= overwrite pkgviews  PKG_INSTALLATION_TYPES= overwrite pkgviews
   PKG_DESTDIR_SUPPORT=    user-destdir
   
 WRKSRC=                 ${WRKDIR}/${DISTNAME:S/.1$//}  
 USE_BUILDLINK3=         yes  
 USE_LIBTOOL=            yes  USE_LIBTOOL=            yes
 USE_PKGINSTALL=         yes  
 GNU_CONFIGURE=          yes  GNU_CONFIGURE=          yes
   USE_TOOLS+=             pkg-config
   
 CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFDIR}  CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFDIR:Q}
 CONFIGURE_ARGS+=        --localstatedir=${VARBASE}  CONFIGURE_ARGS+=        --localstatedir=${VARBASE:Q}
 CONFIGURE_ARGS+=        --with-ssldir=${SSLCERTS}  CONFIGURE_ARGS+=        --with-ssldir=${SSLDIR:Q}
   
 .include "../../mk/bsd.prefs.mk"  .include "../../mk/bsd.prefs.mk"
 .include "options.mk"  .include "options.mk"
   
 RCD_SCRIPTS=    dovecot  RCD_SCRIPTS=            dovecot
   
 DOVECOT_USER?=  dovecot  DOVECOT_USER?=          dovecot
 DOVECOT_GROUP?= dovecot  DOVECOT_GROUP?=         dovecot
 PKG_GROUPS=     ${DOVECOT_GROUP}  PKG_GROUPS=             ${DOVECOT_GROUP}
 PKG_USERS=      ${DOVECOT_USER}:${DOVECOT_GROUP}::Dovecot\\ IMAP/POP3\\ user  PKG_USERS=              ${DOVECOT_USER}:${DOVECOT_GROUP}
   
 EGDIR=          ${PREFIX}/share/examples/dovecot  PKG_GECOS.${DOVECOT_USER}=      Dovecot IMAP/POP3 user
 CONF_FILES=     ${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf  
   EGDIR=                  ${PREFIX}/share/examples/dovecot
   CONF_FILES=             ${EGDIR}/dovecot.conf.default ${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
   
 post-configure:  SUBST_CLASSES+=         paths
         @cd ${WRKSRC};                                                  \  SUBST_FILES.paths=      dovecot-example.conf
         for i in dovecot-example.conf; do                               \  SUBST_SED.paths+=       -e 's,@PREFIX@,${PREFIX},g'
                 ${SED} ${FILES_SUBST_SED} $$i > $$i.new;                \  SUBST_STAGE.paths=      pre-configure
                 ${MV} -f $$i.new $$i;                                   \  
         done  post-build:
           ${SED} "s|/etc/ssl/|${SSLDIR}/|" ${WRKSRC}/dovecot-example.conf \
                                                   > ${WRKDIR}/dovecot-example.conf
           ${SED} "s|/etc/ssl|${SSLDIR}|" ${WRKSRC}/doc/mkcert.sh \
                                                   > ${WRKDIR}/mkcert.sh
   
 post-install:  post-install:
         ${INSTALL_DATA_DIR} ${EGDIR}          ${INSTALL_DATA} ${WRKDIR}/dovecot-example.conf  \
         ${INSTALL_DATA} ${WRKSRC}/dovecot-example.conf  \                  ${DESTDIR}${EGDIR}/dovecot.conf.default
                 ${EGDIR}/dovecot.conf.default          ${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${DESTDIR}${EGDIR}
         ${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${EGDIR}          ${INSTALL_SCRIPT} ${WRKDIR}/mkcert.sh ${DESTDIR}${EGDIR}
         ${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${EGDIR}  
   
   .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"  .include "../../mk/bsd.pkg.mk"

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.82

CVSweb <webmaster@jp.NetBSD.org>