summaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-02-07 15:59:12 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2003-02-07 15:59:12 +0800
commitc91b6fab3b429a10e56e855c69f01de73ecbe088 (patch)
tree967450de697b6bd0866f764249661b5fa97c8016 /databases
parentbe93bf90fb47977b7739f9ce416c2416b0f169d7 (diff)
downloadmarcuscom-ports-c91b6fab3b429a10e56e855c69f01de73ecbe088.tar
marcuscom-ports-c91b6fab3b429a10e56e855c69f01de73ecbe088.tar.gz
marcuscom-ports-c91b6fab3b429a10e56e855c69f01de73ecbe088.tar.bz2
marcuscom-ports-c91b6fab3b429a10e56e855c69f01de73ecbe088.tar.lz
marcuscom-ports-c91b6fab3b429a10e56e855c69f01de73ecbe088.tar.xz
marcuscom-ports-c91b6fab3b429a10e56e855c69f01de73ecbe088.tar.zst
marcuscom-ports-c91b6fab3b429a10e56e855c69f01de73ecbe088.zip
Add libgda2.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@534 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'databases')
-rw-r--r--databases/libgda2/Makefile83
-rw-r--r--databases/libgda2/distinfo1
-rw-r--r--databases/libgda2/files/patch-aa11
-rw-r--r--databases/libgda2/files/patch-configure0
-rw-r--r--databases/libgda2/files/patch-doc_C_Makefile.in11
-rw-r--r--databases/libgda2/files/patch-ltmain.sh42
-rw-r--r--databases/libgda2/files/patch-tools_gda-config-tool.c11
-rw-r--r--databases/libgda2/pkg-comment1
-rw-r--r--databases/libgda2/pkg-descr19
-rw-r--r--databases/libgda2/pkg-plist219
10 files changed, 398 insertions, 0 deletions
diff --git a/databases/libgda2/Makefile b/databases/libgda2/Makefile
new file mode 100644
index 000000000..58b5add3d
--- /dev/null
+++ b/databases/libgda2/Makefile
@@ -0,0 +1,83 @@
+# New ports collection makefile for: libgda2
+# Date created: 02 June 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD: ports/databases/libgda2/Makefile,v 1.32 2003/01/19 19:54:19 marcus Exp $
+#
+
+PORTNAME= libgda2
+PORTVERSION= 0.10.0
+CATEGORIES= databases gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/0.10
+DISTNAME= libgda-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+
+BUILD_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
+LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm \
+ glib-2.0.200:${PORTSDIR}/devel/glib20 \
+ xslt.1:${PORTSDIR}/textproc/libxslt \
+ popt.0:${PORTSDIR}/devel/popt
+RUN_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomehier
+INSTALLS_SHLIB= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LIBS="-L${LOCALBASE}/lib -lintl -lgdbm"
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+
+MAN1= gda-config-tool.1
+MAN5= gda-config.5
+
+.if defined(WITH_MYSQL)
+LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
+CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
+PLIST_SUB= MYSQL=""
+.else
+CONFIGURE_ARGS+= --without-mysql
+PLIST_SUB= MYSQL="@comment "
+.endif
+
+.if defined(WITH_POSTGRES)
+POSTGRESQL_PORT?= databases/postgresql7
+LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+CONFIGURE_ARGS+= --with-postgres=${LOCALBASE}
+PLIST_SUB+= POSTGRES=""
+.else
+CONFIGURE_ARGS+= --without-postgres
+PLIST_SUB+= POSTGRES="@comment "
+.endif
+
+.if defined(WITH_LDAP)
+LIB_DEPENDS+= ldap.2:${PORTSDIR}/net/openldap2
+CONFIGURE_ARGS+= --with-ldap=${LOCALBASE}
+PLIST_SUB+= LDAP=""
+.else
+CONFIGURE_ARGS+= --without-ldap
+PLIST_SUB+= LDAP="@comment "
+.endif
+
+pre-extract:
+.if !defined(WITH_MYSQL)
+ @${ECHO_MSG} "You can enable support for MySQL databases by defining WITH_MYSQL."
+.endif
+.if !defined(WITH_POSTGRES)
+ @${ECHO_MSG} "You can enable support for Postgres databases by defining WITH_POSTGRES."
+.endif
+.if !defined(WITH_LDAP)
+ @${ECHO_MSG} "You can enable support for LDAP databases by defining WITH_LDAP."
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/databases/libgda2/distinfo b/databases/libgda2/distinfo
new file mode 100644
index 000000000..94e335653
--- /dev/null
+++ b/databases/libgda2/distinfo
@@ -0,0 +1 @@
+MD5 (gnome2/libgda-0.10.0.tar.bz2) = 7d8ab6091d7a90e4b92fe6d123e6ae88
diff --git a/databases/libgda2/files/patch-aa b/databases/libgda2/files/patch-aa
new file mode 100644
index 000000000..a090fe088
--- /dev/null
+++ b/databases/libgda2/files/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile.in.orig Thu Feb 6 23:01:24 2003
++++ Makefile.in Thu Feb 6 23:01:54 2003
+@@ -164,7 +164,7 @@
+ YACC = @YACC@
+ cxxflags_set = @cxxflags_set@
+
+-SUBDIRS = po libsql libgda providers report tools testing data doc
++SUBDIRS = po libsql libgda providers report tools data doc
+
+
+ EXTRA_DIST = COPYING libgda.spec intltool-extract.in intltool-merge.in intltool-update.in
diff --git a/databases/libgda2/files/patch-configure b/databases/libgda2/files/patch-configure
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/databases/libgda2/files/patch-configure
diff --git a/databases/libgda2/files/patch-doc_C_Makefile.in b/databases/libgda2/files/patch-doc_C_Makefile.in
new file mode 100644
index 000000000..718a4a1eb
--- /dev/null
+++ b/databases/libgda2/files/patch-doc_C_Makefile.in
@@ -0,0 +1,11 @@
+--- doc/C/Makefile.in.orig Sun Jun 2 22:17:05 2002
++++ doc/C/Makefile.in Sun Jun 2 22:17:27 2002
+@@ -152,7 +152,7 @@
+ cxxflags_set = @cxxflags_set@
+
+ DOC_MODULE = libgda
+-HTML_DIR = $(datadir)/gtk-doc/html
++HTML_DIR = $(prefix)/share/doc
+
+ # The top-level SGML file. Change it if you want.
+ DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml
diff --git a/databases/libgda2/files/patch-ltmain.sh b/databases/libgda2/files/patch-ltmain.sh
new file mode 100644
index 000000000..1c2fba5d5
--- /dev/null
+++ b/databases/libgda2/files/patch-ltmain.sh
@@ -0,0 +1,42 @@
+--- ltmain.sh.orig Fri Sep 13 15:38:11 2002
++++ ltmain.sh Fri Oct 11 01:44:24 2002
+@@ -1073,8 +1073,16 @@
+ continue
+ ;;
+
++ -pthread)
++ compile_command="$compile_command -pthread"
++ finalize_command="$finalize_command -pthread"
++ compiler_flags="$compiler_flags -pthread"
++ continue
++ ;;
++
+ -module)
+ module=yes
++ build_old_libs=no
+ continue
+ ;;
+
+@@ -2502,6 +2510,9 @@
+ *-*-openbsd*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
++ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test $build_libtool_need_lc = "yes"; then
+@@ -4286,10 +4297,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if /usr/bin/false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/databases/libgda2/files/patch-tools_gda-config-tool.c b/databases/libgda2/files/patch-tools_gda-config-tool.c
new file mode 100644
index 000000000..226aeeee7
--- /dev/null
+++ b/databases/libgda2/files/patch-tools_gda-config-tool.c
@@ -0,0 +1,11 @@
+--- tools/gda-config-tool.c.orig Fri Jul 26 16:19:17 2002
++++ tools/gda-config-tool.c Fri Jul 26 16:18:47 2002
+@@ -1136,7 +1136,7 @@
+ static char **
+ completion_func (const gchar *text, int start, int end)
+ {
+- return ((start == 0) ? rl_completion_matches (text, cmd_generator) :
++ return ((start == 0) ? completion_matches (text, cmd_generator) :
+ NULL);
+ }
+
diff --git a/databases/libgda2/pkg-comment b/databases/libgda2/pkg-comment
new file mode 100644
index 000000000..be18a121d
--- /dev/null
+++ b/databases/libgda2/pkg-comment
@@ -0,0 +1 @@
+Provides uniform access to different kinds of data sources
diff --git a/databases/libgda2/pkg-descr b/databases/libgda2/pkg-descr
new file mode 100644
index 000000000..12eb57b5e
--- /dev/null
+++ b/databases/libgda2/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/libgda2/pkg-plist b/databases/libgda2/pkg-plist
new file mode 100644
index 000000000..8882e5c23
--- /dev/null
+++ b/databases/libgda2/pkg-plist
@@ -0,0 +1,219 @@
+bin/gda-config-tool
+bin/gda-report-test
+bin/gda-run
+etc/libgda/config
+include/libgda-report/gda-report-document.h
+include/libgda-report/gda-report-item-detail.h
+include/libgda-report/gda-report-item-label.h
+include/libgda-report/gda-report-item-pagefooter.h
+include/libgda-report/gda-report-item-pageheader.h
+include/libgda-report/gda-report-item-repfield.h
+include/libgda-report/gda-report-item-report.h
+include/libgda-report/gda-report-item-reportfooter.h
+include/libgda-report/gda-report-item-reportheader.h
+include/libgda-report/gda-report-item-sqlquery.h
+include/libgda-report/gda-report-item.h
+include/libgda-report/gda-report-types.h
+include/libgda-report/gda-report-valid.h
+include/libgda-report/gda-report.h
+include/libgda/gda-client.h
+include/libgda/gda-command.h
+include/libgda/gda-config.h
+include/libgda/gda-connection.h
+include/libgda/gda-data-model-array.h
+include/libgda/gda-data-model-hash.h
+include/libgda/gda-data-model-list.h
+include/libgda/gda-data-model.h
+include/libgda/gda-error.h
+include/libgda/gda-export.h
+include/libgda/gda-field.h
+include/libgda/gda-log.h
+include/libgda/gda-marshal.h
+include/libgda/gda-parameter.h
+include/libgda/gda-quark-list.h
+include/libgda/gda-row.h
+include/libgda/gda-select.h
+include/libgda/gda-server-provider.h
+include/libgda/gda-table.h
+include/libgda/gda-transaction.h
+include/libgda/gda-util.h
+include/libgda/gda-value.h
+include/libgda/gda-xml-connection.h
+include/libgda/gda-xml-database.h
+include/libgda/gda-xml-document.h
+include/libgda/gda-xql-atom.h
+include/libgda/gda-xql-bin.h
+include/libgda/gda-xql-column.h
+include/libgda/gda-xql-const.h
+include/libgda/gda-xql-delete.h
+include/libgda/gda-xql-dml.h
+include/libgda/gda-xql-dual.h
+include/libgda/gda-xql-field.h
+include/libgda/gda-xql-func.h
+include/libgda/gda-xql-insert.h
+include/libgda/gda-xql-item.h
+include/libgda/gda-xql-join.h
+include/libgda/gda-xql-list.h
+include/libgda/gda-xql-query.h
+include/libgda/gda-xql-select.h
+include/libgda/gda-xql-stack.h
+include/libgda/gda-xql-target.h
+include/libgda/gda-xql-update.h
+include/libgda/gda-xql-utils.h
+include/libgda/gda-xql-value.h
+include/libgda/gda-xql-valueref.h
+include/libgda/libgda.h
+lib/libgda-2.a
+lib/libgda-2.so
+lib/libgda-2.so.1
+lib/libgda-report-2.a
+lib/libgda-report-2.so
+lib/libgda-report-2.so.1
+lib/libgdasql.a
+lib/libgdasql.so
+lib/libgdasql.so.0
+lib/libgda/providers/libgda-default.so
+%%LDAP%%lib/libgda/providers/libgda-ldap.so
+%%MYSQL%%lib/libgda/providers/libgda-mysql.so
+%%POSTGRES%%lib/libgda/providers/libgda-postgres.so
+libdata/pkgconfig/libgda.pc
+share/doc/libgda/architecture.html
+share/doc/libgda/c680.html
+share/doc/libgda/c685.html
+share/doc/libgda/c687.html
+share/doc/libgda/c689.html
+share/doc/libgda/compiling.html
+share/doc/libgda/connecting.html
+share/doc/libgda/connections.html
+share/doc/libgda/data-model.html
+share/doc/libgda/fdl-section1.html
+share/doc/libgda/fdl-section10.html
+share/doc/libgda/fdl-section2.html
+share/doc/libgda/fdl-section3.html
+share/doc/libgda/fdl-section4.html
+share/doc/libgda/fdl-section5.html
+share/doc/libgda/fdl-section6.html
+share/doc/libgda/fdl-section7.html
+share/doc/libgda/fdl-section8.html
+share/doc/libgda/fdl-section9.html
+share/doc/libgda/fdl-using.html
+share/doc/libgda/fdl.html
+share/doc/libgda/gdavalue.html
+share/doc/libgda/index.html
+share/doc/libgda/index.sgml
+share/doc/libgda/installation-configuring.html
+share/doc/libgda/installation-installing.html
+share/doc/libgda/installation.html
+share/doc/libgda/introduction.html
+share/doc/libgda/libgda-api.html
+share/doc/libgda/libgda-gda-command.html
+share/doc/libgda/libgda-gda-config.html
+share/doc/libgda/libgda-gda-field.html
+share/doc/libgda/libgda-gda-log.html
+share/doc/libgda/libgda-gda-parameter.html
+share/doc/libgda/libgda-gda-quark-list.html
+share/doc/libgda/libgda-gda-report-types.html
+share/doc/libgda/libgda-gda-row.html
+share/doc/libgda/libgda-gda-util.html
+share/doc/libgda/libgda-gda-value.html
+share/doc/libgda/libgda-gda-xql-utils.html
+share/doc/libgda/libgda-gdabatch.html
+share/doc/libgda/libgda-gdaclient.html
+share/doc/libgda/libgda-gdaconnection.html
+share/doc/libgda/libgda-gdadatamodel.html
+share/doc/libgda/libgda-gdadatamodelarray.html
+share/doc/libgda/libgda-gdadatamodelhash.html
+share/doc/libgda/libgda-gdadatamodellist.html
+share/doc/libgda/libgda-gdaerror.html
+share/doc/libgda/libgda-gdaexport.html
+share/doc/libgda/libgda-gdareportdocument.html
+share/doc/libgda/libgda-gdaselect.html
+share/doc/libgda/libgda-gdaserverprovider.html
+share/doc/libgda/libgda-gdatable.html
+share/doc/libgda/libgda-gdatransaction.html
+share/doc/libgda/libgda-gdaxmlconnection.html
+share/doc/libgda/libgda-gdaxmldatabase.html
+share/doc/libgda/libgda-gdaxmldocument.html
+share/doc/libgda/libgda-gdaxqlatom.html
+share/doc/libgda/libgda-gdaxqlbin.html
+share/doc/libgda/libgda-gdaxqlcolumn.html
+share/doc/libgda/libgda-gdaxqlconst.html
+share/doc/libgda/libgda-gdaxqldelete.html
+share/doc/libgda/libgda-gdaxqldml.html
+share/doc/libgda/libgda-gdaxqldual.html
+share/doc/libgda/libgda-gdaxqlfield.html
+share/doc/libgda/libgda-gdaxqlfunc.html
+share/doc/libgda/libgda-gdaxqlinsert.html
+share/doc/libgda/libgda-gdaxqlitem.html
+share/doc/libgda/libgda-gdaxqljoin.html
+share/doc/libgda/libgda-gdaxqllist.html
+share/doc/libgda/libgda-gdaxqlquery.html
+share/doc/libgda/libgda-gdaxqlselect.html
+share/doc/libgda/libgda-gdaxqlstack.html
+share/doc/libgda/libgda-gdaxqltarget.html
+share/doc/libgda/libgda-gdaxqlupdate.html
+share/doc/libgda/libgda-gdaxqlvalue.html
+share/doc/libgda/libgda-gdaxqlvalueref.html
+share/doc/libgda/libgda-libgda.html
+share/doc/libgda/libgda-provider-class.html
+share/doc/libgda/libgda-provider-recordset.html
+share/doc/libgda/libgda-providers.html
+share/doc/libgda/libgda-reports.html
+share/doc/libgda/libgda-xql.html
+share/doc/libgda/main_example.html
+share/doc/libgda/managing-errors.html
+share/doc/libgda/migration-configuration.html
+share/doc/libgda/migration-executing-commands.html
+share/doc/libgda/migration.html
+share/doc/libgda/processing-queries.html
+share/doc/libgda/x849.html
+share/doc/libgda/x851.html
+share/doc/libgda/x853.html
+share/doc/libgda/x878.html
+share/doc/libgda/x880.html
+share/doc/libgda/x882.html
+share/doc/libgda/x883.html
+share/doc/libgda/x885.html
+share/doc/libgda/x887.html
+share/gnome/libgda/xml/gda-report.dtd
+share/gnome/libgda/xml/gda-xml-query.dtd
+share/gnome/libgda/xml/gda-xml-query.xsl
+share/gnome/omf/libgda/libgda-C.omf
+share/locale/az/LC_MESSAGES/libgda-2.mo
+share/locale/ca/LC_MESSAGES/libgda-2.mo
+share/locale/cs/LC_MESSAGES/libgda-2.mo
+share/locale/da/LC_MESSAGES/libgda-2.mo
+share/locale/de/LC_MESSAGES/libgda-2.mo
+share/locale/el/LC_MESSAGES/libgda-2.mo
+share/locale/es/LC_MESSAGES/libgda-2.mo
+share/locale/fi/LC_MESSAGES/libgda-2.mo
+share/locale/fr/LC_MESSAGES/libgda-2.mo
+share/locale/ga/LC_MESSAGES/libgda-2.mo
+share/locale/gl/LC_MESSAGES/libgda-2.mo
+share/locale/hu/LC_MESSAGES/libgda-2.mo
+share/locale/it/LC_MESSAGES/libgda-2.mo
+share/locale/ja/LC_MESSAGES/libgda-2.mo
+share/locale/ko/LC_MESSAGES/libgda-2.mo
+share/locale/ms/LC_MESSAGES/libgda-2.mo
+share/locale/nl/LC_MESSAGES/libgda-2.mo
+share/locale/no/LC_MESSAGES/libgda-2.mo
+share/locale/pl/LC_MESSAGES/libgda-2.mo
+share/locale/pt/LC_MESSAGES/libgda-2.mo
+share/locale/pt_BR/LC_MESSAGES/libgda-2.mo
+share/locale/ru/LC_MESSAGES/libgda-2.mo
+share/locale/sk/LC_MESSAGES/libgda-2.mo
+share/locale/sl/LC_MESSAGES/libgda-2.mo
+share/locale/sv/LC_MESSAGES/libgda-2.mo
+share/locale/tr/LC_MESSAGES/libgda-2.mo
+share/locale/uk/LC_MESSAGES/libgda-2.mo
+share/locale/vi/LC_MESSAGES/libgda-2.mo
+share/locale/zh_CN/LC_MESSAGES/libgda-2.mo
+@dirrm share/gnome/omf/libgda
+@dirrm share/gnome/libgda/xml
+@dirrm share/gnome/libgda
+@dirrm lib/libgda/providers
+@dirrm lib/libgda
+@dirrm include/libgda/sql
+@dirrm include/libgda
+@dirrm include/libgda-report
+@dirrm etc/libgda