Sun Oct 11 11:37:50 2015 UTC ()
Import mysqltuner-1.6.0 as databases/mysqltuner.

MySQLTuner is a script written in Perl that will assist you with your MySQL
configuration and make recommendations for increased performance and
stability.


(rodent)
diff -r0 -r1.1 pkgsrc/databases/mysqltuner/DESCR
diff -r0 -r1.1 pkgsrc/databases/mysqltuner/Makefile
diff -r0 -r1.1 pkgsrc/databases/mysqltuner/PLIST
diff -r0 -r1.1 pkgsrc/databases/mysqltuner/distinfo

File Added: pkgsrc/databases/mysqltuner/DESCR
MySQLTuner is a script written in Perl that will assist you with your MySQL
configuration and make recommendations for increased performance and
stability.

File Added: pkgsrc/databases/mysqltuner/Makefile
# $NetBSD: Makefile,v 1.1 2015/10/11 11:37:50 rodent Exp $

GITHUB_PROJECT=	MySQLTuner-perl
DISTNAME=	1.6.0
PKGNAME=	mysqltuner-${DISTNAME}
CATEGORIES=	databases
MASTER_SITES=	${MASTER_SITE_GITHUB:=major/}
DIST_SUBDIR=	${PKGBASE}

MAINTAINER=	rodent@NetBSD.org
HOMEPAGE=	http://mysqltuner.com/
COMMENT=	Perl script that assists in MySQL configuration
LICENSE=	gnu-gpl-v3

NO_BUILD=	yes
USE_TOOLS+=	perl:run

WRKSRC=		${WRKDIR}/${GITHUB_PROJECT}-${DISTNAME}
USE_LANGUAGES=	# none

REPLACE_PERL=	mysqltuner.pl

PKGDOCDIR=		share/doc/${PKGBASE}
SUBST_CLASSES+=		docdir
SUBST_FILES.docdir=	mysqltuner.pl
SUBST_MESSAGE.docdir=	Fixing DOCDIR.
SUBST_SED.docdir=	-e "s|/usr/share/mysqltuner|${PREFIX}/${PKGDOCDIR}|1"
SUBST_STAGE.docdir=	post-patch

INSTALLATION_DIRS+=	bin ${PKGDOCDIR}

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/mysqltuner.pl ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/basic_passwords.txt \
		${DESTDIR}${PREFIX}/${PKGDOCDIR}
	${INSTALL_DATA} ${WRKSRC}/*.md ${DESTDIR}${PREFIX}/${PKGDOCDIR}

.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/databases/mysqltuner/PLIST
@comment $NetBSD: PLIST,v 1.1 2015/10/11 11:37:50 rodent Exp $
bin/mysqltuner.pl
share/doc/mysqltuner/basic_passwords.txt
share/doc/mysqltuner/CONTRIBUTING.md
share/doc/mysqltuner/INTERNALS.md
share/doc/mysqltuner/README.md
share/doc/mysqltuner/README.ru.md
share/doc/mysqltuner/USAGE.md

File Added: pkgsrc/databases/mysqltuner/distinfo
$NetBSD: distinfo,v 1.1 2015/10/11 11:37:50 rodent Exp $

SHA1 (mysqltuner/1.6.0.tar.gz) = 21c2b48020e2c82b9cd440c48e3176b648273eda
RMD160 (mysqltuner/1.6.0.tar.gz) = 87839415accf41c70c3ddb07fb4ad65d78957254
Size (mysqltuner/1.6.0.tar.gz) = 53424 bytes