Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2014 07:24:25 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346601 - head/databases/mysqlsla
Message-ID:  <201403010724.s217OP1D034207@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403010724.s217OP1D034207>