to just depend on databases/p5-DBD-mysql as that will handle the MYSQL_VER magic. This is required as only databases/p5-DBD-mysql supports mariadb-client and the upcomming perconaXX-client. Approved by: portmgr (bapt) Initial patches by: pgollucci
34 lines
870 B
Makefile
34 lines
870 B
Makefile
# New ports collection makefile for: innotop
|
|
# Date created: 23 October 2006
|
|
# Whom: Steven Kreuzer <skreuzer@f2o.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= innotop
|
|
PORTVERSION= 1.9.0
|
|
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
|
|
|
|
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>
|