diff options
Diffstat (limited to 'databases/mysqlsla/Makefile')
-rw-r--r-- | databases/mysqlsla/Makefile | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/databases/mysqlsla/Makefile b/databases/mysqlsla/Makefile index 14c373ad33f..0b5d86d9910 100644 --- a/databases/mysqlsla/Makefile +++ b/databases/mysqlsla/Makefile @@ -5,42 +5,32 @@ # $FreeBSD$ PORTNAME= mysqlsla -PORTVERSION= 1.5 +PORTVERSION= 1.7a CATEGORIES= databases -MASTER_SITES= http://hackmysql.com/scripts/ \ - ${MASTER_SITE_LOCAL} \ - http://zaa.pp.ru/distfiles/ -MASTER_SITE_SUBDIR= miwi +MASTER_SITES= http://hackmysql.com/scripts/ EXTRACT_SUFX= .tgz -MAINTAINER= zaa@zaa.pp.ru +MAINTAINER= lippemail@gmail.com COMMENT= Mysqlsla analyzes general, slow, and raw MySQL statement logs RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \ - ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql + ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \ + ${SITE_PERL}/Class/DBI.pm:${PORTSDIR}/databases/p5-Class-DBI-mysql \ + ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes USE_PERL5= yes NO_BUILD= yes -NO_WRKSUBDIR= yes PLIST_FILES= bin/mysqlsla PORTDOCS= mysqlsladoc.html -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500805 -RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes -.endif - do-install: @${INSTALL_SCRIPT} ${WRKSRC}/mysqlsla ${PREFIX}/bin .if !defined(NOPORTDOCS) @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" @${MKDIR} ${DOCSDIR} -. for i in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} -. endfor + @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> |