forked from Lainports/freebsd-ports
mysqlreport transforms the values from SHOW STATUS into an easy-to-read report that provides a much more in-depth understanding of how well MySQL is running. For this and many other reasons, mysqlreport is a better alternative (and practically the only alternative) to manually interpreting SHOW STATUS. WWW: http://hackmysql.com/mysqlreport PR: ports/105787 Submitted by: Alexander Zhuravlev <zaa at zaa.pp.ru>
37 lines
954 B
Makefile
37 lines
954 B
Makefile
# New ports collection makefile for: mysqlreport
|
|
# Date created: 2006-11-23
|
|
# Whom: Alexander Zhuravlev <zaa@zaa.pp.ru>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mysqlreport
|
|
PORTVERSION= 2.7a
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://hackmysql.com/scripts/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= zaa@zaa.pp.ru
|
|
COMMENT= Mysqlreport makes a friendly report of important MySQL status values
|
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
|
|
${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
|
|
|
|
USE_PERL5= yes
|
|
NO_BUILD= yes
|
|
NO_WRKSUBDIR= yes
|
|
|
|
PLIST_FILES= bin/mysqlreport
|
|
PORTDOCS= mysqlreportguide.html mysqlreportdoc.html
|
|
|
|
do-install:
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/mysqlreport ${PREFIX}/bin
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|