[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.1 and 1.62

version 1.1, 2003/05/14 04:17:31 version 1.62, 2006/08/03 05:33:50
Line 1 
Line 1 
 # $NetBSD$  # $NetBSD$
 #  
   
 DISTNAME=       dovecot-0.99.9.1  DISTNAME=               dovecot-1.0.rc5
 CATEGORIES=     mail  PKGNAME=                ${DISTNAME:S/.rc/rc/}
 MASTER_SITES=   http://dovecot.procontrol.fi/  CATEGORIES=             mail
   MASTER_SITES=           http://www.dovecot.org/releases/
 PATCH_SITES=    ${MASTER_SITES}  
 PATCHFILES=     freebsd.patch fetch.patch  MAINTAINER=             ghen@NetBSD.org
   HOMEPAGE=               http://www.dovecot.org/
 MAINTAINER=     packages@netbsd.org  COMMENT=                Secure IMAP and POP3 server
 HOMEPAGE=       http://dovecot.procontrol.fi/  
 COMMENT=        Secure IMAP and POP3 server  PKG_INSTALLATION_TYPES= overwrite pkgviews
   
 USE_BUILDLINK2= YES  USE_LIBTOOL=            yes
 USE_LIBTOOL=    YES  GNU_CONFIGURE=          yes
 USE_PKGINSTALL= YES  USE_TOOLS+=             pkg-config
 GNU_CONFIGURE=  YES  
   CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFDIR:Q}
 LIBTOOL_OVERRIDE=       ${WRKSRC}/libtool  CONFIGURE_ARGS+=        --localstatedir=${VARBASE:Q}
   CONFIGURE_ARGS+=        --with-ssldir=${SSLCERTS:Q}
 CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFDIR}  
 CONFIGURE_ARGS+=        --localstatedir=/var  .include "../../mk/bsd.prefs.mk"
 CONFIGURE_ARGS+=        --with-ssldir=/etc/openssl  .include "options.mk"
   
 DOVECOT_USE_GNUTLS?=    NO  RCD_SCRIPTS=            dovecot
   
 .if !empty(DOVECOT_USE_GNUTLS:M[Yy][Ee][Ss])  DOVECOT_USER?=          dovecot
 CONFIGURE_ARGS+=        --enable-ssl=gnutls  DOVECOT_GROUP?=         dovecot
 .include "../../security/gnutls/buildlink2.mk"  PKG_GROUPS=             ${DOVECOT_GROUP}
 .else  PKG_USERS=              ${DOVECOT_USER}:${DOVECOT_GROUP}
 CONFIGURE_ARGS+=        --enable-ssl=openssl  
 .include "../../security/openssl/buildlink2.mk"  PKG_GECOS.${DOVECOT_USER}=      Dovecot IMAP/POP3 user
 .endif  
   EGDIR=                  ${PREFIX}/share/examples/dovecot
 DOVECOT_USE_LDAP?=      NO  CONF_FILES=             ${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf
   
 .if !empty(DOVECOT_USE_LDAP:M[Yy][Ee][Ss])  INSTALLATION_DIRS=      libexec/dovecot sbin share/doc/dovecot          \
 CONFIGURE_ARGS+=        --with-ldap                          share/examples/dovecot
 .include "../../databases/openldap/buildlink2.mk"  
 .endif  SUBST_CLASSES+=         paths
   SUBST_FILES.paths=      dovecot-example.conf
 DOVECOT_USE_PGSQL?=     NO  SUBST_SED.paths+=       -e 's,@PREFIX@,${PREFIX},g'
   SUBST_STAGE.paths=      pre-configure
 .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  
   
 .if defined(USE_INET6) && !empty(USE_INET6:M[Yy][Ee][Ss])  
 BUILD_DEFS+=            USE_INET6  
 CONFIGURE_ARGS+=        --enable-ipv6  
 .endif  
   
 RCD_SCRIPTS=    dovecot  
   
 DOVECOT_USER?=  dovecot  
 DOVECOT_GROUP?= dovecot  
 PKG_GROUPS=     ${DOVECOT_GROUP}  
 PKG_USERS=      ${DOVECOT_USER}:${DOVECOT_GROUP}::Dovecot\\ IMAP/POP3\\ user  
   
 EGDIR=          ${PREFIX}/share/examples/dovecot  
 CONF_FILES=     ${EGDIR}/dovecot.conf.default ${PKG_SYSCONFDIR}/dovecot.conf  
   
 post-configure:  
         @cd ${WRKSRC} &&                                                \  
         (                                                               \  
                 ${MV} dovecot-example.conf dovecot-example.conf.orig;   \  
                 ${SED} ${FILES_SUBST_SED} dovecot-example.conf.orig >   \  
                         dovecot-example.conf;                           \  
         )  
   
 post-install:  post-install:
         ${INSTALL_DATA_DIR} ${EGDIR}          ${INSTALL_DATA_DIR} ${EGDIR}
Line 78  post-install:
Line 49  post-install:
         ${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${EGDIR}          ${INSTALL_DATA} ${WRKSRC}/doc/dovecot-* ${EGDIR}
         ${INSTALL_SCRIPT} ${WRKSRC}/doc/mkcert.sh ${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.1  
changed lines
  Added in v.1.62

CVSweb <webmaster@jp.NetBSD.org>