summaryrefslogtreecommitdiff
path: root/databases/mytop/Makefile
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-05-14 12:37:03 +0000
committerzuntum <zuntum@pkgsrc.org>2001-05-14 12:37:03 +0000
commitda6218b88b93796a97ad9f84c2e3d842f7368ccb (patch)
tree390c08f7afa7bf150b071f4debf6b44c7d86c66f /databases/mytop/Makefile
parent89dae3abadc032ee1f4cb4a9f6d33c4e0cf02fc3 (diff)
downloadpkgsrc-da6218b88b93796a97ad9f84c2e3d842f7368ccb.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"