freebsd-ports/databases/innotop/Makefile
Steven Kreuzer 841541b43d Add USE_MYSQL=yes so that MYSQL_VER is defined and the correct version
of p5-DBD-mysql gets added as a dependency

PR:		ports/166392
Submitted by:	Helmut Schneider <jumper99@gmx.de>
2012-04-19 13:28:57 +00:00

35 lines
934 B
Makefile

# New ports collection makefile for: innotop
# Date created: 23 October 2006
# Whom: Steven Kreuzer <skreuzer@f2o.org>
#
# $FreeBSD$
#
PORTNAME= innotop
PORTVERSION= 1.8.1
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
BUILD_DEPENDS= p5-DBD-mysql${MYSQL_VER}>=0:${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER} \
p5-DBI>=1.46:${PORTSDIR}/databases/p5-DBI \
p5-Term-ReadKey>=2.10:${PORTSDIR}/devel/p5-Term-ReadKey
RUN_DEPENDS= p5-DBD-mysql${MYSQL_VER}>=0:${PORTSDIR}/databases/p5-DBD-mysql${MYSQL_VER} \
p5-DBI>=1.46:${PORTSDIR}/databases/p5-DBI \
p5-Term-ReadKey>=2.10:${PORTSDIR}/devel/p5-Term-ReadKey
PERL_CONFIGURE= yes
USE_MYSQL= yes
MAN1= innotop.1
post-patch:
@${REINPLACE_CMD} -e 's|/etc/innotop|${PREFIX}/etc|g' ${WRKSRC}/innotop
.include <bsd.port.mk>