svn commit: r346601 - head/databases/mysqlsla
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Mar 1 07:24:25 UTC 2014
Author: sunpoet
Date: Sat Mar 1 07:24:25 2014
New Revision: 346601
URL: http://svnweb.freebsd.org/changeset/ports/346601
QAT: https://qat.redports.org/buildarchive/r346601/
Log:
- Add LICENSE
- Fix shebang
- Bump PORTREVISION for package change
- Support STAGEDIR
Approved by: portmgr (blanket)
Modified:
head/databases/mysqlsla/Makefile
Modified: head/databases/mysqlsla/Makefile
==============================================================================
--- head/databases/mysqlsla/Makefile Sat Mar 1 07:24:19 2014 (r346600)
+++ head/databases/mysqlsla/Makefile Sat Mar 1 07:24:25 2014 (r346601)
@@ -3,30 +3,33 @@
PORTNAME= mysqlsla
PORTVERSION= 2.03
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= databases
MASTER_SITES= http://hackmysql.com/scripts/
MAINTAINER= lippe at 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>
More information about the svn-ports-all
mailing list