Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  2 Oct 1999 23:44:36 -0400 (EDT)
From:      jedgar@fxp.org
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14097: New port: databases/dbf2mysql
Message-ID:  <19991003034436.824109B20@pawn.primelocation.net>

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

>Number:         14097
>Category:       ports
>Synopsis:       New port: databases/dbf2mysql
>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:   Sat Oct  2 20:50:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Chris D. Faulhaber
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
BUGO - BSD Users Group of Orlando
>Environment:

	FreeBSD 4.0-CURRENT i386

>Description:

	New port: databases/dbf2mysql

	A set of programs to convert a .dbf file to a MySQL table
	and vice versa.

>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:
#
#	dbf2mysql
#	dbf2mysql/Makefile
#	dbf2mysql/pkg
#	dbf2mysql/pkg/PLIST
#	dbf2mysql/pkg/COMMENT
#	dbf2mysql/pkg/DESCR
#	dbf2mysql/files
#	dbf2mysql/files/md5
#	dbf2mysql/patches
#	dbf2mysql/patches/patch-aa
#
echo c - dbf2mysql
mkdir -p dbf2mysql > /dev/null 2>&1
echo x - dbf2mysql/Makefile
sed 's/^X//' >dbf2mysql/Makefile << 'END-of-dbf2mysql/Makefile'
X# New ports collection makefile for:	dbf2mysql
X# Version required:			1.13
X# Date created:				02 October 1999
X# Whom:					jedgar@fxp.org
X#
X# $FreeBSD$
X#
X
XDISTNAME=       dbf2mysql-1.13
XCATEGORIES=	databases
XMASTER_SITES=   http://www.mysql.com/Contrib/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	jedgar@fxp.org
X
XLIB_DEPENDS=	mysqlclient.6:${PORTSDIR}/databases/mysql322-client
X
XNO_WRKSUBDIR=	yes
X
Xdo-configure:
X	@${MV} ${WRKDIR}/Makefile ${WRKDIR}/Makefile.orig
X	@${SED} -e 's|/usr/local/mysql/include|${PREFIX}/include/mysql|' \
X		-e 's|/usr/local/mysql/lib|${PREFIX}/lib/mysql|' \
X		< ${WRKDIR}/Makefile.orig > ${WRKDIR}/Makefile
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKDIR}/dbf2mysql ${PREFIX}/bin
X	${INSTALL_SCRIPT} ${WRKDIR}/mysql2dbf ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-dbf2mysql/Makefile
echo c - dbf2mysql/pkg
mkdir -p dbf2mysql/pkg > /dev/null 2>&1
echo x - dbf2mysql/pkg/PLIST
sed 's/^X//' >dbf2mysql/pkg/PLIST << 'END-of-dbf2mysql/pkg/PLIST'
Xbin/dbf2mysql
Xbin/mysql2dbf
END-of-dbf2mysql/pkg/PLIST
echo x - dbf2mysql/pkg/COMMENT
sed 's/^X//' >dbf2mysql/pkg/COMMENT << 'END-of-dbf2mysql/pkg/COMMENT'
XPrograms to convert .dbf files to MySQL tables and vice versa
END-of-dbf2mysql/pkg/COMMENT
echo x - dbf2mysql/pkg/DESCR
sed 's/^X//' >dbf2mysql/pkg/DESCR << 'END-of-dbf2mysql/pkg/DESCR'
XPrograms to convert .dbf files to MySQL tables and vice versa
X
Xdbf2mysql: converts a .dbf to a MySQL table
Xmysql2dbf: converts a MySQL table to a .dbf file
X
X- Chris D. Faulhaber
Xjedgar@fxp.org
END-of-dbf2mysql/pkg/DESCR
echo c - dbf2mysql/files
mkdir -p dbf2mysql/files > /dev/null 2>&1
echo x - dbf2mysql/files/md5
sed 's/^X//' >dbf2mysql/files/md5 << 'END-of-dbf2mysql/files/md5'
XMD5 (dbf2mysql-1.13.tgz) = 33eeadba73885f812a07e5079af89cc7
END-of-dbf2mysql/files/md5
echo c - dbf2mysql/patches
mkdir -p dbf2mysql/patches > /dev/null 2>&1
echo x - dbf2mysql/patches/patch-aa
sed 's/^X//' >dbf2mysql/patches/patch-aa << 'END-of-dbf2mysql/patches/patch-aa'
X--- Makefile.orig	Thu Aug 26 09:49:08 1999
X+++ Makefile	Sat Oct  2 23:19:17 1999
X@@ -2,17 +2,17 @@
X # Maarten Boekhold (boekhold@cindy.et.tudelft.nl) 1995
X 
X # Set this to your C-compiler
X-CC=gcc
X+#CC=gcc
X 
X # set this to your install-program (what does Solaris have
X # in /usr/sbin/install? SYSV install?)
X-INSTALL=/usr/bin/install
X+#INSTALL=/usr/bin/install
X 
X #AR=/usr/bin/ar
X-AR=ar
X+#AR=ar
X 
X # Set this to whatever your compiler accepts. Nothing special is needed
X-CFLAGS=-O2 -Wall
X+#CFLAGS=-O2 -Wall
X 
X # Set this to your MySQL installation-path
X MYSQLINC=-I/usr/local/mysql/include
X@@ -20,7 +20,7 @@
X 
X # Set this to where you want the binary (no man-page yet, don't know
X # how to write them)
X-INSTALLDIR=/usr/local/bin
X+#INSTALLDIR=/usr/local/bin
X 
X # Set this if your system needs extra libraries
X #
END-of-dbf2mysql/patches/patch-aa
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?19991003034436.824109B20>