Changeset 89444


Ignore:
Timestamp:
Jan 29, 2012, 3:50:25 PM (9 years ago)
Author:
jwa@…
Message:

version bump to 5.0.3, change tarball format to xz, change variant names to current, make bdb the default variant, add postgresql91, too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/libgda5/Portfile

    r88422 r89444  
    77conflicts       libgda3 libgda4
    88set gname       libgda
    9 version         5.0.1
     9version         5.0.3
    1010license         {GPL-2 LGPL}
    1111
     
    2222distname        libgda-${version}
    2323master_sites    gnome:sources/${gname}/${branch}/
    24 use_bzip2       yes
     24use_xz          yes
    2525
    26 checksums           md5     581d88637c7a40148c94332395e4953c \
    27                     sha1    df5f8bde7d24a475926a311910edc74d89bc08cd \
    28                     rmd160  2ba15f7ddd83740d25ca2b9f73812bf6586d0852
     26checksums           rmd160  b72781633aec2f139ce6fe1d34006513cd58f7ef \
     27                    sha256  82d204361b794103c366bb690484d25814bfc653cb97da0dfcf7c0a13409d1cc
    2928
    3029#patchfiles      patch-configure.ac.diff
     
    4342                port:libtool
    4443
    45 #
    46 # prefer Berkeley DB 4.7 over 4.6
    47 # and depend on it if 4.6 is not installed
    48 # if both are installed configure will select 4.7
    49 # otherwise look for 4.6
    50 #
    51 
    52 if (![variant_isset without_bdb]) {
    53     if !([file exists ${prefix}/include/db46/db.h]) {
    54         depends_lib-append port:db47
    55     } elseif ([file exists ${prefix}/include/db47/db.h])  {
    56         depends_lib-append port:db47
    57     } else {
    58         depends_lib-append port:db46
    59     }
    60 }
     44default_variants        +bdb
    6145
    6246#use_autoreconf    yes
     
    8064use_parallel_build no
    8165
    82 variant with_mysql5 \
     66variant mysql5 \
    8367    description {support for current MySQL 5.x} {
    8468        depends_lib-append      path:bin/mysql_config5:mysql5
     
    9074}
    9175
    92 variant with_postgresql83 conflicts with_postgresql84 with_postgresql90 \
     76variant postgresql83 conflicts postgresql84 postgresql90 postgresql91 \
    9377    description {support for PostgreSQL 8.3.x} {
    9478        configure.cppflags-append       "-I${prefix}/include/postgresql83"
     
    9882}
    9983
    100 variant with_postgresql84 conflicts with_postgresql83 with_postgresql90 \
     84variant postgresql84 conflicts postgresql83 postgresql90 postgresql91 \
    10185    description {support for PostgreSQL 8.4.x} {
    10286        configure.cppflags-append       "-I${prefix}/include/postgresql84"
     
    10690}
    10791
    108 variant with_postgresql90 conflicts with_postgresql83 with_postgresql84 \
     92variant postgresql90 conflicts postgresql83 postgresql84 postgresql91 \
    10993    description {support for PostgreSQL 9.0.x} {
    11094        configure.cppflags-append       "-I${prefix}/include/postgresql90"
     
    11498}
    11599
    116 variant without_bdb \
    117     description {remove support for Berkeley DB} {
    118         configure.args-delete   --with-bdb=${prefix}
    119         configure.args-append   --without-bdb
     100variant postgresql91 conflicts postgresql83 postgresql84 postgresql90 \
     101    description {support for PostgreSQL 9.1.x} {
     102        configure.cppflags-append       "-I${prefix}/include/postgresql91"
     103        depends_lib-append      port:postgresql91
     104        configure.args-delete   --without-postgres
     105        configure.args-append   --with-postgres=${prefix}/lib/postgresql91
     106}
     107
     108variant bdb     description {support for Berkeley DB} {
     109#
     110# prefer Berkeley DB 4.7 over 4.6
     111# and depend on it if 4.6 is not installed
     112# if both are installed configure will select 4.7
     113# otherwise look for 4.6
     114#
     115    if ([file exists ${prefix}/include/db52/db.h]) {
     116        depends_lib-append port:db52
     117    } elseif ([file exists ${prefix}/include/db46/db.h])  {
     118        depends_lib-append port:db46
     119    } elseif ([file exists ${prefix}/include/db47/db.h])  {
     120        depends_lib-append port:db47
     121    } elseif ([file exists ${prefix}/include/db48/db.h])  {
     122        depends_lib-append port:db48
     123    } elseif ([file exists ${prefix}/include/db51/db.h])  {
     124        depends_lib-append port:db51
     125    }
    120126}
    121127
Note: See TracChangeset for help on using the changeset viewer.