freebsd-ports/databases/mysqltuner/Makefile
2014-05-12 16:43:39 +00:00

32 lines
724 B
Makefile

# Created by: Wen heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= mysqltuner
PORTVERSION= 1.3.0
CATEGORIES= databases
MASTER_SITES= https://github.com/major/MySQLTuner-perl/archive/
DISTNAME= v1.3.0
MAINTAINER= pi@FreeBSD.org
COMMENT= Assist you with MySQL Configuration
LICENSE= GPLv3
USES= perl5 shebangfix
NO_BUILD= yes
WRKSRC= ${WRKDIR}/MySQLTuner-perl-${PORTVERSION}
PLIST_FILES= bin/${PORTNAME}
SHEBANG_FILES= ${PORTNAME}.pl
PORTDOCS= README
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,}.md ${STAGEDIR}${DOCSDIR}/README
.include <bsd.port.mk>