- Update to 1.2

The original mysql2pgsql has changed maintainership. So this port is also
  changed to based on the new maintainer's version.
- Pass maintainership to submitter

PR:		ports/125580
Submitted by:	Alex Kloss <klossalex at gmail.com> (maintainer)
This commit is contained in:
Rong-En Fan 2008-07-20 07:45:34 +00:00
parent c84c3e4c0c
commit 486f3f7d0b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217171
4 changed files with 14 additions and 32 deletions

View File

@ -6,29 +6,25 @@
#
PORTNAME= mysql2pgsql
PORTVERSION= 20010527
PORTREVISION= 2
PORTVERSION= 1.2
PORTEPOCH= 1
CATEGORIES= databases
MASTER_SITES= http://www.rot13.org/~dpavlin/projects/sql/
MASTER_SITES= http://pgfoundry.org/frs/download.php/1535/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX=
EXTRACT_ONLY= ${PORTNAME}
EXTRACT_SUFX= .perl
MAINTAINER= ports@FreeBSD.org
MAINTAINER= klossalex@gmail.com
COMMENT= Convert a MySQL dump to a PostgreSQL dump
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
PATCH_WRKSRC= ${WRKDIR}
PLIST_FILES= bin/mysql2pgsql
USE_PERL5= yes
NO_BUILD= yes
do-extract:
${MKDIR} ${WRKDIR}
${CP} -p ${DISTDIR}/mysql2pgsql ${WRKDIR}
${CP} -p ${DISTDIR}/mysql2pgsql.perl ${WRKDIR}
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/mysql2pgsql ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKDIR}/mysql2pgsql.perl ${PREFIX}/bin/mysql2pgsql
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (mysql2pgsql) = 5ffeb56aacb9ab60753727b3358e0d75
SHA256 (mysql2pgsql) = bcc2ca51f302b1c5362270e87dd1fea90090fa7408d56e7e986774f758f45ac9
SIZE (mysql2pgsql) = 6467
MD5 (mysql2pgsql.perl) = 544a64a9d15efb37c6860d912ce23e3e
SHA256 (mysql2pgsql.perl) = e98597a849f70e27879bd33fd0b8729c6e84b5e4ef68cd640f7c3f9b12e67965
SIZE (mysql2pgsql.perl) = 41961

View File

@ -1,11 +0,0 @@
--- mysql2pgsql.old Sat Jun 23 16:12:18 2001
+++ mysql2pgsql Sat Jun 23 16:11:51 2001
@@ -49,7 +49,7 @@
exit 1;
} else {
$dump="$ARGV[1]";
- $database="$ARGV[1]";
+ $database="$ARGV[2]";
}
} else {
$dump="$ARGV[0]";

View File

@ -1,10 +1,7 @@
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
The Perl script mysql2pgsql can be used to convert MySQL database
dumps to a PostgreSQL-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
WWW: http://pgfoundry.org/projects/mysql2pgsql/