Bug 182541

Summary: [patch update] databases/mysqltuner: take maintainership
Product: Ports & Packages Reporter: Kurt Jaeger <fbsd-ports>
Component: Individual Port(s)Assignee: Alex Kozlov <ak>
Status: Closed FIXED    
Severity: Affects Only Me CC: vlad
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Kurt Jaeger 2013-10-01 10:00:00 UTC
	take maintainership

How-To-Repeat: 	-
Comment 1 dfilter service freebsd_committer 2013-10-01 23:22:03 UTC
Author: ak
Date: Tue Oct  1 22:21:55 2013
New Revision: 329005
URL: http://svnweb.freebsd.org/changeset/ports/329005

Log:
  - 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]

Modified:
  head/databases/mysqltuner/Makefile
  head/databases/mysqltuner/pkg-descr   (contents, props changed)

Modified: head/databases/mysqltuner/Makefile
==============================================================================
--- head/databases/mysqltuner/Makefile	Tue Oct  1 22:16:39 2013	(r329004)
+++ head/databases/mysqltuner/Makefile	Tue Oct  1 22:21:55 2013	(r329005)
@@ -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
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}.pl
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/databases/mysqltuner/pkg-descr
==============================================================================
--- head/databases/mysqltuner/pkg-descr	Tue Oct  1 22:16:39 2013	(r329004)
+++ head/databases/mysqltuner/pkg-descr	Tue Oct  1 22:21:55 2013	(r329005)
@@ -5,4 +5,4 @@ stability. Within seconds, it will displ
 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/
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 2 Alex Kozlov freebsd_committer 2013-10-01 23:22:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ak

I'll take it.
Comment 3 Alex Kozlov freebsd_committer 2013-10-01 23:22:41 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!