1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/databases/mysqlsla/Makefile

33 lines
737 B
Makefile

# Created by: Alexander Zhuravlev <zaa@zaa.pp.ru>
# $FreeBSD$
PORTNAME= mysqlsla
PORTVERSION= 2.03
PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://hackmysql.com/scripts/
MAINTAINER= lippe@FreeBSD.org
COMMENT= Mysqlsla analyzes general, slow, and raw MySQL statement logs
RUN_DEPENDS= p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \
p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey
USES= perl5
NO_BUILD= yes
PLIST_FILES= bin/mysqlsla
MAN3= mysqlsla.3
NO_STAGE= yes
pre-install:
@${MKDIR} ${WRKSRC}/doc
@pod2man ${WRKSRC}/lib/mysqlsla.pm > ${WRKSRC}/doc/${MAN3}
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/bin/mysqlsla ${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/doc/${MAN3} ${MAN3PREFIX}/man/man3
.include <bsd.port.mk>