[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/Attic/Makefile between version 1.7 and 1.13

version 1.7, 2003/09/23 14:27:34 version 1.13, 2004/02/10 00:32:35
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  
   
 DISTNAME=               dovecot-0.99.10  DISTNAME=               dovecot-0.99.10.4
 PKGREVISION=            1  
 CATEGORIES=             mail  CATEGORIES=             mail
 MASTER_SITES=           http://dovecot.procontrol.fi/  MASTER_SITES=           http://dovecot.fi/
   
 PATCH_SITES=            ${MASTER_SITES}  PATCH_SITES=            http://www.roughtrade.net/dovecot/
 PATCHFILES=             auth-home.patch bodystructure.patch  PATCHFILES=             dovecot-crammd5-0.99.10.2.diff
 PATCH_DIST_STRIP=       -p1  PATCH_DIST_STRIP=       -p1
   
 MAINTAINER=             tom@replic8.net  MAINTAINER=             tom@replic8.net
 HOMEPAGE=               http://dovecot.procontrol.fi/  HOMEPAGE=               http://dovecot.fi/
 COMMENT=                Secure IMAP and POP3 server  COMMENT=                Secure IMAP and POP3 server
   
 USE_BUILDLINK2=         YES  USE_BUILDLINK3=         YES
 USE_LIBTOOL=            YES  USE_LIBTOOL=            YES
 USE_PKGINSTALL=         YES  USE_PKGINSTALL=         YES
 GNU_CONFIGURE=          YES  GNU_CONFIGURE=          YES
Line 27  CONFIGURE_ARGS+= --with-ssldir=${SSLCERT
Line 25  CONFIGURE_ARGS+= --with-ssldir=${SSLCERT
   
 .include "../../mk/bsd.prefs.mk"  .include "../../mk/bsd.prefs.mk"
   
 .if !empty(USE_OPENLDAP:M[Yy][Ee][Ss])  BUILD_DEFS+=            DOVECOT_USE_GNUTLS DOVECOT_USE_PGSQL    \
 CONFIGURE_ARGS+=        --with-ldap                          USE_INET6 USE_OPENLDAP USE_SASL2
 .include "../../databases/openldap/buildlink2.mk"  
 .endif  
   
 .if defined(USE_SASL2) && !empty(USE_SASL2:M[Yy][Ee][Ss])  
 CONFIGURE_ARGS+=        --with-cyrus-sasl2  
 .include "../../security/cyrus-sasl2/buildlink2.mk"  
 .endif  
   
 .if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])  
 BUILD_DEFS+=            USE_INET6  
 CONFIGURE_ARGS+=        --enable-ipv6  
 .endif  
   
 .if !empty(DOVECOT_USE_GNUTLS:M[Yy][Ee][Ss])  .if !empty(DOVECOT_USE_GNUTLS:M[Yy][Ee][Ss])
 CONFIGURE_ARGS+=        --enable-ssl=gnutls  CONFIGURE_ARGS+=        --enable-ssl=gnutls
 .include "../../security/gnutls/buildlink2.mk"  .  include "../../security/gnutls/buildlink3.mk"
 .else  .else
 CONFIGURE_ARGS+=        --enable-ssl=openssl  CONFIGURE_ARGS+=        --enable-ssl=openssl
 .include "../../security/openssl/buildlink2.mk"  .  include "../../security/openssl/buildlink3.mk"
 .endif  .endif
   
 .if !empty(DOVECOT_USE_PGSQL:M[Yy][Ee][Ss])  .if !empty(DOVECOT_USE_PGSQL:M[Yy][Ee][Ss])
 CONFIGURE_ARGS+=        --with-pgsql  CONFIGURE_ARGS+=        --with-pgsql
 CPPFLAGS=               -I${BUILDLINK_DIR}/include/pgsql  CPPFLAGS=               -I${BUILDLINK_DIR}/include/pgsql
 .include "../../databases/postgresql-lib/buildlink2.mk"  .  include "../../databases/postgresql-lib/buildlink3.mk"
   .endif
   
   .if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])
   CONFIGURE_ARGS+=        --enable-ipv6
   .endif
   
   .if !empty(USE_OPENLDAP:M[Yy][Ee][Ss])
   CONFIGURE_ARGS+=        --with-ldap
   .  include "../../databases/openldap/buildlink3.mk"
   .endif
   
   .if defined(USE_SASL2) && !empty(USE_SASL2:M[Yy][Ee][Ss])
   CONFIGURE_ARGS+=        --with-cyrus-sasl2
   .  include "../../security/cyrus-sasl2/buildlink3.mk"
 .endif  .endif
   
 RCD_SCRIPTS=    dovecot  RCD_SCRIPTS=    dovecot
Line 67  EGDIR=  ${PREFIX}/share/examples/dovecot
Line 67  EGDIR=  ${PREFIX}/share/examples/dovecot
 CONF_FILES=     ${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf  CONF_FILES=     ${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf
   
 post-configure:  post-configure:
         @cd ${WRKSRC} &&                                                \          @cd ${WRKSRC};                                                  \
         (                                                               \          for file in dovecot-example.conf; do                            \
                 ${MV} dovecot-example.conf dovecot-example.conf.orig;   \                  ${SED} ${FILES_SUBST_SED} $$file > $$file.new;          \
                 ${SED} ${FILES_SUBST_SED} dovecot-example.conf.orig >   \                  ${MV} -f $$file.new $$file;                             \
                         dovecot-example.conf;                           \          done
         )  
   
 post-install:  post-install:
         ${INSTALL_DATA_DIR} ${EGDIR}          ${INSTALL_DATA_DIR} ${EGDIR}

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.13

CVSweb <webmaster@jp.NetBSD.org>