Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2013 12:56:38 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r314155 - head/databases/mysqldumper
Message-ID:  <201303141256.r2ECuc4r068224@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Thu Mar 14 12:56:38 2013
New Revision: 314155
URL: http://svnweb.freebsd.org/changeset/ports/314155

Log:
  - Clean up couple of things after previous commit (r314144)
  - Do not overwrite WWWOWN and WWWGRP, set should be already set
  - Fix a typo in pkg-message, shorten <hr> lines by 2 characters
  - While here, define LICENSE (GPLv2), reformat and strip EOL spaces from
    pkg-descr, sort the knobs, improve COMMENT, etc.

Modified:
  head/databases/mysqldumper/Makefile
  head/databases/mysqldumper/pkg-descr
  head/databases/mysqldumper/pkg-message

Modified: head/databases/mysqldumper/Makefile
==============================================================================
--- head/databases/mysqldumper/Makefile	Thu Mar 14 12:39:44 2013	(r314154)
+++ head/databases/mysqldumper/Makefile	Thu Mar 14 12:56:38 2013	(r314155)
@@ -1,4 +1,4 @@
-# Created by: Marek Holienka	<marekholienka@gmail.com>
+# Created by: Marek Holienka <marekholienka@gmail.com>
 # $FreeBSD$
 
 PORTNAME=	mysqldumper
@@ -9,37 +9,41 @@ MASTER_SITES=	SF/${PORTNAME}/MySQLDumper
 DISTNAME=	MySQLDumper${PORTVERSION}
 
 MAINTAINER=	marekholienka@gmail.com
-COMMENT=	MySQLDumper is tool for backing up MySQL databases
+COMMENT=	Tool for backing up MySQL databases
 
-RUN_DEPENDS=	p5-DBI>=1.48:${PORTSDIR}/databases/p5-DBI \
+LICENSE=	GPLv2
 
-OPTIONS_DEFINE=	APACHE LIGHTTPD
-OPTIONS_DEFAULT=	APACHE
+RUN_DEPENDS=	p5-DBI>=1.48:${PORTSDIR}/databases/p5-DBI
 
 USE_ZIP=	yes
-NO_BUILD=	yes
-WRKSRC=		${WRKDIR}/msd${PORTVERSION}
-USE_PHP=	session mysql zlib ftp
 USE_MYSQL=	yes
 USE_PERL5=	yes
-WWWOWN=		www
-WWWGRP=		${WWWOWN}
+USE_PHP=	session mysql zlib ftp
+
+NO_BUILD=	yes
+WRKSRC=		${WRKDIR}/msd${PORTVERSION}
+
+OPTIONS_DEFINE=	APACHE LIGHTTPD
+OPTIONS_DEFAULT=	APACHE
 
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MAPACHE}
 USE_APACHE_RUN=	22+
 .endif
+
 .if ${PORT_OPTIONS:MLIGHTTPD}
 RUN_DEPENDS+=	lighttpd:${PORTSDIR}/www/lighttpd
 .endif
 
 do-install:
 	@${MKDIR} ${WWWDIR}
-	@${CP} -r ${WRKDIR}/msd${PORTVERSION}/ ${WWWDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
+	${CP} -a ${WRKDIR}/msd${PORTVERSION}/ ${WWWDIR}
+	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
 
 post-install:
-	${CAT} ${PKGMESSAGE}
+	@${ECHO_MSG}
+	@${CAT} ${PKGMESSAGE}
+	@${ECHO_MSG}
 
 .include <bsd.port.mk>

Modified: head/databases/mysqldumper/pkg-descr
==============================================================================
--- head/databases/mysqldumper/pkg-descr	Thu Mar 14 12:39:44 2013	(r314154)
+++ head/databases/mysqldumper/pkg-descr	Thu Mar 14 12:56:38 2013	(r314155)
@@ -1,7 +1,7 @@
 MySQLDumper is a PHP and Perl based tool for backing up MySQL databases.
-You can easily dump your data into a backup file and - if needed - restore it.
-It is especially suited for shared hosting webspaces, where you don't
-have shell access. MySQLDumper is an open source project and released 
-under the GNU-license.
+You can easily dump your data into a backup file and, if needed, restore it.
+It is especially suited for shared hosting webspaces, where you don't have
+shell access.  MySQLDumper is an open source project and released under the
+GPLv2 license.
 
-WWW: http://www.mysqldumper.net/ 
+WWW: http://www.mysqldumper.net/

Modified: head/databases/mysqldumper/pkg-message
==============================================================================
--- head/databases/mysqldumper/pkg-message	Thu Mar 14 12:39:44 2013	(r314154)
+++ head/databases/mysqldumper/pkg-message	Thu Mar 14 12:56:38 2013	(r314155)
@@ -1,8 +1,8 @@
---------------------------------------------------------------------------------
+------------------------------------------------------------------------------
 Installation has successfully completed!
---------------------------------------------------------------------------------
+------------------------------------------------------------------------------
 
-MySQLDuper is now installed, but it requires some additional setup
+MySQLDumper is now installed, but it requires some additional setup.
 
 Usage:
 - to access the application, go to http://your-server/mysqldumper
@@ -10,4 +10,4 @@ Usage:
 Information:
 - create at least one database to use the application
 
---------------------------------------------------------------------------------
+------------------------------------------------------------------------------



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