aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysqltuner
diff options
context:
space:
mode:
authorak <ak@FreeBSD.org>2013-10-02 06:21:55 +0800
committerak <ak@FreeBSD.org>2013-10-02 06:21:55 +0800
commit65f1954787fa7254ed6d07f0a8b2f6ce18e02ac4 (patch)
treeda1edbfbb041d69b4269d07718667532335754f5 /databases/mysqltuner
parent33d195a20f2fc6d1117adb09253886ccc4e0d21e (diff)
downloadfreebsd-ports-gnome-65f1954787fa7254ed6d07f0a8b2f6ce18e02ac4.tar.gz
freebsd-ports-gnome-65f1954787fa7254ed6d07f0a8b2f6ce18e02ac4.tar.zst
freebsd-ports-gnome-65f1954787fa7254ed6d07f0a8b2f6ce18e02ac4.zip
- 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]
Diffstat (limited to 'databases/mysqltuner')
-rw-r--r--databases/mysqltuner/Makefile21
-rw-r--r--databases/mysqltuner/pkg-descr2
2 files changed, 8 insertions, 15 deletions
diff --git a/databases/mysqltuner/Makefile b/databases/mysqltuner/Makefile
index 5e7cd520fb94..1454a3594278 100644
--- a/databases/mysqltuner/Makefile
+++ b/databases/mysqltuner/Makefile
@@ -7,8 +7,8 @@ PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= https://github.com/downloads/me-vlad/MySQLTuner-perl/
-MAINTAINER= vlad@vlad.uz.ua
-COMMENT= A Script Assist You with MySQL Configuration
+MAINTAINER= fbsd-ports@opsec.eu
+COMMENT= Assist you with MySQL Configuration
LICENSE= GPLv3
@@ -21,16 +21,9 @@ PLIST_FILES= bin/${PORTNAME}.pl
PORTDOCS= README
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
do-install:
- @${CP} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}.pl
- @${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}.pl
- @${ECHO_CMD} '@exec ${CHMOD} 755 ${PREFIX}/bin/${PORTNAME}.pl' \
- >> ${TMPPLIST}
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
-.endif
-
-.include <bsd.port.post.mk>
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}.pl
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/databases/mysqltuner/pkg-descr b/databases/mysqltuner/pkg-descr
index 6a6cd0e8060a..14eb818732a6 100644
--- a/databases/mysqltuner/pkg-descr
+++ b/databases/mysqltuner/pkg-descr
@@ -5,4 +5,4 @@ stability. Within seconds, it will display
statistics about your MySQL installation and the
areas where it can be improved.
-WWW: https://github.com/rackerhacker/MySQLTuner-perl
+WWW: https://github.com/rackerhacker/MySQLTuner-perl/