mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
4e1b79a0a6
With hat: portmgr Sponsored by: Absolight
34 lines
791 B
Makefile
34 lines
791 B
Makefile
# Created by: Andrey Ignatov <rdna@rdna.ru>
|
|
# $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 <bsd.port.mk>
|