freebsd-ports/databases/innotop/Makefile

32 lines
810 B
Makefile

# 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>