[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.6 and 1.40

version 1.6, 2003/09/23 13:54:25 version 1.40, 2005/12/29 06:21:48
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  
   
 DISTNAME=               dovecot-0.99.10  DISTNAME=               dovecot-0.99.14
 PKGREVISION=            1  PKGREVISION=            1
 CATEGORIES=             mail  CATEGORIES=             mail
 MASTER_SITES=           http://dovecot.procontrol.fi/  MASTER_SITES=           http://www.dovecot.org/releases/
   
 PATCH_SITES=            ${MASTER_SITES}  MAINTAINER=             xtraeme@NetBSD.org
 PATCHFILES=             auth-home.patch bodystructure.patch  HOMEPAGE=               http://www.dovecot.org/
 PATCH_DIST_STRIP=       -p1  
   
 MAINTAINER=             tom@replic8.net  
 HOMEPAGE=               http://dovecot.procontrol.fi/  
 COMMENT=                Secure IMAP and POP3 server  COMMENT=                Secure IMAP and POP3 server
   
 USE_BUILDLINK2=         YES  PKG_INSTALLATION_TYPES= overwrite pkgviews
 USE_LIBTOOL=            YES  
 USE_PKGINSTALL=         YES  
 GNU_CONFIGURE=          YES  
   
 LIBTOOL_OVERRIDE=       ${WRKSRC}/libtool  
   
 CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFDIR}  
 CONFIGURE_ARGS+=        --localstatedir=/var  
 CONFIGURE_ARGS+=        --with-ssldir=/etc/openssl  
   
 .include "../../mk/bsd.prefs.mk"  WRKSRC=                 ${WRKDIR}/${DISTNAME:S/.1$//}
   USE_LIBTOOL=            yes
   GNU_CONFIGURE=          yes
   
   CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFDIR:Q}
   CONFIGURE_ARGS+=        --localstatedir=${VARBASE:Q}
   CONFIGURE_ARGS+=        --with-ssldir=${SSLCERTS:Q}
   
 .if !empty(USE_OPENLDAP:M[Yy][Ee][Ss])  .include "../../mk/bsd.prefs.mk"
 CONFIGURE_ARGS+=        --with-ldap  .include "options.mk"
 .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])  
 CONFIGURE_ARGS+=        --enable-ssl=gnutls  
 .include "../../security/gnutls/buildlink2.mk"  
 .else  
 CONFIGURE_ARGS+=        --enable-ssl=openssl  
 .include "../../security/openssl/buildlink2.mk"  
 .endif  
   
 .if !empty(DOVECOT_USE_PGSQL:M[Yy][Ee][Ss])  
 CONFIGURE_ARGS+=        --with-pgsql  
 CPPFLAGS=               -I${BUILDLINK_DIR}/include/pgsql  
 .include "../../databases/postgresql-lib/buildlink2.mk"  
 .endif  
   
 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}::Dovecot\ IMAP/POP3\ user
   
 EGDIR=          ${PREFIX}/share/examples/dovecot  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
   
   INSTALLATION_DIRS=      libexec/dovecot sbin share/doc/dovecot          \
                           share/examples/dovecot
   
 post-configure:  post-configure:
         @cd ${WRKSRC} &&                                                \          @cd ${WRKSRC};                                                  \
         (                                                               \          for i in dovecot-example.conf; do                               \
                 ${MV} dovecot-example.conf dovecot-example.conf.orig;   \                  ${SED} ${FILES_SUBST_SED} $$i > $$i.new;                \
                 ${SED} ${FILES_SUBST_SED} dovecot-example.conf.orig >   \                  ${MV} -f $$i.new $$i;                                   \
                         dovecot-example.conf;                           \          done
         )  
   
 post-install:  post-install:
         ${INSTALL_DATA_DIR} ${EGDIR}          ${INSTALL_DATA_DIR} ${EGDIR}

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.40

CVSweb <webmaster@jp.NetBSD.org>