Skip to content
Permalink
Browse files

update to latest

split +ssl out
split FLAGS for +postgres
add more ldap - but this doesn't work yet

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@18695 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Charlie Allom
Charlie Allom committed Jul 23, 2006
1 parent f83922b commit 6e32ad7290c4d0051d7f8c204c25b00aaf39129a
Showing with 22 additions and 8 deletions.
  1. +22 −8 mail/dovecot/Portfile
@@ -1,9 +1,10 @@
# $Id: Portfile,v 1.17 2006/05/12 15:31:12 jberry Exp $
# $Id: Portfile,v 1.18 2006/07/23 02:56:53 yeled Exp $

PortSystem 1.0

name dovecot
version 1.0.beta8
version 1.0.rc2
epoch 20060722

categories mail
maintainers yeled@opendarwin.org,jberry@opendarwin.org
@@ -19,15 +20,16 @@ homepage http://dovecot.org/

master_sites ${homepage}releases/
distname dovecot-${version}
checksums rmd160 101a7011467691ba5f4a6f48e21d6d1dc5626c16
checksums rmd160 cbb1919f30ccc82033ddda5a9a4b2e9695f78eb9 \
sha1 548d691166c71533cce05f72204d5f728941bab6 \
md5 e27a248b2ee224e4618aa2f020150041

depends_lib port:openssl
default_variants +ssl
depends_lib port:libiconv port:pkgconfig port:zlib

configure.args --sysconfdir=${prefix}/etc/dovecot \
--localstatedir=${prefix}/var \
--with-ssl=openssl \
--with-ssl-dir=${prefix}/etc/ssl
configure.env CPPFLAGS="-I${prefix}/include/openssl -I${prefix}/include/pgsql8" LDFLAGS="-L${prefix}/lib/pgsql8 -L${prefix}/lib"
--without-ssl

post-configure {
# madvise fails on darwin 7 and earlier, but is fixed on darwin 8
@@ -53,15 +55,27 @@ platform darwin 8 {
configure.args-append --with-ioloop=select
}

variant ssl {
depends_lib-append port:openssl
configure.args-delete --without-ssl
configure.args-append --with-ssl=openssl \
--with-ssl-dir=${prefix}/etc/ssl
configure.env-append CPPFLAGS="-I${prefix}/include/openssl" \
LDFLAGS="-L${prefix}/lib"
}

variant postgres {
depends_lib-append port:postgresql8
configure.args-append --with-pgsql
configure.env-append LDFLAGS="-L${prefix}/lib/pgsql8" \
CPPFLAGS="-I${prefix}/include/pgsql8"
}

variant rawlog { configure.args-append --with-rawlog }

variant ldap { configure.args-append --with-ldap }
variant ldap { configure.args-append --with-ldap
depends_lib-append port:openldap
}

startupitem.create yes
startupitem.name Dovecot

0 comments on commit 6e32ad7

Please sign in to comment.
You can’t perform that action at this time.