# Created by: Andrey Ignatov # $FreeBSD$ PORTNAME= mysqlidxchk PORTVERSION= 1.0 PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://hackmysql.com/scripts/ MAINTAINER= rdna@rdna.ru COMMENT= Checks MySQL databases/tables for unused indexes RUN_DEPENDS= p5-Term-ReadKey>=0:devel/p5-Term-ReadKey \ p5-DBI>=0:databases/p5-DBI \ p5-DBD-mysql>=0:databases/p5-DBD-mysql NO_WRKSUBDIR= yes USES= perl5 shebangfix tar:tgz NO_BUILD= yes PLIST_FILES= bin/mysqlidxchk SHEBANG_FILES= mysqlidxchk PORTDOCS= mysqlidxchkdoc.html mysqlidxchkguide.html OPTIONS_DEFINE= DOCS do-install: ${INSTALL_SCRIPT} ${WRKSRC}/mysqlidxchk ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include