summaryrefslogtreecommitdiff
path: root/databases/mytop
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-07-08 13:07:45 +0000
committerzuntum <zuntum@pkgsrc.org>2001-07-08 13:07:45 +0000
commitfeb48c5de2333c4835f6ae45f9a99734d6ff6f84 (patch)
tree859a0974ac4036da45d2a8276f14461a4042042c /databases/mytop
parent21d61aeddea1cf1056e9903bc3f10aae531c1d51 (diff)
downloadpkgsrc-feb48c5de2333c4835f6ae45f9a99734d6ff6f84.tar.gz
Update mytop to 0.8
Changes: Added a "Queries Per Second" or qps mode. You can enter qps mode by hitting the `m' key. In this mode, mytop will write out one integer per second. The number written reflects the number of queries executed by the server in the previous one second interval. mytop is now distributed as a true Perl package. There's a normal Makefile.PL, which means it can be installed via the standard mantra. o use REPLACE_PERL
Diffstat (limited to 'databases/mytop')
-rw-r--r--databases/mytop/Makefile18
-rw-r--r--databases/mytop/distinfo6
-rw-r--r--databases/mytop/pkg/PLIST6
3 files changed, 10 insertions, 20 deletions
diff --git a/databases/mytop/Makefile b/databases/mytop/Makefile
index 15842ce0073..9c2d407c166 100644
--- a/databases/mytop/Makefile
+++ b/databases/mytop/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2001/05/14 12:37:03 zuntum Exp $
+# $NetBSD: Makefile,v 1.2 2001/07/08 13:07:45 zuntum Exp $
#
-DISTNAME= mytop-0.7
+DISTNAME= mytop-0.8
CATEGORIES= databases
MASTER_SITES= http://public.yahoo.com/~jzawodn/mytop/
@@ -14,17 +14,11 @@ DEPENDS+= p5-Term-ReadKey-*:../../devel/p5-Term-ReadKey
DEPENDS+= p5-DBD-mysql-*:../../databases/p5-DBD-mysql
USE_PERL5= YES
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/mytop/.packlist
+REPLACE_PERL= mytop
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
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/mytop/distinfo b/databases/mytop/distinfo
index dbc9327b65a..0b08a7603e1 100644
--- a/databases/mytop/distinfo
+++ b/databases/mytop/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2001/05/14 12:37:03 zuntum Exp $
+$NetBSD: distinfo,v 1.2 2001/07/08 13:07:45 zuntum Exp $
-SHA1 (mytop-0.7.tar.gz) = 0845713cf204e279676206c299169166fadf04fb
-Size (mytop-0.7.tar.gz) = 13157 bytes
+SHA1 (mytop-0.8.tar.gz) = 3831880f41ea9bae21b446f766bdce0b9145ad49
+Size (mytop-0.8.tar.gz) = 12431 bytes
diff --git a/databases/mytop/pkg/PLIST b/databases/mytop/pkg/PLIST
index d177af0984c..0466c4958a0 100644
--- a/databases/mytop/pkg/PLIST
+++ b/databases/mytop/pkg/PLIST
@@ -1,5 +1 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/14 12:37:03 zuntum Exp $
-bin/mytop
-share/doc/mytop/README
-share/doc/mytop/mytop.html
-@dirrm share/doc/mytop
+@comment $NetBSD: PLIST,v 1.2 2001/07/08 13:07:45 zuntum Exp $