1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/databases/mysqlidxchk/Makefile
Andrej Zverev a41069ab3b - Remove SITE_PERL from *_DEPENDS
Approved by: portmgr@ (bapt@)
2012-06-30 14:53:22 +00:00

40 lines
929 B
Makefile

# New ports collection makefile for: mysqlidxchk
# Date created: 29 April 2009
# Whom: Andrey Ignatov <rdna@rdna.ru>
#
# $FreeBSD$
#
PORTNAME= mysqlidxchk
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://hackmysql.com/scripts/
EXTRACT_SUFX= .tgz
MAINTAINER= rdna@rdna.ru
COMMENT= Checks MySQL databases/tables for unused indexes
RUN_DEPENDS= p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey \
p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql
NO_WRKSUBDIR= yes
USE_PERL5= yes
NO_BUILD= yes
PLIST_FILES= bin/mysqlidxchk
PORTDOCS= mysqlidxchkdoc.html mysqlidxchkguide.html
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/mysqlidxchk ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>