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
This commit is contained in:
zuntum 2001-07-08 13:07:45 +00:00
parent 21d61aedde
commit feb48c5de2
3 changed files with 10 additions and 20 deletions

View file

@ -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"

View file

@ -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

View file

@ -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 $