Changeset 144363


Ignore:
Timestamp:
Jan 7, 2016, 4:17:37 AM (4 years ago)
Author:
devans@…
Message:

libgda4: mark obsolete, replaced by libgda5, no dependents.

Location:
trunk/dports/databases/libgda4
Files:
1 deleted
1 edited

Legend:

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

    r144187 r144363  
    33
    44PortSystem      1.0
    5 PortGroup       gobject_introspection 1.0
    65
    76name            libgda4
    8 set gname       libgda
    97version         4.2.13
    10 revision        9
     8revision        10
    119license         {GPL-2 LGPL}
     10categories      databases gnome
    1211
    13 set branch      [join [lrange [split ${version} .] 0 1] .]
    14 description     GDA provides uniform access to different kinds of data sources.
    15 long_description \
    16                 GNU Data Access (GDA) is an attempt to provide \
    17                 uniform access to different kinds of data sources \
    18                 (databases, information servers, mail spools, etc). This is a legacy \
    19                 version that provides library support for ports that have not yet \
    20                 upgraded to the current stable version.  For new development and/or \
    21                 GTK+ GUI tools please install libgda5 instead.
    22 
    23 maintainers     devans openmaintainer
    24 categories      databases gnome
    25 platforms       darwin
    26 homepage        http://www.gnome-db.org/
    27 distname        libgda-${version}
    28 master_sites    gnome:sources/${gname}/${branch}/
    29 use_xz          yes
    30 
    31 checksums       rmd160  f487af2620fc241e6608a80b863b40a81ea3c548 \
    32                 sha256  25b75951f8f38fd58a403389566a0aae2f83b39d4225bc3acf5f2d68895ab4c3
    33 
    34 depends_build   port:pkgconfig \
    35                 port:intltool \
    36                 port:gtk-doc \
    37                 port:gnome-doc-utils \
    38                 port:gnome-common \
    39                 port:autoconf \
    40                 port:automake \
    41                 port:libtool
    42 
    43 depends_lib     port:desktop-file-utils \
    44                 port:readline \
    45                 port:libunique \
    46                 port:libgcrypt \
    47                 port:iso-codes \
    48                 port:libsoup \
    49                 port:libtool \
    50                 port:libxslt
    51 
    52 gobject_introspection yes
    53 
    54 patchfiles      patch-bdb.diff \
    55                 patch-libgda_gda-data-select.c.diff \
    56                 patch-G_TYPE_ERROR.diff \
    57                 patch-introspection-1.36.diff \
    58                 patch-gir-warnings.diff
    59 
    60 # reconfigure using upstream autogen.sh for intltool 0.51 compatibility
    61 
    62 post-patch {
    63     xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
    64 }
    65 
    66 configure.cmd   ./autogen.sh
    67 
    68 #
    69 # use embedded libsqlite3 rather than the system version
    70 # to avoid dlopen 'Can't find file libsqlite3.so' errors
    71 #
    72 # since this is a legacy version of libgda, disable the
    73 # gtk ui which conflicts with current version libgda5
    74 #
    75 
    76 configure.args  --enable-system-sqlite=no \
    77                 --disable-silent-rules \
    78                 --enable-gda-gi \
    79                 --disable-gdaui-gi \
    80                 --without-ui \
    81                 --without-bdb \
    82                 --without-gnome-keyring \
    83                 --without-graphviz \
    84                 --without-mysql \
    85                 --without-postgres \
    86                 --without-oracle \
    87                 --without-firebird \
    88                 --without-java \
    89                 --without-jni
    90 
    91 use_parallel_build no
    92 
    93 variant with_mysql5 \
    94     description {support for current MySQL 5.x} {
    95     depends_lib-append  path:bin/mysql_config5:mysql5
    96     configure.env-append    \
    97         MYSQL_CONFIG=${prefix}/lib/mysql5/bin/mysql_config
    98     configure.args-delete   --without-mysql
    99     configure.args-append   --with-mysql=${prefix}/lib/mysql5
    100     configure.cppflags-append   "-I${prefix}/include/mysql5/mysql"
    101 }
    102 
    103 variant with_postgresql83 conflicts with_postgresql84 with_postgresql90 \
    104     description {support for PostgreSQL 8.3.x} {
    105     configure.cppflags-append   "-I${prefix}/include/postgresql83"
    106     depends_lib-append  port:postgresql83
    107     configure.args-delete   --without-postgres
    108     configure.args-append   --with-postgres=${prefix}/lib/postgresql83
    109 }
    110 
    111 variant with_postgresql84 conflicts with_postgresql83 with_postgresql90 \
    112     description {support for PostgreSQL 8.4.x} {
    113     configure.cppflags-append   "-I${prefix}/include/postgresql84"
    114     depends_lib-append  port:postgresql84
    115     configure.args-delete   --without-postgres
    116     configure.args-append   --with-postgres=${prefix}/lib/postgresql84
    117 }
    118 
    119 variant with_postgresql90 conflicts with_postgresql83 with_postgresql84 \
    120     description {support for PostgreSQL 9.0.x} {
    121     configure.cppflags-append   "-I${prefix}/include/postgresql90"
    122     depends_lib-append  port:postgresql90
    123     configure.args-delete   --without-postgres
    124     configure.args-append   --with-postgres=${prefix}/lib/postgresql90
    125 }
    126 
    127 variant db47 conflicts db48 db51  \
    128     description {support for Berkeley DB 4.7.x} {
    129     set db_version 47
    130     depends_lib-append  port:db${db_version}
    131     configure.cppflags-append "-I${prefix}/include/db${db_version}"
    132     configure.args-delete   --without-bdb
    133     configure.args-append   --with-bdb=${prefix} \
    134                             --with-bdb-libdir-name=lib/db${db_version}
    135 }
    136 
    137 variant db48 conflicts db47 db51 \
    138     description {support for Berkeley DB 4.8.x} {
    139     set db_version 48
    140     depends_lib-append  port:db${db_version}
    141     configure.cppflags-append "-I${prefix}/include/db${db_version}"
    142     configure.args-delete   --without-bdb
    143     configure.args-append   --with-bdb=${prefix} \
    144                             --with-bdb-libdir-name=lib/db${db_version}
    145 }
    146 
    147 variant db51 conflicts db47 db48 \
    148     description {support for Berkeley DB 5.1.x} {
    149     set db_version 51
    150     depends_lib-append  port:db${db_version}
    151     configure.cppflags-append "-I${prefix}/include/db${db_version}"
    152     configure.args-delete   --without-bdb
    153     configure.args-append   --with-bdb=${prefix} \
    154                             --with-bdb-libdir-name=lib/db${db_version}
    155 }
    156 
    157 if {![variant_isset db47] && ![variant_isset db48]} {
    158     default_variants +db51
    159 }
    160 
    161 #
    162 # delete non-versioned symbolic links to version specific binaries
    163 # and man pages to avoid conflicts with other libgda versions
    164 #
    165  
    166 post-destroot {
    167     delete ${destroot}${prefix}/bin/gda-list-config
    168     delete ${destroot}${prefix}/bin/gda-list-server-op
    169     delete ${destroot}${prefix}/bin/gda-sql
    170     delete ${destroot}${prefix}/share/man/man1/gda-sql.1
    171 }
    172  
    173 post-activate {
    174     system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
    175     system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
    176 }
    177 
    178 livecheck.type gnome
    179 livecheck.name ${gname}
    180 livecheck.regex {LATEST-IS-(4\.\d*[02468](?:\.\d+)*)}
     12replaced_by     libgda5
     13PortGroup       obsolete 1.0
Note: See TracChangeset for help on using the changeset viewer.