aboutsummaryrefslogtreecommitdiffstats
path: root/databases/innotop/Makefile
blob: cf2069dbb863907e9f430beef705d070326f39ef (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
# Created by: Steven Kreuzer <skreuzer@f2o.org>
# $FreeBSD$

PORTNAME=   innotop
PORTVERSION=    1.9.1
CATEGORIES= databases
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= skreuzer@FreeBSD.org
COMMENT=    A MySQL and InnoDB monitoring program

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

BUILD_DEPENDS=  p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \
        p5-DBI>=1.46:${PORTSDIR}/databases/p5-DBI \
        p5-Term-ReadKey>=2.10:${PORTSDIR}/devel/p5-Term-ReadKey
RUN_DEPENDS=    p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \
        p5-DBI>=1.46:${PORTSDIR}/databases/p5-DBI \
        p5-Term-ReadKey>=2.10:${PORTSDIR}/devel/p5-Term-ReadKey

USES=       perl5
USE_PERL5=  configure
USE_MYSQL=  yes

MAN1=       innotop.1

NO_STAGE=   yes
post-patch:
    @${REINPLACE_CMD} -e 's|/etc/innotop|${PREFIX}/etc|g' ${WRKSRC}/innotop

.include <bsd.port.mk>