diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2014-03-01 15:24:25 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2014-03-01 15:24:25 +0800 |
commit | 03163f79c5970c5c3f8f4dcde34d303b434baa80 (patch) | |
tree | 9a0a5b8b8140ef102a3f97bed2ea6ff9461240b4 /databases | |
parent | 7538d43bba0b235e8e2cf10d8e13b1bf9408df2a (diff) | |
download | freebsd-ports-gnome-03163f79c5970c5c3f8f4dcde34d303b434baa80.tar.gz freebsd-ports-gnome-03163f79c5970c5c3f8f4dcde34d303b434baa80.tar.zst freebsd-ports-gnome-03163f79c5970c5c3f8f4dcde34d303b434baa80.zip |
- Add LICENSE
- Fix shebang
- Bump PORTREVISION for package change
- Support STAGEDIR
Approved by: portmgr (blanket)
Diffstat (limited to 'databases')
-rw-r--r-- | databases/mysqlsla/Makefile | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/databases/mysqlsla/Makefile b/databases/mysqlsla/Makefile index 8aa37e64dd8a..e325d1aea6de 100644 --- a/databases/mysqlsla/Makefile +++ b/databases/mysqlsla/Makefile @@ -3,30 +3,33 @@ PORTNAME= mysqlsla PORTVERSION= 2.03 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases MASTER_SITES= http://hackmysql.com/scripts/ MAINTAINER= lippe@FreeBSD.org COMMENT= Mysqlsla analyzes general, slow, and raw MySQL statement logs +LICENSE= GPLv2 GPLv3 +LICENSE_COMB= dual + RUN_DEPENDS= p5-DBI>=0:${PORTSDIR}/databases/p5-DBI \ p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey -USES= perl5 +USES= perl5 shebangfix NO_BUILD= yes -PLIST_FILES= bin/mysqlsla +PLIST_FILES= bin/mysqlsla \ + man/man3/mysqlsla.3.gz -MAN3= mysqlsla.3 +SHEBANG_FILES= bin/mysqlsla -NO_STAGE= yes pre-install: @${MKDIR} ${WRKSRC}/doc - @pod2man ${WRKSRC}/lib/mysqlsla.pm > ${WRKSRC}/doc/${MAN3} + @pod2man ${WRKSRC}/lib/mysqlsla.pm > ${WRKSRC}/doc/mysqlsla.3 do-install: - @${INSTALL_SCRIPT} ${WRKSRC}/bin/mysqlsla ${PREFIX}/bin - @${INSTALL_MAN} ${WRKSRC}/doc/${MAN3} ${MAN3PREFIX}/man/man3 + @${INSTALL_SCRIPT} ${WRKSRC}/bin/mysqlsla ${STAGEDIR}${PREFIX}/bin + @${INSTALL_MAN} ${WRKSRC}/doc/mysqlsla.3 ${STAGEDIR}${MAN3PREFIX}/man/man3 .include <bsd.port.mk> |