aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysqltuner/Makefile
blob: 3eb779313c26525f579fbf36bb478b8e3fd220e2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Wen heping <wenheping@gmail.com>
# $FreeBSD$

PORTNAME=   mysqltuner
PORTVERSION=    1.3.0
DISTVERSIONPREFIX=  v
CATEGORIES= databases

MAINTAINER= pi@FreeBSD.org
COMMENT=    Assist you with MySQL Configuration

LICENSE=    GPLv3

USES=       perl5 shebangfix
NO_BUILD=   yes
USE_GITHUB= yes
GH_ACCOUNT= major
GH_PROJECT= MySQLTuner-perl

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>