aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysqltuner/Makefile
blob: 28ba32d2afe185f5f6a6cd1657bec14c1d77da9b (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
# New ports collection makefile for:   mysqltuner
# Date created:     09 September 2008
# Whom:         Wen heping <wenheping@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   mysqltuner
PORTVERSION=    0.9.9
CATEGORIES= databases
MASTER_SITES=   http://mysqltuner.com/releases/
DISTFILES=  ${PORTNAME}-${PORTVERSION}.pl
EXTRACT_ONLY=

MAINTAINER= wenheping@gmail.com
COMMENT=    A Script Assist You with MySQL Configuration

USE_PERL=   yes
NO_BUILD=   yes

PLIST_FILES=    bin/${PORTNAME}.pl

.include <bsd.port.pre.mk>
do-install:
    @${CP} ${DISTDIR}/${PORTNAME}-${PORTVERSION}.pl \
        ${PREFIX}/bin/${PORTNAME}.pl
    @${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}.pl
    @${ECHO_CMD} '@exec ${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}.pl' \
        >> ${TMPPLIST}

.include <bsd.port.post.mk>