Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 2000 09:27:21 +0800 (CST)
From:      Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/20892: new port : databases/mytop
Message-ID:  <200008280127.JAA22553@www.caece.net>

next in thread | raw e-mail | index | archive | help

>Number:         20892
>Category:       ports
>Synopsis:       new port : databases/mytop
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 27 18:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
>Environment:

FreeBSD utopia.leeym.yi.org 4.1-STABLE FreeBSD 4.1-STABLE #0: Fri Aug 25 10:58:51 CST 2000     root@utopia.leeym.yi.org:/usr/obj/usr/src/sys/UTOPIA  i386

>Description:

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.

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mytop
#	mytop/files
#	mytop/files/md5
#	mytop/patches
#	mytop/pkg
#	mytop/pkg/COMMENT
#	mytop/pkg/DESCR
#	mytop/pkg/PLIST
#	mytop/Makefile
#
echo c - mytop
mkdir -p mytop > /dev/null 2>&1
echo c - mytop/files
mkdir -p mytop/files > /dev/null 2>&1
echo x - mytop/files/md5
sed 's/^X//' >mytop/files/md5 << 'END-of-mytop/files/md5'
XMD5 (mytop.gz) = 2bd661af7434b5be6c817701398ef919
END-of-mytop/files/md5
echo c - mytop/patches
mkdir -p mytop/patches > /dev/null 2>&1
echo c - mytop/pkg
mkdir -p mytop/pkg > /dev/null 2>&1
echo x - mytop/pkg/COMMENT
sed 's/^X//' >mytop/pkg/COMMENT << 'END-of-mytop/pkg/COMMENT'
XMytop - a top clone for MySQL
END-of-mytop/pkg/COMMENT
echo x - mytop/pkg/DESCR
sed 's/^X//' >mytop/pkg/DESCR << 'END-of-mytop/pkg/DESCR'
Xmytop is a non-gui tool for monitoring the threads and overall performance 
Xof MySQL 3.22.x and 3.23.x servers. It runs on most Unix systems which have 
XPerl, DBI, and Term::ReadKey installed. And with Term::ANSIColor installed 
Xyou even get color.
END-of-mytop/pkg/DESCR
echo x - mytop/pkg/PLIST
sed 's/^X//' >mytop/pkg/PLIST << 'END-of-mytop/pkg/PLIST'
Xbin/mytop
END-of-mytop/pkg/PLIST
echo x - mytop/Makefile
sed 's/^X//' >mytop/Makefile << 'END-of-mytop/Makefile'
X# New ports collection makefile for:	mytop
X# Date created:				28 Augest 2000
X# Whom:	      				Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mytop
XPORTVERSION=	0.3
XCATEGORIES=	databases
XMASTER_SITES=	http://public.yahoo.com/~jzawodn/mytop/
XDISTNAME=	mytop
XEXTRACT_SUFX=	.gz
X
XMAINTAINER=	leeym@cae.ce.ntu.edu.tw
X
XRUN_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-Mysql
X
XUSE_PERL5=	yes
X
XNO_WRKSUBDIR=	yes
XNO_BUILD=	yes
X
XMAN1=		mytop.1
XPOD2MAN?=	/usr/bin/pod2man
X
Xdo-extract:
X	@${MKDIR} ${WRKDIR}
X	@${GUNZIP_CMD} -c ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} > ${WRKDIR}/${DISTNAME}
X	@${POD2MAN} ${WRKDIR}/${DISTNAME} > ${WRKDIR}/${DISTNAME}.1
X
Xdo-install:
X	${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME} ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKDIR}/${DISTNAME}.1 ${PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-mytop/Makefile
exit



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008280127.JAA22553>