1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

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

and vice versa.

PR: ports/14097
Submitted by: Chris D. Faulhaber <jedgar@fxp.org>
This commit is contained in:
Dan Moschuk 1999-10-03 22:04:20 +00:00
parent 2fe8d279bb
commit 826f3a5532
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=22151
6 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# New ports collection makefile for: dbf2mysql
# Version required: 1.13
# Date created: 02 October 1999
# Whom: jedgar@fxp.org
#
# $FreeBSD$
#
DISTNAME= dbf2mysql-1.13
CATEGORIES= databases
MASTER_SITES= http://www.mysql.com/Contrib/
EXTRACT_SUFX= .tgz
MAINTAINER= jedgar@fxp.org
LIB_DEPENDS= mysqlclient.6:${PORTSDIR}/databases/mysql322-client
NO_WRKSUBDIR= yes
do-configure:
@${MV} ${WRKDIR}/Makefile ${WRKDIR}/Makefile.orig
@${SED} -e 's|/usr/local/mysql/include|${PREFIX}/include/mysql|' \
-e 's|/usr/local/mysql/lib|${PREFIX}/lib/mysql|' \
< ${WRKDIR}/Makefile.orig > ${WRKDIR}/Makefile
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/dbf2mysql ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKDIR}/mysql2dbf ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (dbf2mysql-1.13.tgz) = 33eeadba73885f812a07e5079af89cc7

View File

@ -0,0 +1,33 @@
--- Makefile.orig Thu Aug 26 09:49:08 1999
+++ Makefile Sat Oct 2 23:19:17 1999
@@ -2,17 +2,17 @@
# Maarten Boekhold (boekhold@cindy.et.tudelft.nl) 1995
# Set this to your C-compiler
-CC=gcc
+#CC=gcc
# set this to your install-program (what does Solaris have
# in /usr/sbin/install? SYSV install?)
-INSTALL=/usr/bin/install
+#INSTALL=/usr/bin/install
#AR=/usr/bin/ar
-AR=ar
+#AR=ar
# Set this to whatever your compiler accepts. Nothing special is needed
-CFLAGS=-O2 -Wall
+#CFLAGS=-O2 -Wall
# Set this to your MySQL installation-path
MYSQLINC=-I/usr/local/mysql/include
@@ -20,7 +20,7 @@
# Set this to where you want the binary (no man-page yet, don't know
# how to write them)
-INSTALLDIR=/usr/local/bin
+#INSTALLDIR=/usr/local/bin
# Set this if your system needs extra libraries
#

View File

@ -0,0 +1 @@
Programs to convert .dbf files to MySQL tables and vice versa

View File

@ -0,0 +1,7 @@
Programs to convert .dbf files to MySQL tables and vice versa
dbf2mysql: converts a .dbf to a MySQL table
mysql2dbf: converts a MySQL table to a .dbf file
- Chris D. Faulhaber
jedgar@fxp.org

View File

@ -0,0 +1,2 @@
bin/dbf2mysql
bin/mysql2dbf