diff options
author | jlam <jlam@pkgsrc.org> | 2004-08-01 07:04:45 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-08-01 07:04:45 +0000 |
commit | 6a1fcb90b74133c33b08a0a3d14ea4a8d29983d7 (patch) | |
tree | ed0a9d162d5957f3ae28482b0fad6f078db3d69b /mail/dovecot/Makefile | |
parent | 32473b3ebdbeda6161f1d234737f2061505ba264 (diff) | |
download | pkgsrc-6a1fcb90b74133c33b08a0a3d14ea4a8d29983d7.tar.gz |
Convert to use bsd.options.mk.
Diffstat (limited to 'mail/dovecot/Makefile')
-rw-r--r-- | mail/dovecot/Makefile | 42 |
1 files changed, 4 insertions, 38 deletions
diff --git a/mail/dovecot/Makefile b/mail/dovecot/Makefile index ba3ae35c30d..04e0d75c7a8 100644 --- a/mail/dovecot/Makefile +++ b/mail/dovecot/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2004/08/01 05:17:19 schmonz Exp $ +# $NetBSD: Makefile,v 1.26 2004/08/01 07:04:45 jlam Exp $ DISTNAME= dovecot-0.99.10.9 CATEGORIES= mail @@ -29,42 +29,7 @@ CONFIGURE_ARGS+= --with-ssldir=${SSLCERTS} CONFIGURE_ENV+= F77=${FALSE} .include "../../mk/bsd.prefs.mk" - -BUILD_DEFS+= DOVECOT_USE_GNUTLS DOVECOT_USE_MYSQL \ - DOVECOT_USE_PGSQL USE_INET6 USE_OPENLDAP USE_SASL2 - -.if !empty(DOVECOT_USE_GNUTLS:M[Yy][Ee][Ss]) -CONFIGURE_ARGS+= --enable-ssl=gnutls -. include "../../security/gnutls/buildlink3.mk" -.else -CONFIGURE_ARGS+= --enable-ssl=openssl -. include "../../security/openssl/buildlink3.mk" -.endif - -.if !empty(DOVECOT_USE_MYSQL:M[Yy][Ee][SS]) -CONFIGURE_ARGS+= --with-mysql -. include "../../databases/mysql4-client/buildlink3.mk" -.endif - -.if !empty(DOVECOT_USE_PGSQL:M[Yy][Ee][Ss]) -CONFIGURE_ARGS+= --with-pgsql -CPPFLAGS= -I${BUILDLINK_DIR}/include/pgsql -. include "../../mk/pgsql.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 +.include "options.mk" RCD_SCRIPTS= dovecot @@ -76,7 +41,8 @@ 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 -INSTALLATION_DIRS= libexec/dovecot sbin share/doc/dovecot share/examples/dovecot +INSTALLATION_DIRS= libexec/dovecot sbin share/doc/dovecot \ + share/examples/dovecot post-configure: @cd ${WRKSRC}; \ |