summaryrefslogtreecommitdiffstats
path: root/databases/p5-MySQL-Diff
diff options
context:
space:
mode:
authorerwin <erwin@FreeBSD.org>2003-08-20 06:51:48 +0000
committererwin <erwin@FreeBSD.org>2003-08-20 06:51:48 +0000
commit29921af69eefa3a785fd331b640c4d4004c5fe4a (patch)
tree12a4d642083eee6e3ddc567d6e207e94009394cd /databases/p5-MySQL-Diff
parent633bfdcda673ef1d6777dcf419441ffc2b3daf91 (diff)
downloadFreeBSD-ports-29921af69eefa3a785fd331b640c4d4004c5fe4a.zip
FreeBSD-ports-29921af69eefa3a785fd331b640c4d4004c5fe4a.tar.gz
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>
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 0000000..d9f4fd1
--- /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 0000000..f0bec47
--- /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 0000000..5d4df27
--- /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 0000000..3c18a20
--- /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
OpenPOWER on IntegriCloud