The perl script mysql2pgsql can be used to convert MySQL database
dumps to a -compatible format (so the data can be imported into PostgreSQL). PR: 27702 Submitted by: Pete Fritchman <petef@databits.net>
This commit is contained in:
parent
9faec07913
commit
b4953e8097
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44339
@ -33,6 +33,7 @@
|
||||
SUBDIR += mysql-editor
|
||||
SUBDIR += mysql-jdbc-mm
|
||||
SUBDIR += mysql-navigator
|
||||
SUBDIR += mysql2pgsql
|
||||
SUBDIR += mysql323-client
|
||||
SUBDIR += mysql323-server
|
||||
SUBDIR += mysqltcl
|
||||
|
26
databases/mysql2pgsql/Makefile
Normal file
26
databases/mysql2pgsql/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# New ports collection makefile for: mysql2pgsql
|
||||
# Date Created: 27 May 2001
|
||||
# Whom: Pete Fritchman <petef@databits.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mysql2pgsql
|
||||
PORTVERSION= 20010527
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= http://www.rot13.org/~dpavlin/projects/sql/
|
||||
DISTNAME= ${PORTNAME}
|
||||
EXTRACT_ONLY= # empty
|
||||
|
||||
MAINTAINER= petef@databits.net
|
||||
|
||||
RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
|
||||
${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
|
||||
|
||||
USE_PERL5= yes
|
||||
NO_BUILD= yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${DISTDIR}/mysql2pgsql ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
1
databases/mysql2pgsql/distinfo
Normal file
1
databases/mysql2pgsql/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (mysql2pgsql) = 5ffeb56aacb9ab60753727b3358e0d75
|
1
databases/mysql2pgsql/pkg-comment
Normal file
1
databases/mysql2pgsql/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Convert a MySQL dump to a PostgreSQL dump
|
10
databases/mysql2pgsql/pkg-descr
Normal file
10
databases/mysql2pgsql/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
The perl script mysql2pgsql can be used to convert MySQL database
|
||||
dumps to a -compatible format (so the data can be imported into
|
||||
PostgreSQL). This can be useful if you are switching from MySQL
|
||||
to PostgreSQL and you have quite a bit of data in your MySQL
|
||||
databases.
|
||||
|
||||
WWW: http://www.rot13.org/~dpavlin/projects.html
|
||||
|
||||
- Pete
|
||||
petef@databits.net
|
1
databases/mysql2pgsql/pkg-plist
Normal file
1
databases/mysql2pgsql/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/mysql2pgsql
|
Loading…
Reference in New Issue
Block a user