1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

add mdbtools

Utilities and libraries to export data from MS Access databases (.mdb)

PR:		26855
Submitted by:	Anders Nordby <anders@fix.no>
This commit is contained in:
Ying-Chieh Liao 2001-04-27 07:40:58 +00:00
parent 1807748c59
commit 8840882d23
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41942
10 changed files with 134 additions and 0 deletions

View File

@ -21,6 +21,7 @@
SUBDIR += interbase4
SUBDIR += jdbc-oracle816
SUBDIR += libiodbc
SUBDIR += mdbtools
SUBDIR += metakit
SUBDIR += msql
SUBDIR += myodbc

View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (mdbtools-0.3.tgz) = b484b14481c98511e95e6c8fd956d1c1

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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

View File

@ -0,0 +1 @@
Utilities and libraries to export data from MS Access databases (.mdb)

View File

@ -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>

View File

@ -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