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:
parent
21d61aedde
commit
feb48c5de2
3 changed files with 10 additions and 20 deletions
|
@ -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
|
CATEGORIES= databases
|
||||||
MASTER_SITES= http://public.yahoo.com/~jzawodn/mytop/
|
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
|
DEPENDS+= p5-DBD-mysql-*:../../databases/p5-DBD-mysql
|
||||||
|
|
||||||
USE_PERL5= YES
|
USE_PERL5= YES
|
||||||
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/mytop/.packlist
|
||||||
|
REPLACE_PERL= mytop
|
||||||
NO_BUILD= YES
|
NO_BUILD= YES
|
||||||
|
|
||||||
post-patch:
|
do-configure:
|
||||||
${SED} "s,/usr/bin/perl,${LOCALBASE}/bin/perl," \
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
|
||||||
${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"
|
.include "../../mk/bsd.pkg.mk"
|
||||||
|
|
|
@ -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
|
SHA1 (mytop-0.8.tar.gz) = 3831880f41ea9bae21b446f766bdce0b9145ad49
|
||||||
Size (mytop-0.7.tar.gz) = 13157 bytes
|
Size (mytop-0.8.tar.gz) = 12431 bytes
|
||||||
|
|
|
@ -1,5 +1 @@
|
||||||
@comment $NetBSD: PLIST,v 1.1.1.1 2001/05/14 12:37:03 zuntum Exp $
|
@comment $NetBSD: PLIST,v 1.2 2001/07/08 13:07:45 zuntum Exp $
|
||||||
bin/mytop
|
|
||||||
share/doc/mytop/README
|
|
||||||
share/doc/mytop/mytop.html
|
|
||||||
@dirrm share/doc/mytop
|
|
||||||
|
|
Loading…
Reference in a new issue