summaryrefslogtreecommitdiff
path: root/databases/maatkit
diff options
context:
space:
mode:
Diffstat (limited to 'databases/maatkit')
-rw-r--r--databases/maatkit/DESCR1
-rw-r--r--databases/maatkit/Makefile24
-rw-r--r--databases/maatkit/distinfo6
-rw-r--r--databases/maatkit/patches/patch-aa21
4 files changed, 52 insertions, 0 deletions
diff --git a/databases/maatkit/DESCR b/databases/maatkit/DESCR
new file mode 100644
index 00000000000..76d8c09743d
--- /dev/null
+++ b/databases/maatkit/DESCR
@@ -0,0 +1 @@
+Maatkit is a toolkit for mysql.
diff --git a/databases/maatkit/Makefile b/databases/maatkit/Makefile
new file mode 100644
index 00000000000..4ea682b6a52
--- /dev/null
+++ b/databases/maatkit/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/04/26 00:00:13 mspo Exp $
+#
+
+DISTNAME= maatkit-7410
+PKGREVISION= 1
+CATEGORIES= databases
+MASTER_SITES= http://maatkit.googlecode.com/files/
+
+MAINTAINER= msporleder@gmail.com
+HOMEPAGE= http://code.google.com/p/maatkit/downloads/
+COMMENT= Advanced command-line tools for open-source databases (MySQL)
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= perl
+PKG_DESTDIR_SUPPORT= user-destdir
+
+REPLACE_PERL+= bin/*
+
+DEPENDS+= p5-DBD-mysql:../../databases/p5-DBD-mysql
+DEPENDS+= p5-Time-HiRes:../../time/p5-Time-HiRes
+
+PERL5_PACKLIST= auto/maatkit/.packlist
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/maatkit/distinfo b/databases/maatkit/distinfo
new file mode 100644
index 00000000000..4508452b5f0
--- /dev/null
+++ b/databases/maatkit/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/04/26 00:00:13 mspo Exp $
+
+SHA1 (maatkit-7410.tar.gz) = fed44d4eaaebc4f5e0780bc49559f40db07266d1
+RMD160 (maatkit-7410.tar.gz) = 0bd038db742d4711fa3108fd4cf6c25d47931203
+Size (maatkit-7410.tar.gz) = 1229237 bytes
+SHA1 (patch-aa) = 56e4d643d7b13fba70564ad0bf855fd51dc32aa8
diff --git a/databases/maatkit/patches/patch-aa b/databases/maatkit/patches/patch-aa
new file mode 100644
index 00000000000..d830d150416
--- /dev/null
+++ b/databases/maatkit/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2011/04/26 00:00:13 mspo Exp $
+
+rename man pages to .1 from .1p
+submitted upstream as 1277
+http://code.google.com/p/maatkit/issues/detail?id=1277
+
+--- Makefile.PL.orig 2011-03-12 17:39:22.000000000 +0000
++++ Makefile.PL
+@@ -6,10 +6,10 @@ WriteMakefile(
+ EXE_FILES => [ <bin/mk-*> ],
+ MAN3PODS => {}, # No man(3) pages, all man(1).
+ MAN1PODS => {
+- 'maatkit.pod' => 'blib/man1/maatkit.1p',
++ 'maatkit.pod' => 'blib/man1/maatkit.1',
+ map {
+ (my $name = $_) =~ s/^bin.//;
+- $_ => "blib/man1/$name.1p";
++ $_ => "blib/man1/$name.1";
+ } <bin/mk-*>
+ },
+ PREREQ_PM => {