freebsd-ports/databases/mysqlidxchk/Makefile
Jun Kuriyama 3efe84fba6 - Remove unneeded dependencies which is in perl-5.8.9 dist
(part 17).

Approved by:	portmgr (itetcu)
2010-01-29 04:56:59 +00:00

39 lines
998 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= ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI \
${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${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>