Revision: 144363 https://trac.macports.org/changeset/144363 Author: devans@macports.org Date: 2016-01-06 20:17:37 -0800 (Wed, 06 Jan 2016) Log Message: ----------- libgda4: mark obsolete, replaced by libgda5, no dependents. Modified Paths: -------------- trunk/dports/databases/libgda4/Portfile Removed Paths: ------------- trunk/dports/databases/libgda4/files/ Modified: trunk/dports/databases/libgda4/Portfile =================================================================== --- trunk/dports/databases/libgda4/Portfile 2016-01-07 04:16:10 UTC (rev 144362) +++ trunk/dports/databases/libgda4/Portfile 2016-01-07 04:17:37 UTC (rev 144363) @@ -2,179 +2,12 @@ # $Id$ PortSystem 1.0 -PortGroup gobject_introspection 1.0 name libgda4 -set gname libgda version 4.2.13 -revision 9 +revision 10 license {GPL-2 LGPL} - -set branch [join [lrange [split ${version} .] 0 1] .] -description GDA provides uniform access to different kinds of data sources. -long_description \ - GNU Data Access (GDA) is an attempt to provide \ - uniform access to different kinds of data sources \ - (databases, information servers, mail spools, etc). This is a legacy \ - version that provides library support for ports that have not yet \ - upgraded to the current stable version. For new development and/or \ - GTK+ GUI tools please install libgda5 instead. - -maintainers devans openmaintainer categories databases gnome -platforms darwin -homepage http://www.gnome-db.org/ -distname libgda-${version} -master_sites gnome:sources/${gname}/${branch}/ -use_xz yes -checksums rmd160 f487af2620fc241e6608a80b863b40a81ea3c548 \ - sha256 25b75951f8f38fd58a403389566a0aae2f83b39d4225bc3acf5f2d68895ab4c3 - -depends_build port:pkgconfig \ - port:intltool \ - port:gtk-doc \ - port:gnome-doc-utils \ - port:gnome-common \ - port:autoconf \ - port:automake \ - port:libtool - -depends_lib port:desktop-file-utils \ - port:readline \ - port:libunique \ - port:libgcrypt \ - port:iso-codes \ - port:libsoup \ - port:libtool \ - port:libxslt - -gobject_introspection yes - -patchfiles patch-bdb.diff \ - patch-libgda_gda-data-select.c.diff \ - patch-G_TYPE_ERROR.diff \ - patch-introspection-1.36.diff \ - patch-gir-warnings.diff - -# reconfigure using upstream autogen.sh for intltool 0.51 compatibility - -post-patch { - xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} -} - -configure.cmd ./autogen.sh - -# -# use embedded libsqlite3 rather than the system version -# to avoid dlopen 'Can't find file libsqlite3.so' errors -# -# since this is a legacy version of libgda, disable the -# gtk ui which conflicts with current version libgda5 -# - -configure.args --enable-system-sqlite=no \ - --disable-silent-rules \ - --enable-gda-gi \ - --disable-gdaui-gi \ - --without-ui \ - --without-bdb \ - --without-gnome-keyring \ - --without-graphviz \ - --without-mysql \ - --without-postgres \ - --without-oracle \ - --without-firebird \ - --without-java \ - --without-jni - -use_parallel_build no - -variant with_mysql5 \ - description {support for current MySQL 5.x} { - depends_lib-append path:bin/mysql_config5:mysql5 - configure.env-append \ - MYSQL_CONFIG=${prefix}/lib/mysql5/bin/mysql_config - configure.args-delete --without-mysql - configure.args-append --with-mysql=${prefix}/lib/mysql5 - configure.cppflags-append "-I${prefix}/include/mysql5/mysql" -} - -variant with_postgresql83 conflicts with_postgresql84 with_postgresql90 \ - description {support for PostgreSQL 8.3.x} { - configure.cppflags-append "-I${prefix}/include/postgresql83" - depends_lib-append port:postgresql83 - configure.args-delete --without-postgres - configure.args-append --with-postgres=${prefix}/lib/postgresql83 -} - -variant with_postgresql84 conflicts with_postgresql83 with_postgresql90 \ - description {support for PostgreSQL 8.4.x} { - configure.cppflags-append "-I${prefix}/include/postgresql84" - depends_lib-append port:postgresql84 - configure.args-delete --without-postgres - configure.args-append --with-postgres=${prefix}/lib/postgresql84 -} - -variant with_postgresql90 conflicts with_postgresql83 with_postgresql84 \ - description {support for PostgreSQL 9.0.x} { - configure.cppflags-append "-I${prefix}/include/postgresql90" - depends_lib-append port:postgresql90 - configure.args-delete --without-postgres - configure.args-append --with-postgres=${prefix}/lib/postgresql90 -} - -variant db47 conflicts db48 db51 \ - description {support for Berkeley DB 4.7.x} { - set db_version 47 - depends_lib-append port:db${db_version} - configure.cppflags-append "-I${prefix}/include/db${db_version}" - configure.args-delete --without-bdb - configure.args-append --with-bdb=${prefix} \ - --with-bdb-libdir-name=lib/db${db_version} -} - -variant db48 conflicts db47 db51 \ - description {support for Berkeley DB 4.8.x} { - set db_version 48 - depends_lib-append port:db${db_version} - configure.cppflags-append "-I${prefix}/include/db${db_version}" - configure.args-delete --without-bdb - configure.args-append --with-bdb=${prefix} \ - --with-bdb-libdir-name=lib/db${db_version} -} - -variant db51 conflicts db47 db48 \ - description {support for Berkeley DB 5.1.x} { - set db_version 51 - depends_lib-append port:db${db_version} - configure.cppflags-append "-I${prefix}/include/db${db_version}" - configure.args-delete --without-bdb - configure.args-append --with-bdb=${prefix} \ - --with-bdb-libdir-name=lib/db${db_version} -} - -if {![variant_isset db47] && ![variant_isset db48]} { - default_variants +db51 -} - -# -# delete non-versioned symbolic links to version specific binaries -# and man pages to avoid conflicts with other libgda versions -# - -post-destroot { - delete ${destroot}${prefix}/bin/gda-list-config - delete ${destroot}${prefix}/bin/gda-list-server-op - delete ${destroot}${prefix}/bin/gda-sql - delete ${destroot}${prefix}/share/man/man1/gda-sql.1 -} - -post-activate { - system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor" - system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" -} - -livecheck.type gnome -livecheck.name ${gname} -livecheck.regex {LATEST-IS-(4\.\d*[02468](?:\.\d+)*)} +replaced_by libgda5 +PortGroup obsolete 1.0