diff options
author | ijliao <ijliao@FreeBSD.org> | 2001-04-27 15:40:58 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2001-04-27 15:40:58 +0800 |
commit | 954373a6c088c011d6a34807f77706e1ca8b31aa (patch) | |
tree | 8edb1b9d04ed3082cc873f5654bd26214c6eb92b /databases/mdbtools | |
parent | 396f87b084c568129096adb310af53836a79c4aa (diff) | |
download | freebsd-ports-gnome-954373a6c088c011d6a34807f77706e1ca8b31aa.tar.gz freebsd-ports-gnome-954373a6c088c011d6a34807f77706e1ca8b31aa.tar.zst freebsd-ports-gnome-954373a6c088c011d6a34807f77706e1ca8b31aa.zip |
add mdbtools
Utilities and libraries to export data from MS Access databases (.mdb)
PR: 26855
Submitted by: Anders Nordby <anders@fix.no>
Diffstat (limited to 'databases/mdbtools')
-rw-r--r-- | databases/mdbtools/Makefile | 34 | ||||
-rw-r--r-- | databases/mdbtools/distinfo | 1 | ||||
-rw-r--r-- | databases/mdbtools/files/patch-aa | 13 | ||||
-rw-r--r-- | databases/mdbtools/files/patch-ab | 14 | ||||
-rw-r--r-- | databases/mdbtools/files/patch-ac | 14 | ||||
-rw-r--r-- | databases/mdbtools/files/patch-ad | 14 | ||||
-rw-r--r-- | databases/mdbtools/pkg-comment | 1 | ||||
-rw-r--r-- | databases/mdbtools/pkg-descr | 15 | ||||
-rw-r--r-- | databases/mdbtools/pkg-plist | 27 |
9 files changed, 133 insertions, 0 deletions
diff --git a/databases/mdbtools/Makefile b/databases/mdbtools/Makefile new file mode 100644 index 000000000000..5f4bc14c639f --- /dev/null +++ b/databases/mdbtools/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: mdbtools +# Date created: 25 April 2001 +# Whom: Anders Nordby <anders@fix.no> +# +# $FreeBSD$ +# + +PORTNAME= mdbtools +PORTVERSION= 0.3 +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \ + ftp://ftp.nuug.no/pub/anders/distfiles/ \ + http://www.freenix.no/~anders/ +MASTER_SITE_SUBDIR= ${PORTNAME} +EXTRACT_SUFX= .tgz + +MAINTAINER= anders@fix.no + +USE_GLIB= yes +GNU_CONFIGURE= yes +MAKE_ARGS+= GLIB_CONFIG="${GLIB_CONFIG}" +INSTALLS_SHLIB= yes + +DOCS= AUTHORS ChangeLog HACKING NEWS README TODO INSTALL + +.if !defined(NOPORTDOCS) +post-install: + ${MKDIR} ${PREFIX}/share/doc/${PORTNAME} +.for f in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME}/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/databases/mdbtools/distinfo b/databases/mdbtools/distinfo new file mode 100644 index 000000000000..76b6abe22cb7 --- /dev/null +++ b/databases/mdbtools/distinfo @@ -0,0 +1 @@ +MD5 (mdbtools-0.3.tgz) = b484b14481c98511e95e6c8fd956d1c1 diff --git a/databases/mdbtools/files/patch-aa b/databases/mdbtools/files/patch-aa new file mode 100644 index 000000000000..6c3d47e47840 --- /dev/null +++ b/databases/mdbtools/files/patch-aa @@ -0,0 +1,13 @@ +--- src/libmdb/Makefile.in.orig Wed Apr 25 15:11:32 2001 ++++ src/libmdb/Makefile.in Wed Apr 25 15:11:56 2001 +@@ -77,8 +77,8 @@ + + lib_LTLIBRARIES = libmdb.la + libmdb_la_SOURCES = catalog.c mem.c file.c kkd.c table.c data.c dump.c backend.c money.c sargs.c index.c +-INCLUDES = -I$(top_srcdir)/include `glib-config --cflags` +-LIBS = `glib-config --libs` ++INCLUDES = -I$(top_srcdir)/include `$(GLIB_CONFIG) --cflags` ++LIBS = `$(GLIB_CONFIG) --libs` + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_CLEAN_FILES = + LTLIBRARIES = $(lib_LTLIBRARIES) diff --git a/databases/mdbtools/files/patch-ab b/databases/mdbtools/files/patch-ab new file mode 100644 index 000000000000..2b6595edadeb --- /dev/null +++ b/databases/mdbtools/files/patch-ab @@ -0,0 +1,14 @@ +--- src/util/Makefile.in.orig Wed Apr 25 15:19:45 2001 ++++ src/util/Makefile.in Wed Apr 25 15:20:26 2001 +@@ -76,9 +76,9 @@ + YACC = @YACC@ + + bin_PROGRAMS = mdb-export mdb-array mdb-schema mdb-tables mdb-parsecsv mdb-header prtable prcat prdata prkkd prdump +-INCLUDES = -I$(top_srcdir)/include `glib-config --cflags` ++INCLUDES = -I$(top_srcdir)/include `$(GLIB_CONFIG) --cflags` + LDADD = ../libmdb/libmdb.la +-LIBS = `glib-config --libs` ++LIBS = `$(GLIB_CONFIG) --libs` + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_CLEAN_FILES = + PROGRAMS = $(bin_PROGRAMS) diff --git a/databases/mdbtools/files/patch-ac b/databases/mdbtools/files/patch-ac new file mode 100644 index 000000000000..b18a440142a0 --- /dev/null +++ b/databases/mdbtools/files/patch-ac @@ -0,0 +1,14 @@ +--- src/extras/Makefile.in.orig Wed Apr 25 15:21:00 2001 ++++ src/extras/Makefile.in Wed Apr 25 15:21:23 2001 +@@ -77,9 +77,9 @@ + + bin_PROGRAMS = mdb-dump + mdb_dump_SOURCES = mdb-dump.c mdbsupport.c +-INCLUDES = -I$(top_srcdir)/include `glib-config --cflags` ++INCLUDES = -I$(top_srcdir)/include `$(GLIB_CONFIG) --cflags` + LDADD = ../libmdb/libmdb.la +-LIBS = `glib-config --libs` ++LIBS = `$(GLIB_CONFIG) --libs` + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs + CONFIG_CLEAN_FILES = + PROGRAMS = $(bin_PROGRAMS) diff --git a/databases/mdbtools/files/patch-ad b/databases/mdbtools/files/patch-ad new file mode 100644 index 000000000000..d84eb34b1700 --- /dev/null +++ b/databases/mdbtools/files/patch-ad @@ -0,0 +1,14 @@ +--- src/sql/Makefile.in.orig Wed Apr 25 15:23:54 2001 ++++ src/sql/Makefile.in Wed Apr 25 15:24:13 2001 +@@ -75,9 +75,9 @@ + VERSION = @VERSION@ + + bin_PROGRAMS = mdb-sql +-INCLUDES = -I$(top_srcdir)/include `glib-config --cflags` ++INCLUDES = -I$(top_srcdir)/include `$(GLIB_CONFIG) --cflags` + LDADD = ../libmdb/libmdb.la +-LIBS = `glib-config --libs` $(READLINE_LIBS) @LEXLIB@ ++LIBS = `$(GLIB_CONFIG) --libs` $(READLINE_LIBS) @LEXLIB@ + mdb_sql_SOURCES = mdbsql.c main.c parser.y lexer.l + YACC = yacc -d + mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/databases/mdbtools/pkg-comment b/databases/mdbtools/pkg-comment new file mode 100644 index 000000000000..a1d9390d48e3 --- /dev/null +++ b/databases/mdbtools/pkg-comment @@ -0,0 +1 @@ +Utilities and libraries to export data from MS Access databases (.mdb) diff --git a/databases/mdbtools/pkg-descr b/databases/mdbtools/pkg-descr new file mode 100644 index 000000000000..b1b5e855ee6d --- /dev/null +++ b/databases/mdbtools/pkg-descr @@ -0,0 +1,15 @@ +What is MDB Tools? + +MDB Tools is a planned set of libraries and utilities to facilitate exporting +data from MS Access databases (mdb files) into a multiuser database such as +Oracle, Sybase, DB2, Informix, MySQL, Postgresql, or similar. A nice little +Gtk MDB file browser will probably be written as well. + +Ok, how much is done? + +You can list catalog entries. There is some preliminary schema exporting +utility. And you can export data out to CSV (comma separated value) format. + +WWW: http://mdbtools.sourceforge.net/ + +- Anders Nordby <anders@fix.no> diff --git a/databases/mdbtools/pkg-plist b/databases/mdbtools/pkg-plist new file mode 100644 index 000000000000..43c120d47548 --- /dev/null +++ b/databases/mdbtools/pkg-plist @@ -0,0 +1,27 @@ +bin/mdb-export +bin/mdb-array +bin/mdb-schema +bin/mdb-tables +bin/mdb-parsecsv +bin/mdb-header +bin/prtable +bin/prcat +bin/prdata +bin/prkkd +bin/prdump +bin/mdb-dump +bin/mdb-sql +include/mdbtools.h +include/mdbsql.h +lib/libmdb.so.0 +lib/libmdb.so +lib/libmdb.la +lib/libmdb.a +%%PORTDOCS%%share/doc/mdbtools/AUTHORS +%%PORTDOCS%%share/doc/mdbtools/ChangeLog +%%PORTDOCS%%share/doc/mdbtools/HACKING +%%PORTDOCS%%share/doc/mdbtools/NEWS +%%PORTDOCS%%share/doc/mdbtools/README +%%PORTDOCS%%share/doc/mdbtools/TODO +%%PORTDOCS%%share/doc/mdbtools/INSTALL +%%PORTDOCS%%@dirrm share/doc/mdbtools |