aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql2pgsql
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2008-07-20 15:45:34 +0800
committerrafan <rafan@FreeBSD.org>2008-07-20 15:45:34 +0800
commit88ddabd6f2ca95caea54b2204ed679eac9644623 (patch)
tree63d84e26aaf985f3c8eb4265cf122585c8da3be0 /databases/mysql2pgsql
parent9c385db4cc77a8e73539e1470acb1e0258af6815 (diff)
downloadfreebsd-ports-gnome-88ddabd6f2ca95caea54b2204ed679eac9644623.tar.gz
freebsd-ports-gnome-88ddabd6f2ca95caea54b2204ed679eac9644623.tar.zst
freebsd-ports-gnome-88ddabd6f2ca95caea54b2204ed679eac9644623.zip
- 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)
Diffstat (limited to 'databases/mysql2pgsql')
-rw-r--r--databases/mysql2pgsql/Makefile18
-rw-r--r--databases/mysql2pgsql/distinfo6
-rw-r--r--databases/mysql2pgsql/files/patch-arguments11
-rw-r--r--databases/mysql2pgsql/pkg-descr11
4 files changed, 14 insertions, 32 deletions
diff --git a/databases/mysql2pgsql/Makefile b/databases/mysql2pgsql/Makefile
index ced44e946c71..02367ea416e2 100644
--- a/databases/mysql2pgsql/Makefile
+++ b/databases/mysql2pgsql/Makefile
@@ -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>
diff --git a/databases/mysql2pgsql/distinfo b/databases/mysql2pgsql/distinfo
index 81f7097a314a..1298678682f2 100644
--- a/databases/mysql2pgsql/distinfo
+++ b/databases/mysql2pgsql/distinfo
@@ -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
diff --git a/databases/mysql2pgsql/files/patch-arguments b/databases/mysql2pgsql/files/patch-arguments
deleted file mode 100644
index 2195b15e11d6..000000000000
--- a/databases/mysql2pgsql/files/patch-arguments
+++ /dev/null
@@ -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]";
diff --git a/databases/mysql2pgsql/pkg-descr b/databases/mysql2pgsql/pkg-descr
index b61a565eefbb..423080993f21 100644
--- a/databases/mysql2pgsql/pkg-descr
+++ b/databases/mysql2pgsql/pkg-descr
@@ -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/