aboutsummaryrefslogtreecommitdiffstats
path: root/databases/innotop/Makefile
blob: f0c270916c85033faad05bc746378532448b7f61 (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
# New ports collection makefile for:    innotop
# Date created:             23 October 2006
# Whom:                     Steven Kreuzer <skreuzer@f2o.org>
#
# $FreeBSD$
#

PORTNAME=   innotop
PORTVERSION=    1.8.0
PORTREVISION=   2
CATEGORIES= databases
MASTER_SITES=   GOOGLE_CODE

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

USE_MYSQL=  yes

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

PERL_CONFIGURE= yes

MAN1=       innotop.1

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

.include <bsd.port.mk>