summaryrefslogtreecommitdiff
path: root/databases/p5-Mysql-Diff
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2003-08-20 06:51:48 +0000
committerErwin Lansing <erwin@FreeBSD.org>2003-08-20 06:51:48 +0000
commitf2a146575f4c7b213c0070f2a4f9db6772063338 (patch)
tree942d6fa85b59a2cc6850da348aa6c029dc48420c /databases/p5-Mysql-Diff
parentupdate www/opera: 6.12.20030305 -> 7.20.20030811 and take maintainership (diff)
Add p5-Mysql-Diff 0.33,
perl module for comparing the table structure of two MySQL databases. PR: 55451 Submitted by: Andrew McNaughton <andrew@scoop.co.nz>
Notes
Notes: svn path=/head/; revision=87331
Diffstat (limited to 'databases/p5-Mysql-Diff')
-rw-r--r--databases/p5-Mysql-Diff/Makefile27
-rw-r--r--databases/p5-Mysql-Diff/distinfo1
-rw-r--r--databases/p5-Mysql-Diff/pkg-descr4
-rw-r--r--databases/p5-Mysql-Diff/pkg-plist9
4 files changed, 41 insertions, 0 deletions
diff --git a/databases/p5-Mysql-Diff/Makefile b/databases/p5-Mysql-Diff/Makefile
new file mode 100644
index 000000000000..d9f4fd1df372
--- /dev/null
+++ b/databases/p5-Mysql-Diff/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: MySQL-Diff
+# Date created: 11 August 2003
+# Whom: Andrew McNaughton <andrew@scoop.co.nz>
+#
+# $FreeBSD$
+#
+
+PORTNAME= MySQL-Diff
+PORTVERSION= 0.33
+CATEGORIES= databases perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= MySQL
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= andrew@scoop.co.nz
+COMMENT= Perl module for comparing the table structure of two MySQL databases
+
+BUILD_DEPENDS= ${SITE_PERL}/Class/MakeMethods/Template.pm:${PORTSDIR}/devel/p5-Class-MakeMethods \
+ ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+post-install:
+ $(INSTALL_SCRIPT) $(WRKSRC)/mysqldiff $(PREFIX)/bin
+
+.include <bsd.port.mk>
diff --git a/databases/p5-Mysql-Diff/distinfo b/databases/p5-Mysql-Diff/distinfo
new file mode 100644
index 000000000000..f0bec4784eca
--- /dev/null
+++ b/databases/p5-Mysql-Diff/distinfo
@@ -0,0 +1 @@
+MD5 (MySQL-Diff-0.33.tar.gz) = 8f8e4af9eacd465814ce4071e9457272
diff --git a/databases/p5-Mysql-Diff/pkg-descr b/databases/p5-Mysql-Diff/pkg-descr
new file mode 100644
index 000000000000..5d4df2790e39
--- /dev/null
+++ b/databases/p5-Mysql-Diff/pkg-descr
@@ -0,0 +1,4 @@
+MySQL::Diff is Perl module for comparing the table structure
+of two MySQL databases
+
+WWW: http://adamspiers.org/computing/mysqldiff/
diff --git a/databases/p5-Mysql-Diff/pkg-plist b/databases/p5-Mysql-Diff/pkg-plist
new file mode 100644
index 000000000000..3c18a20a2ce0
--- /dev/null
+++ b/databases/p5-Mysql-Diff/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/MySQL/Table.pm
+%%SITE_PERL%%/MySQL/Diff.pm
+%%SITE_PERL%%/MySQL/Utils.pm
+%%SITE_PERL%%/MySQL/Database.pm
+bin/mysqldiff
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/MySQL/Diff/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/MySQL/Diff
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/MySQL 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/MySQL 2>/dev/null || true