1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Add LICENSE

- Fix shebang
- Bump PORTREVISION for package change
- Support STAGEDIR

Approved by:	portmgr (blanket)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-03-01 07:24:25 +00:00
parent c932d53d7a
commit a46c86a6f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346601

View File

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