summaryrefslogtreecommitdiff
path: root/databases/mytop/Makefile
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-05-14 12:37:03 +0000
committerzuntum <zuntum>2001-05-14 12:37:03 +0000
commit7b85ef93e655be0c8a677af6bc5365a84f997e1f (patch)
tree390c08f7afa7bf150b071f4debf6b44c7d86c66f /databases/mytop/Makefile
parent5d6e7d6578445fdff22e803d5192a52ef9cbd93a (diff)
downloadpkgsrc-7b85ef93e655be0c8a677af6bc5365a84f997e1f.tar.gz
Initial import of mytop-0.7 - console-based tool for monitoring the threads and performance of MySQL
mytop was inspired by the system monitoring tool top. I routinely use top on Linux, FreeBSD, and Solaris. You are likely to notice features from each of them here. mytop will connect to a MySQL server and periodically run the SHOW PROCESSLIST and SHOW STATUS commands and attempt to summarize the information from them in a useful format.
Diffstat (limited to 'databases/mytop/Makefile')
-rw-r--r--databases/mytop/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/databases/mytop/Makefile b/databases/mytop/Makefile
new file mode 100644
index 00000000000..15842ce0073
--- /dev/null
+++ b/databases/mytop/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/05/14 12:37:03 zuntum Exp $
+#
+
+DISTNAME= mytop-0.7
+CATEGORIES= databases
+MASTER_SITES= http://public.yahoo.com/~jzawodn/mytop/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://public.yahoo.com/~jzawodn/mytop/
+COMMENT= console-based tool for monitoring the threads and performance of MySQL
+
+DEPENDS+= p5-DBI-*:../../databases/p5-DBI
+DEPENDS+= p5-Term-ReadKey-*:../../devel/p5-Term-ReadKey
+DEPENDS+= p5-DBD-mysql-*:../../databases/p5-DBD-mysql
+
+USE_PERL5= YES
+NO_BUILD= YES
+
+post-patch:
+ ${SED} "s,/usr/bin/perl,${LOCALBASE}/bin/perl," \
+ ${WRKSRC}/mytop > ${WRKSRC}/mytop.done
+ ${MV} ${WRKSRC}/mytop.done ${WRKSRC}/mytop
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/mytop ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mytop
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/mytop
+ ${INSTALL_DATA} ${WRKSRC}/mytop.html ${PREFIX}/share/doc/mytop
+
+.include "../../mk/bsd.pkg.mk"