diff options
-rw-r--r-- | databases/libgda4/Makefile | 150 | ||||
-rw-r--r-- | databases/libgda4/distinfo | 3 | ||||
-rw-r--r-- | databases/libgda4/pkg-descr | 19 | ||||
-rw-r--r-- | databases/libgda4/pkg-plist | 223 |
4 files changed, 395 insertions, 0 deletions
diff --git a/databases/libgda4/Makefile b/databases/libgda4/Makefile new file mode 100644 index 000000000..888202cbf --- /dev/null +++ b/databases/libgda4/Makefile @@ -0,0 +1,150 @@ +# New ports collection makefile for: libgda2 +# Date created: 02 June 2002 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports-stable/databases/libgda4/Makefile,v 1.2 2009/04/18 20:16:29 marcus Exp $ +# + +PORTNAME= libgda4 +PORTVERSION?= 4.0.8 +PORTREVISION?= 0 +CATEGORIES= databases gnome +MASTER_SITES= GNOME +MASTER_SITE_SUBDIR= sources/${PORTNAME:S/4$//}/${PORTVERSION:R} +DISTNAME= libgda-${PORTVERSION} +DIST_SUBDIR= gnome2 + +MAINTAINER?= gnome@FreeBSD.org +COMMENT?= Provides uniform access to different kinds of data sources + +USE_BZIP2= yes +LIBGDA4_SLAVE?= no + +.if !defined(REFERENCE_PORT) + +BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection +LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \ + soup-2.4.1:${PORTSDIR}/devel/libsoup \ + json-glib-1.0.0:${PORTSDIR}/devel/json-glib +RUN_DEPENDS= ${LOCALBASE}/lib/girepository-1.0/GObject-2.0.typelib:${PORTSDIR}/devel/gobject-introspection + +USE_AUTOTOOLS= libtool:22 +USE_GETTEXT= yes +USE_GMAKE= yes +USE_GNOME= gnomeprefix gnomehack glib20 libxslt intlhack referencehack +USE_LDCONFIG= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --without-sybase \ + --enable-introspection +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LIBS="-L${LOCALBASE}/lib -lintl" + +.include <bsd.port.pre.mk> + +#VERSION= ${PORTVERSION:R} +VERSION= 4.0 +PLIST_SUB= VERSION=${VERSION} + +.if ${LIBGDA4_SLAVE}=="no" +MAN1= gda-sql.1 gda-sql-4.0.1 +.else +USE_GNOME+= libgda4 +.endif + +.if ${LIBGDA4_SLAVE}=="bdb" +USE_BDB= yes +CONFIGURE_ARGS+= --with-bdb=${LOCALBASE} +.else +CONFIGURE_ARGS+= --without-bdb +.endif + +.if ${LIBGDA4_SLAVE}=="mysql" +USE_MYSQL= yes +CONFIGURE_ARGS+= --with-mysql=${LOCALBASE} +.else +CONFIGURE_ARGS+= --without-mysql +.endif + +.if ${LIBGDA4_SLAVE}=="postgresql" +USE_PGSQL= yes +CONFIGURE_ARGS+= --with-postgres=${LOCALBASE} +.else +CONFIGURE_ARGS+= --without-postgres +.endif + +.if ${LIBGDA4_SLAVE}=="ldap" +USE_OPENLDAP= yes +CONFIGURE_ARGS+= --with-ldap=${LOCALBASE} +.else +CONFIGURE_ARGS+= --without-ldap +.endif + +.if ${LIBGDA4_SLAVE}=="firebird" +LIB_DEPENDS+= gds.2:${PORTSDIR}/databases/firebird2-client +CONFIGURE_ARGS+= --with-firebird=${LOCALBASE} +.else +CONFIGURE_ARGS+= --without-firebird +.endif + +.if ${LIBGDA4_SLAVE}=="freetds" +LIB_DEPENDS+= tds.5:${PORTSDIR}/databases/freetds +CONFIGURE_ARGS+= --with-tds=${LOCALBASE} +.else +CONFIGURE_ARGS+= --without-tds +.endif + +# MDB (MS Access) +.if ${LIBGDA4_SLAVE}=="mdb" +LIB_DEPENDS+= mdbsql.0:${PORTSDIR}/databases/mdbtools +CONFIGURE_ARGS+= --with-mdb=${LOCALBASE} +.else +CONFIGURE_ARGS+= --without-mdb +.endif + +.if ${LIBGDA4_SLAVE}=="odbc" +LIB_DEPENDS+= odbc.1:${PORTSDIR}/databases/unixODBC +CONFIGURE_ARGS+= --with-odbc=${LOCALBASE} +.else +CONFIGURE_ARGS+= --without-odbc +.endif + +.if ${LIBGDA4_SLAVE}=="jdbc" +USE_JAVA= yes +JAVA_VENDOR= bsdjava openjdk +.if ${OSVERSION} < 700000 +BROKEN= does not configure on 6.x +.elif ${OSVERSION} < 800000 +BROKEN= does not compile on 7.x +.endif +.else +CONFIGURE_ARGS+= --without-java +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|-ldl||g' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|include/db.h|include/db${BDB_VER}/db.h|g' \ + -e 's|ldb47|ldb${BDB_VER}|g' \ + -e 's|ldb|ldb${BDB_VER}|g' \ + -e 's|libdb|libdb${BDB_VER}|g' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|<db\.h>|<db${BDB_VER}/db.h>|' \ + ${WRKSRC}/providers/bdb/gda-bdb-provider.c \ + ${WRKSRC}/providers/bdb/gda-bdb-test.c +.if ${LIBGDA4_SLAVE}!="no" +#. for d in msql firebird odbc freetds mdb ldap mysql sqlite postgres +. for d in bdb jdbc mdb mysql postgres + @${REINPLACE_CMD} -e 's|$$(top_builddir)/libgda/libgda-4.0.la|${LOCALBASE}/lib/libgda-4.0.la|g' \ + ${WRKSRC}/providers/${d}/Makefile.in +. endfor +.endif + +.if ${LIBGDA4_SLAVE}=="no" +post-install: + ${INSTALL_DATA} ${WRKSRC}/data/config \ + ${PREFIX}/etc/libgda-${VERSION}/config.default +.endif + +.include <bsd.port.post.mk> +.endif diff --git a/databases/libgda4/distinfo b/databases/libgda4/distinfo new file mode 100644 index 000000000..eed091dfa --- /dev/null +++ b/databases/libgda4/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/libgda-4.0.8.tar.bz2) = 3e4a55f370805cda9ac415211da4aacc +SHA256 (gnome2/libgda-4.0.8.tar.bz2) = c731cd8015f63a3bff37341cb8ffc4d8086a535d960af098194968ac87555788 +SIZE (gnome2/libgda-4.0.8.tar.bz2) = 8229914 diff --git a/databases/libgda4/pkg-descr b/databases/libgda4/pkg-descr new file mode 100644 index 000000000..12eb57b5e --- /dev/null +++ b/databases/libgda4/pkg-descr @@ -0,0 +1,19 @@ +GNU Data Access (GDA) is an attempt to provide uniform access to +different kinds of data sources (databases, information servers, +mail spools, etc). + +It is a complete architecture that provides all you need to access +your data, defined by a set of CORBA interfaces as generic as possible +(but very powerful at the same time) so that any kind of data source +can be accessed through them. + +libgda is an interface to the GDA architecture, providing a nice +wrapper around the CORBA interfaces, for both the client and the server +parts. It also provides a bunch of tools to help you both in the +development and management of your data sources, all done through +the GDA model's set of CORBA interfaces. + +libgda was part of the GNOME-DB project, but has been separated from it +to allow non-GNOME applications to be developed based on it. + +WWW: http://www.gnome-db.org/ diff --git a/databases/libgda4/pkg-plist b/databases/libgda4/pkg-plist new file mode 100644 index 000000000..90fa91768 --- /dev/null +++ b/databases/libgda4/pkg-plist @@ -0,0 +1,223 @@ +bin/gda-list-config-%%VERSION%% +bin/gda-list-config +bin/gda-list-server-op-%%VERSION%% +bin/gda-list-server-op +bin/gda-sql-%%VERSION%% +bin/gda-sql +bin/gda-test-connection-%%VERSION%% +bin/gda_trml2html/__init__.py +bin/gda_trml2html/trml2html.py +bin/gda_trml2html/utils.py +bin/gda_trml2pdf/__init__.py +bin/gda_trml2pdf/color.py +bin/gda_trml2pdf/trml2pdf.py +bin/gda_trml2pdf/utils.py +@unexec if cmp -s %D/etc/libgda-%%VERSION%%/config %D/etc/libgda-%%VERSION%%/config.default; then rm -f %D/etc/libgda-%%VERSION%%/config; fi +etc/libgda-%%VERSION%%/config.default +@exec [ -f %B/config ] || cp %B/%f %B/config +etc/libgda-%%VERSION%%/sales_test.db +include/libgda-%%VERSION%%/libgda-report/gda-report-docbook-document.h +include/libgda-%%VERSION%%/libgda-report/gda-report-document.h +include/libgda-%%VERSION%%/libgda-report/gda-report-engine.h +include/libgda-%%VERSION%%/libgda-report/gda-report-rml-document.h +include/libgda-%%VERSION%%/libgda-report/libgda-report.h +include/libgda-%%VERSION%%/libgda-xslt/libgda-xslt.h +include/libgda-%%VERSION%%/libgda/gda-attributes-manager.h +include/libgda-%%VERSION%%/libgda/gda-batch.h +include/libgda-%%VERSION%%/libgda/gda-binreloc.h +include/libgda-%%VERSION%%/libgda/gda-blob-op.h +include/libgda-%%VERSION%%/libgda/gda-column.h +include/libgda-%%VERSION%%/libgda/gda-config.h +include/libgda-%%VERSION%%/libgda/gda-connection-event.h +include/libgda-%%VERSION%%/libgda/gda-connection-private.h +include/libgda-%%VERSION%%/libgda/gda-connection.h +include/libgda-%%VERSION%%/libgda/gda-data-access-wrapper.h +include/libgda-%%VERSION%%/libgda/gda-data-comparator.h +include/libgda-%%VERSION%%/libgda/gda-data-handler.h +include/libgda-%%VERSION%%/libgda/gda-data-model-array.h +include/libgda-%%VERSION%%/libgda/gda-data-model-dir.h +include/libgda-%%VERSION%%/libgda/gda-data-model-extra.h +include/libgda-%%VERSION%%/libgda/gda-data-model-import.h +include/libgda-%%VERSION%%/libgda/gda-data-model-iter.h +include/libgda-%%VERSION%%/libgda/gda-data-model-iter-extra.h +include/libgda-%%VERSION%%/libgda/gda-data-model-private.h +include/libgda-%%VERSION%%/libgda/gda-data-model.h +include/libgda-%%VERSION%%/libgda/gda-data-proxy.h +include/libgda-%%VERSION%%/libgda/gda-data-select.h +include/libgda-%%VERSION%%/libgda/gda-debug-macros.h +include/libgda-%%VERSION%%/libgda/gda-decl.h +include/libgda-%%VERSION%%/libgda/gda-easy.h +include/libgda-%%VERSION%%/libgda/gda-enum-types.h +include/libgda-%%VERSION%%/libgda/gda-enums.h +include/libgda-%%VERSION%%/libgda/gda-holder.h +include/libgda-%%VERSION%%/libgda/gda-lockable.h +include/libgda-%%VERSION%%/libgda/gda-log.h +include/libgda-%%VERSION%%/libgda/gda-marshal.h +include/libgda-%%VERSION%%/libgda/gda-meta-store.h +include/libgda-%%VERSION%%/libgda/gda-meta-struct.h +include/libgda-%%VERSION%%/libgda/gda-mutex.h +include/libgda-%%VERSION%%/libgda/gda-quark-list.h +include/libgda-%%VERSION%%/libgda/gda-row.h +include/libgda-%%VERSION%%/libgda/gda-server-operation.h +include/libgda-%%VERSION%%/libgda/gda-server-provider-extra.h +include/libgda-%%VERSION%%/libgda/gda-server-provider-private.h +include/libgda-%%VERSION%%/libgda/gda-server-provider.h +include/libgda-%%VERSION%%/libgda/gda-set.h +include/libgda-%%VERSION%%/libgda/gda-statement-extra.h +include/libgda-%%VERSION%%/libgda/gda-statement.h +include/libgda-%%VERSION%%/libgda/gda-transaction-status-private.h +include/libgda-%%VERSION%%/libgda/gda-transaction-status.h +include/libgda-%%VERSION%%/libgda/gda-util.h +include/libgda-%%VERSION%%/libgda/gda-value.h +include/libgda-%%VERSION%%/libgda/gda-xa-transaction.h +include/libgda-%%VERSION%%/libgda/handlers/gda-handler-bin.h +include/libgda-%%VERSION%%/libgda/handlers/gda-handler-boolean.h +include/libgda-%%VERSION%%/libgda/handlers/gda-handler-numerical.h +include/libgda-%%VERSION%%/libgda/handlers/gda-handler-string.h +include/libgda-%%VERSION%%/libgda/handlers/gda-handler-time.h +include/libgda-%%VERSION%%/libgda/handlers/gda-handler-type.h +include/libgda-%%VERSION%%/libgda/libgda.h +include/libgda-%%VERSION%%/libgda/providers-support/gda-data-select-priv.h +include/libgda-%%VERSION%%/libgda/providers-support/gda-meta-column-types.h +include/libgda-%%VERSION%%/libgda/providers-support/gda-pstmt.h +include/libgda-%%VERSION%%/libgda/sql-parser/gda-sql-parser-enum-types.h +include/libgda-%%VERSION%%/libgda/sql-parser/gda-sql-parser.h +include/libgda-%%VERSION%%/libgda/sql-parser/gda-sql-statement.h +include/libgda-%%VERSION%%/libgda/sql-parser/gda-statement-struct-compound.h +include/libgda-%%VERSION%%/libgda/sql-parser/gda-statement-struct-decl.h +include/libgda-%%VERSION%%/libgda/sql-parser/gda-statement-struct-delete.h +include/libgda-%%VERSION%%/libgda/sql-parser/gda-statement-struct-insert.h +include/libgda-%%VERSION%%/libgda/sql-parser/gda-statement-struct-parts.h +include/libgda-%%VERSION%%/libgda/sql-parser/gda-statement-struct-pspec.h +include/libgda-%%VERSION%%/libgda/sql-parser/gda-statement-struct-select.h +include/libgda-%%VERSION%%/libgda/sql-parser/gda-statement-struct-trans.h +include/libgda-%%VERSION%%/libgda/sql-parser/gda-statement-struct-unknown.h +include/libgda-%%VERSION%%/libgda/sql-parser/gda-statement-struct-update.h +include/libgda-%%VERSION%%/libgda/sql-parser/gda-statement-struct-util.h +include/libgda-%%VERSION%%/libgda/sql-parser/gda-statement-struct.h +include/libgda-%%VERSION%%/libgda/sqlite/gda-sqlite-provider.h +include/libgda-%%VERSION%%/libgda/virtual/gda-vconnection-data-model.h +include/libgda-%%VERSION%%/libgda/virtual/gda-vconnection-hub.h +include/libgda-%%VERSION%%/libgda/virtual/gda-virtual-connection.h +include/libgda-%%VERSION%%/libgda/virtual/gda-virtual-provider.h +include/libgda-%%VERSION%%/libgda/virtual/gda-vprovider-data-model.h +include/libgda-%%VERSION%%/libgda/virtual/gda-vprovider-hub.h +include/libgda-%%VERSION%%/libgda/virtual/libgda-virtual.h +lib/girepository-1.0/Gda-4.0.typelib +lib/libgda-%%VERSION%%.a +lib/libgda-%%VERSION%%.la +lib/libgda-%%VERSION%%.so +lib/libgda-%%VERSION%%.so.4 +lib/libgda-%%VERSION%%/providers/libgda-sqlite.a +lib/libgda-%%VERSION%%/providers/libgda-sqlite.la +lib/libgda-%%VERSION%%/providers/libgda-sqlite.so +lib/libgda-report-%%VERSION%%.a +lib/libgda-report-%%VERSION%%.la +lib/libgda-report-%%VERSION%%.so +lib/libgda-report-%%VERSION%%.so.4 +lib/libgda-xslt-%%VERSION%%.a +lib/libgda-xslt-%%VERSION%%.la +lib/libgda-xslt-%%VERSION%%.so +lib/libgda-xslt-%%VERSION%%.so.4 +libdata/pkgconfig/libgda-%%VERSION%%.pc +libdata/pkgconfig/libgda-report-%%VERSION%%.pc +libdata/pkgconfig/libgda-sqlite-%%VERSION%%.pc +libdata/pkgconfig/libgda-xslt-%%VERSION%%.pc +share/gir-1.0/Gda-4.0.gir +share/libgda-%%VERSION%%/dtd/libgda-array.dtd +share/libgda-%%VERSION%%/dtd/libgda-paramlist.dtd +share/libgda-%%VERSION%%/dtd/libgda-server-operation.dtd +share/libgda-%%VERSION%%/information_schema.xml +share/libgda-%%VERSION%%/sqlite_specs_add_column.xml +share/libgda-%%VERSION%%/sqlite_specs_create_db.xml +share/libgda-%%VERSION%%/sqlite_specs_create_index.xml +share/libgda-%%VERSION%%/sqlite_specs_create_table.xml +share/libgda-%%VERSION%%/sqlite_specs_create_view.xml +share/libgda-%%VERSION%%/sqlite_specs_drop_db.xml +share/libgda-%%VERSION%%/sqlite_specs_drop_index.xml +share/libgda-%%VERSION%%/sqlite_specs_drop_table.xml +share/libgda-%%VERSION%%/sqlite_specs_drop_view.xml +share/libgda-%%VERSION%%/sqlite_specs_dsn.xml +share/libgda-%%VERSION%%/sqlite_specs_rename_table.xml +share/libgda-%%VERSION%%/web/cnc.js +share/libgda-%%VERSION%%/web/gda-print.css +share/libgda-%%VERSION%%/web/gda.css +share/libgda-%%VERSION%%/web/irb.css +share/libgda-%%VERSION%%/web/irb.js +share/libgda-%%VERSION%%/web/jquery.js +share/libgda-%%VERSION%%/web/md5.js +share/libgda-%%VERSION%%/web/mouseapp_2.js +share/libgda-%%VERSION%%/web/mouseirb_2.js +share/locale/ar/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/az/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/ca/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/cs/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/da/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/de/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/dz/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/el/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/en_CA/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/en_GB/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/es/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/eu/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/fa/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/fi/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/fr/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/ga/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/gl/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/hr/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/hu/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/it/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/ja/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/ko/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/lt/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/mk/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/ml/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/ms/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/nb/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/ne/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/nl/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/oc/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/pa/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/pl/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/pt/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/pt_BR/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/ru/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/rw/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/sk/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/sl/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/sq/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/sr/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/sr@Latn/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/sv/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/tr/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/uk/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/vi/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/zh_CN/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/zh_HK/LC_MESSAGES/libgda-%%VERSION%%.mo +share/locale/zh_TW/LC_MESSAGES/libgda-%%VERSION%%.mo +@dirrm share/libgda-%%VERSION%%/web +@dirrm share/libgda-%%VERSION%%/dtd +@dirrm share/libgda-%%VERSION%%/ +@dirrm lib/libgda-%%VERSION%%/providers +@dirrm lib/libgda-%%VERSION%% +@dirrm include/libgda-%%VERSION%%/libgda/virtual +@dirrm include/libgda-%%VERSION%%/libgda/sqlite +@dirrm include/libgda-%%VERSION%%/libgda/sql-parser +@dirrm include/libgda-%%VERSION%%/libgda/providers-support +@dirrm include/libgda-%%VERSION%%/libgda/handlers +@dirrm include/libgda-%%VERSION%%/libgda-xslt +@dirrm include/libgda-%%VERSION%%/libgda-report +@dirrm include/libgda-%%VERSION%%/libgda +@dirrm include/libgda-%%VERSION%% +@dirrmtry etc/libgda-%%VERSION%% +@dirrm bin/gda_trml2pdf +@dirrm bin/gda_trml2html +@dirrmtry share/locale/zh_HK/LC_MESSAGES +@dirrmtry share/locale/zh_HK +@dirrmtry share/locale/rw/LC_MESSAGES +@dirrmtry share/locale/rw +@dirrmtry share/locale/oc/LC_MESSAGES +@dirrmtry share/locale/oc +@dirrmtry share/locale/dz/LC_MESSAGES +@dirrmtry share/locale/dz |