diff options
author | dan <dan@FreeBSD.org> | 1999-10-04 06:04:20 +0800 |
---|---|---|
committer | dan <dan@FreeBSD.org> | 1999-10-04 06:04:20 +0800 |
commit | e8933902b63827bbbf1060210e7e145046695ade (patch) | |
tree | 1bccbacce6cb260568d780093fd8ebbfbcdd6eb8 /databases/dbf2mysql | |
parent | 82668573f557c8f74c6574ba70f75416f811f7c8 (diff) | |
download | freebsd-ports-gnome-e8933902b63827bbbf1060210e7e145046695ade.tar.gz freebsd-ports-gnome-e8933902b63827bbbf1060210e7e145046695ade.tar.zst freebsd-ports-gnome-e8933902b63827bbbf1060210e7e145046695ade.zip |
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>
Diffstat (limited to 'databases/dbf2mysql')
-rw-r--r-- | databases/dbf2mysql/Makefile | 29 | ||||
-rw-r--r-- | databases/dbf2mysql/distinfo | 1 | ||||
-rw-r--r-- | databases/dbf2mysql/files/patch-aa | 33 | ||||
-rw-r--r-- | databases/dbf2mysql/pkg-comment | 1 | ||||
-rw-r--r-- | databases/dbf2mysql/pkg-descr | 7 | ||||
-rw-r--r-- | databases/dbf2mysql/pkg-plist | 2 |
6 files changed, 73 insertions, 0 deletions
diff --git a/databases/dbf2mysql/Makefile b/databases/dbf2mysql/Makefile new file mode 100644 index 000000000000..b11464ba5a0b --- /dev/null +++ b/databases/dbf2mysql/Makefile @@ -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> diff --git a/databases/dbf2mysql/distinfo b/databases/dbf2mysql/distinfo new file mode 100644 index 000000000000..3bac707f73d1 --- /dev/null +++ b/databases/dbf2mysql/distinfo @@ -0,0 +1 @@ +MD5 (dbf2mysql-1.13.tgz) = 33eeadba73885f812a07e5079af89cc7 diff --git a/databases/dbf2mysql/files/patch-aa b/databases/dbf2mysql/files/patch-aa new file mode 100644 index 000000000000..60d4cfb1153c --- /dev/null +++ b/databases/dbf2mysql/files/patch-aa @@ -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 + # diff --git a/databases/dbf2mysql/pkg-comment b/databases/dbf2mysql/pkg-comment new file mode 100644 index 000000000000..a3a0cfd1afac --- /dev/null +++ b/databases/dbf2mysql/pkg-comment @@ -0,0 +1 @@ +Programs to convert .dbf files to MySQL tables and vice versa diff --git a/databases/dbf2mysql/pkg-descr b/databases/dbf2mysql/pkg-descr new file mode 100644 index 000000000000..7f518476d811 --- /dev/null +++ b/databases/dbf2mysql/pkg-descr @@ -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 diff --git a/databases/dbf2mysql/pkg-plist b/databases/dbf2mysql/pkg-plist new file mode 100644 index 000000000000..b1959a90c24c --- /dev/null +++ b/databases/dbf2mysql/pkg-plist @@ -0,0 +1,2 @@ +bin/dbf2mysql +bin/mysql2dbf |