Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2001 22:14:42 +0200 (CEST)
From:      Anders Nordby <anders@fix.no>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26855: New port: databases/mdbtools
Message-ID:  <20010425201442.172A13CCE@totem.fix.no>

next in thread | raw e-mail | index | archive | help

>Number:         26855
>Category:       ports
>Synopsis:       New port: databases/mdbtools
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 25 13:20:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Anders Nordby
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
Fluxpod Information eXchange
>Environment:

FreeBSD akerlia 4.2-STABLE FreeBSD 4.2-STABLE #0: Thu Jan 25 10:45:11 CET 2001     root@akerlia:/usr/obj/usr/src/sys/AKERLIA  i386

FreeBSD current.localnet 5.0-20010116-CURRENT FreeBSD 5.0-20010116-CURRENT #0: Tue Jan 16 16:30:03 GMT 2001     root@usw2.freebsd.org:/usr/src/sys/compile/GENERIC  i386

>Description:

New port of mdbtools, a set of tools and libraries to export data from MS
Access databases (.mdb).

>How-To-Repeat:

	

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mdbtools
#	mdbtools/Makefile
#	mdbtools/distinfo
#	mdbtools/pkg-comment
#	mdbtools/pkg-descr
#	mdbtools/pkg-plist
#	mdbtools/files
#	mdbtools/files/patch-aa
#	mdbtools/files/patch-ab
#	mdbtools/files/patch-ac
#	mdbtools/files/patch-ad
#
echo c - mdbtools
mkdir -p mdbtools > /dev/null 2>&1
echo x - mdbtools/Makefile
sed 's/^X//' >mdbtools/Makefile << 'END-of-mdbtools/Makefile'
X# New ports collection makefile for:	mdbtools
X# Date created:				25 April 2001
X# Whom:	      				Anders Nordby <anders@fix.no>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mdbtools
XPORTVERSION=	0.3
XCATEGORIES=	databases
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE} \
X		ftp://ftp.nuug.no/pub/anders/distfiles/ \
X		http://www.freenix.no/~anders/
XMASTER_SITE_SUBDIR=	${PORTNAME}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	anders@fix.no
X
XGNU_CONFIGURE=	yes
XMAKE_ARGS+=	GLIB_CONFIG="${GLIB_CONFIG}"
X
XDOCS=		AUTHORS ChangeLog HACKING NEWS README TODO INSTALL
X
XUSE_GLIB=	yes
X
X.if !defined(NOPORTDOCS)
Xpost-install:
X	${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
X.for f in ${DOCS}
X	${INSTALL_DATA} ${WRKSRC}/${f}  ${PREFIX}/share/doc/${PORTNAME}/
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-mdbtools/Makefile
echo x - mdbtools/distinfo
sed 's/^X//' >mdbtools/distinfo << 'END-of-mdbtools/distinfo'
XMD5 (mdbtools-0.3.tgz) = b484b14481c98511e95e6c8fd956d1c1
END-of-mdbtools/distinfo
echo x - mdbtools/pkg-comment
sed 's/^X//' >mdbtools/pkg-comment << 'END-of-mdbtools/pkg-comment'
XUtilities and libraries to export data from MS Access databases (.mdb)
END-of-mdbtools/pkg-comment
echo x - mdbtools/pkg-descr
sed 's/^X//' >mdbtools/pkg-descr << 'END-of-mdbtools/pkg-descr'
XWhat is MDB Tools? 
X
XMDB Tools is a planned set of libraries and utilities to facilitate exporting
Xdata from MS Access databases (mdb files) into a multiuser database such as
XOracle, Sybase, DB2, Informix, MySQL, Postgresql, or similar. A nice little
XGtk MDB file browser will probably be written as well.
X
XOk, how much is done? 
X
XYou can list catalog entries. There is some preliminary schema exporting
Xutility. And you can export data out to CSV (comma separated value) format. 
X
XWWW: http://mdbtools.sourceforge.net/
X
X- Anders Nordby <anders@fix.no>
END-of-mdbtools/pkg-descr
echo x - mdbtools/pkg-plist
sed 's/^X//' >mdbtools/pkg-plist << 'END-of-mdbtools/pkg-plist'
Xbin/mdb-export
Xbin/mdb-array
Xbin/mdb-schema
Xbin/mdb-tables
Xbin/mdb-parsecsv
Xbin/mdb-header
Xbin/prtable
Xbin/prcat
Xbin/prdata
Xbin/prkkd
Xbin/prdump
Xbin/mdb-dump
Xbin/mdb-sql
Xinclude/mdbtools.h
Xinclude/mdbsql.h
Xlib/libmdb.so.0
Xlib/libmdb.so
Xlib/libmdb.la
Xlib/libmdb.a
X%%PORTDOCS%%share/doc/mdbtools/AUTHORS
X%%PORTDOCS%%share/doc/mdbtools/ChangeLog
X%%PORTDOCS%%share/doc/mdbtools/HACKING
X%%PORTDOCS%%share/doc/mdbtools/NEWS
X%%PORTDOCS%%share/doc/mdbtools/README
X%%PORTDOCS%%share/doc/mdbtools/TODO
X%%PORTDOCS%%share/doc/mdbtools/INSTALL
X%%PORTDOCS%%@dirrm share/doc/mdbtools
END-of-mdbtools/pkg-plist
echo c - mdbtools/files
mkdir -p mdbtools/files > /dev/null 2>&1
echo x - mdbtools/files/patch-aa
sed 's/^X//' >mdbtools/files/patch-aa << 'END-of-mdbtools/files/patch-aa'
X--- src/libmdb/Makefile.in.orig	Wed Apr 25 15:11:32 2001
X+++ src/libmdb/Makefile.in	Wed Apr 25 15:11:56 2001
X@@ -77,8 +77,8 @@
X 
X lib_LTLIBRARIES = libmdb.la
X 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
X-INCLUDES = -I$(top_srcdir)/include `glib-config --cflags`
X-LIBS = `glib-config --libs`
X+INCLUDES = -I$(top_srcdir)/include `$(GLIB_CONFIG) --cflags`
X+LIBS = `$(GLIB_CONFIG) --libs`
X mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
X CONFIG_CLEAN_FILES = 
X LTLIBRARIES =  $(lib_LTLIBRARIES)
END-of-mdbtools/files/patch-aa
echo x - mdbtools/files/patch-ab
sed 's/^X//' >mdbtools/files/patch-ab << 'END-of-mdbtools/files/patch-ab'
X--- src/util/Makefile.in.orig	Wed Apr 25 15:19:45 2001
X+++ src/util/Makefile.in	Wed Apr 25 15:20:26 2001
X@@ -76,9 +76,9 @@
X YACC = @YACC@
X 
X bin_PROGRAMS = mdb-export mdb-array mdb-schema mdb-tables mdb-parsecsv mdb-header prtable prcat prdata prkkd prdump
X-INCLUDES = -I$(top_srcdir)/include `glib-config --cflags`
X+INCLUDES = -I$(top_srcdir)/include `$(GLIB_CONFIG) --cflags`
X LDADD = ../libmdb/libmdb.la 
X-LIBS = `glib-config --libs`
X+LIBS = `$(GLIB_CONFIG) --libs`
X mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
X CONFIG_CLEAN_FILES = 
X PROGRAMS =  $(bin_PROGRAMS)
END-of-mdbtools/files/patch-ab
echo x - mdbtools/files/patch-ac
sed 's/^X//' >mdbtools/files/patch-ac << 'END-of-mdbtools/files/patch-ac'
X--- src/extras/Makefile.in.orig	Wed Apr 25 15:21:00 2001
X+++ src/extras/Makefile.in	Wed Apr 25 15:21:23 2001
X@@ -77,9 +77,9 @@
X 
X bin_PROGRAMS = mdb-dump
X mdb_dump_SOURCES = mdb-dump.c mdbsupport.c
X-INCLUDES = -I$(top_srcdir)/include `glib-config --cflags`
X+INCLUDES = -I$(top_srcdir)/include `$(GLIB_CONFIG) --cflags`
X LDADD = ../libmdb/libmdb.la 
X-LIBS = `glib-config --libs`
X+LIBS = `$(GLIB_CONFIG) --libs`
X mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
X CONFIG_CLEAN_FILES = 
X PROGRAMS =  $(bin_PROGRAMS)
END-of-mdbtools/files/patch-ac
echo x - mdbtools/files/patch-ad
sed 's/^X//' >mdbtools/files/patch-ad << 'END-of-mdbtools/files/patch-ad'
X--- src/sql/Makefile.in.orig	Wed Apr 25 15:23:54 2001
X+++ src/sql/Makefile.in	Wed Apr 25 15:24:13 2001
X@@ -75,9 +75,9 @@
X VERSION = @VERSION@
X 
X bin_PROGRAMS = mdb-sql
X-INCLUDES = -I$(top_srcdir)/include `glib-config --cflags`
X+INCLUDES = -I$(top_srcdir)/include `$(GLIB_CONFIG) --cflags`
X LDADD = ../libmdb/libmdb.la 
X-LIBS = `glib-config --libs` $(READLINE_LIBS) @LEXLIB@
X+LIBS = `$(GLIB_CONFIG) --libs` $(READLINE_LIBS) @LEXLIB@
X mdb_sql_SOURCES = mdbsql.c main.c parser.y lexer.l 
X YACC = yacc -d
X mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
END-of-mdbtools/files/patch-ad
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010425201442.172A13CCE>