summaryrefslogtreecommitdiff
path: root/databases/mysql2pgsql/Makefile
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2001-06-23 02:36:54 +0000
committerJames E. Housley <jeh@FreeBSD.org>2001-06-23 02:36:54 +0000
commitb4953e8097c4c2ff56aac6f9225fcf74547e05b2 (patch)
treea02801179bc4d912688c71ee2769b52010e64271 /databases/mysql2pgsql/Makefile
parentUpdate of the 'java/bugseeker' port. Summary of changes: (diff)
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>
Notes
Notes: svn path=/head/; revision=44339
Diffstat (limited to 'databases/mysql2pgsql/Makefile')
-rw-r--r--databases/mysql2pgsql/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/databases/mysql2pgsql/Makefile b/databases/mysql2pgsql/Makefile
new file mode 100644
index 000000000000..70454b5981d2
--- /dev/null
+++ b/databases/mysql2pgsql/Makefile
@@ -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>