summaryrefslogtreecommitdiff
path: root/databases/mytop
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2000-10-05 01:35:25 +0000
committerJames E. Housley <jeh@FreeBSD.org>2000-10-05 01:35:25 +0000
commitef9103121de31d1cf6d5cd77810d3b593ad9658f (patch)
treea01b410d80c9382726e82c7dfc2c3baec2d4a162 /databases/mytop
parentAdd bsd.gnome.mk that defines gnome-related dependency stuff and hooks (diff)
Initial import of mytop Version 0.3
mytop is a non-gui tool for monitoring the threads and overall performance of MySQL 3.22.x and 3.23.x servers. PR: 20892 Submitted by: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw> Reviewed by: will Approved by: will
Notes
Notes: svn path=/head/; revision=33416
Diffstat (limited to 'databases/mytop')
-rw-r--r--databases/mytop/Makefile40
-rw-r--r--databases/mytop/distinfo1
-rw-r--r--databases/mytop/files/patch-aa8
-rw-r--r--databases/mytop/pkg-comment1
-rw-r--r--databases/mytop/pkg-descr6
-rw-r--r--databases/mytop/pkg-plist1
6 files changed, 57 insertions, 0 deletions
diff --git a/databases/mytop/Makefile b/databases/mytop/Makefile
new file mode 100644
index 000000000000..69914f5b34f6
--- /dev/null
+++ b/databases/mytop/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: mytop
+# Date created: 28 Augest 2000
+# Whom: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mytop
+PORTVERSION= 0.3
+CATEGORIES= databases
+MASTER_SITES= http://public.yahoo.com/~jzawodn/mytop/
+DISTNAME= mytop
+EXTRACT_SUFX= .gz
+
+MAINTAINER= leeym@cae.ce.ntu.edu.tw
+
+RUN_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-Mysql
+
+USE_PERL5= yes
+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+MAN1= mytop.1
+POD2MAN?= /usr/bin/pod2man
+
+do-extract:
+ @${MKDIR} ${WRKDIR}
+ @${GUNZIP_CMD} -c ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${WRKDIR}/${DISTNAME}
+ @${POD2MAN} ${WRKDIR}/${DISTNAME} > ${WRKDIR}/${DISTNAME}.1
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME} ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}.1 ${PREFIX}/man/man1
+
+NEWLAYOUT= yes
+
+.include <bsd.port.mk>
diff --git a/databases/mytop/distinfo b/databases/mytop/distinfo
new file mode 100644
index 000000000000..b99f43f3d7f9
--- /dev/null
+++ b/databases/mytop/distinfo
@@ -0,0 +1 @@
+MD5 (mytop.gz) = 2bd661af7434b5be6c817701398ef919
diff --git a/databases/mytop/files/patch-aa b/databases/mytop/files/patch-aa
new file mode 100644
index 000000000000..68ca2603623e
--- /dev/null
+++ b/databases/mytop/files/patch-aa
@@ -0,0 +1,8 @@
+--- mytop.orig Wed Oct 4 19:27:59 2000
++++ mytop Wed Oct 4 19:28:18 2000
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/perl -w
++#!/usr/bin/perl -w
+ #
+ # $Id: mytop,v 1.21 2000/08/10 18:04:32 jzawodn Exp jzawodn $
+
diff --git a/databases/mytop/pkg-comment b/databases/mytop/pkg-comment
new file mode 100644
index 000000000000..d0ebfa6bd79c
--- /dev/null
+++ b/databases/mytop/pkg-comment
@@ -0,0 +1 @@
+Mytop - a top clone for MySQL
diff --git a/databases/mytop/pkg-descr b/databases/mytop/pkg-descr
new file mode 100644
index 000000000000..3ff6116bd22d
--- /dev/null
+++ b/databases/mytop/pkg-descr
@@ -0,0 +1,6 @@
+mytop is a non-gui tool for monitoring the threads and overall performance
+of MySQL 3.22.x and 3.23.x servers. It runs on most Unix systems which have
+Perl, DBI, and Term::ReadKey installed. And with Term::ANSIColor installed
+you even get color.
+
+WWW: http://public.yahoo.com/~jzawodn/mytop/
diff --git a/databases/mytop/pkg-plist b/databases/mytop/pkg-plist
new file mode 100644
index 000000000000..850eb5410efa
--- /dev/null
+++ b/databases/mytop/pkg-plist
@@ -0,0 +1 @@
+bin/mytop