mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
- Support STAGEDIR
- Makefile cleanup - Use a single space for WWW in pkg-descr - Give maintainership to submitter [1] PR: ports/182541 [1] Submitted by: Kurt Jaeger <fbsd-ports@opsec.eu> [1]
This commit is contained in:
parent
558580ea92
commit
730964f7a0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329005
2 changed files with 7 additions and 14 deletions
|
@ -7,8 +7,8 @@ PORTREVISION= 2
|
||||||
CATEGORIES= databases
|
CATEGORIES= databases
|
||||||
MASTER_SITES= https://github.com/downloads/me-vlad/MySQLTuner-perl/
|
MASTER_SITES= https://github.com/downloads/me-vlad/MySQLTuner-perl/
|
||||||
|
|
||||||
MAINTAINER= vlad@vlad.uz.ua
|
MAINTAINER= fbsd-ports@opsec.eu
|
||||||
COMMENT= A Script Assist You with MySQL Configuration
|
COMMENT= Assist you with MySQL Configuration
|
||||||
|
|
||||||
LICENSE= GPLv3
|
LICENSE= GPLv3
|
||||||
|
|
||||||
|
@ -21,16 +21,9 @@ PLIST_FILES= bin/${PORTNAME}.pl
|
||||||
|
|
||||||
PORTDOCS= README
|
PORTDOCS= README
|
||||||
|
|
||||||
NO_STAGE= yes
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
do-install:
|
do-install:
|
||||||
@${CP} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}.pl
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}.pl
|
||||||
@${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}.pl
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||||
@${ECHO_CMD} '@exec ${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}.pl' \
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||||
>> ${TMPPLIST}
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
@${MKDIR} ${DOCSDIR}
|
|
||||||
@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -5,4 +5,4 @@ stability. Within seconds, it will display
|
||||||
statistics about your MySQL installation and the
|
statistics about your MySQL installation and the
|
||||||
areas where it can be improved.
|
areas where it can be improved.
|
||||||
|
|
||||||
WWW: https://github.com/rackerhacker/MySQLTuner-perl
|
WWW: https://github.com/rackerhacker/MySQLTuner-perl/
|
||||||
|
|
Loading…
Add table
Reference in a new issue