blob: 206a6f8d1e5d9c157970abaadf2bc8ce805e10da (
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
35
36
37
38
39
|
# Created by: Wen heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= mysqltuner
PORTVERSION= 1.7.2
CATEGORIES= databases
MAINTAINER= pi@FreeBSD.org
COMMENT= Assist you with MySQL Configuration
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_DEFINE= DOCS
USES= perl5 shebangfix
NO_ARCH= yes
NO_BUILD= yes
USE_GITHUB= yes
GH_ACCOUNT= major
GH_PROJECT= MySQLTuner-perl
PLIST_FILES= bin/${PORTNAME}
SHEBANG_FILES= ${PORTNAME}.pl
PORTDOCS= CONTRIBUTING INTERNALS README USAGE
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc}.md ${STAGEDIR}${DOCSDIR}/${doc}
.endfor
.include <bsd.port.mk>
|