Changeset 18695 for trunk/dports


Ignore:
Timestamp:
Jul 23, 2006, 2:56:53 AM (18 years ago)
Author:
yeled
Message:

update to latest

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/dovecot/Portfile

    r17975 r18695  
    1 # $Id: Portfile,v 1.17 2006/05/12 15:31:12 jberry Exp $
     1# $Id: Portfile,v 1.18 2006/07/23 02:56:53 yeled Exp $
    22
    33PortSystem                      1.0
    44
    55name                            dovecot
    6 version                         1.0.beta8
     6version                         1.0.rc2
     7epoch               20060722
    78
    89categories                      mail
     
    2021master_sites            ${homepage}releases/
    2122distname                        dovecot-${version}
    22 checksums                       rmd160 101a7011467691ba5f4a6f48e21d6d1dc5626c16
     23checksums                       rmd160  cbb1919f30ccc82033ddda5a9a4b2e9695f78eb9 \
     24                                        sha1    548d691166c71533cce05f72204d5f728941bab6 \
     25                                        md5     e27a248b2ee224e4618aa2f020150041
    2326
    24 depends_lib                     port:openssl
     27default_variants        +ssl
     28depends_lib                     port:libiconv port:pkgconfig port:zlib
    2529
    2630configure.args          --sysconfdir=${prefix}/etc/dovecot \
    2731                                        --localstatedir=${prefix}/var \
    28                                         --with-ssl=openssl \
    29                                         --with-ssl-dir=${prefix}/etc/ssl
    30 configure.env           CPPFLAGS="-I${prefix}/include/openssl -I${prefix}/include/pgsql8" LDFLAGS="-L${prefix}/lib/pgsql8 -L${prefix}/lib"
     32                                        --without-ssl
    3133
    3234post-configure {
     
    5456}
    5557
     58variant ssl {
     59                depends_lib-append      port:openssl
     60                configure.args-delete   --without-ssl
     61                configure.args-append   --with-ssl=openssl \
     62                        --with-ssl-dir=${prefix}/etc/ssl
     63                configure.env-append    CPPFLAGS="-I${prefix}/include/openssl" \
     64                        LDFLAGS="-L${prefix}/lib"
     65}
    5666
    5767variant postgres        {       
    5868        depends_lib-append      port:postgresql8
    5969        configure.args-append   --with-pgsql
     70        configure.env-append    LDFLAGS="-L${prefix}/lib/pgsql8" \
     71                CPPFLAGS="-I${prefix}/include/pgsql8"
    6072}
    6173
    6274variant rawlog  {       configure.args-append   --with-rawlog   }
    6375
    64 variant ldap    {       configure.args-append   --with-ldap     }
     76variant ldap    {       configure.args-append   --with-ldap     
     77                                depends_lib-append      port:openldap
     78}
    6579
    6680startupitem.create      yes
Note: See TracChangeset for help on using the changeset viewer.