Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2014 14:39:06 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363164 - head/databases/mysqldumper
Message-ID:  <201407281439.s6SEd6RC094946@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon Jul 28 14:39:06 2014
New Revision: 363164
URL: http://svnweb.freebsd.org/changeset/ports/363164
QAT: https://qat.redports.org/buildarchive/r363164/

Log:
  Stagify.

Modified:
  head/databases/mysqldumper/Makefile
  head/databases/mysqldumper/pkg-plist

Modified: head/databases/mysqldumper/Makefile
==============================================================================
--- head/databases/mysqldumper/Makefile	Mon Jul 28 14:38:10 2014	(r363163)
+++ head/databases/mysqldumper/Makefile	Mon Jul 28 14:39:06 2014	(r363164)
@@ -8,7 +8,7 @@ CATEGORIES=	databases
 MASTER_SITES=	SF/${PORTNAME}/MySQLDumper/
 DISTNAME=	MySQLDumper${PORTVERSION}
 
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Tool for backing up MySQL databases
 
 LICENSE=	GPLv2
@@ -24,8 +24,8 @@ WRKSRC=		${WRKDIR}/msd${PORTVERSION}
 
 OPTIONS_DEFINE=	APACHE LIGHTTPD
 OPTIONS_DEFAULT=	APACHE
+PLIST_SUB=	WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MAPACHE}
@@ -37,13 +37,7 @@ RUN_DEPENDS+=	lighttpd:${PORTSDIR}/www/l
 .endif
 
 do-install:
-	@${MKDIR} ${WWWDIR}
-	${CP} -a ${WRKDIR}/msd${PORTVERSION}/ ${WWWDIR}
-	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
-
-post-install:
-	@${ECHO_MSG}
-	@${CAT} ${PKGMESSAGE}
-	@${ECHO_MSG}
+	@${MKDIR} ${STAGEDIR}${WWWDIR}
+	${CP} -a ${WRKDIR}/msd${PORTVERSION}/ ${STAGEDIR}${WWWDIR}
 
 .include <bsd.port.mk>

Modified: head/databases/mysqldumper/pkg-plist
==============================================================================
--- head/databases/mysqldumper/pkg-plist	Mon Jul 28 14:38:10 2014	(r363163)
+++ head/databases/mysqldumper/pkg-plist	Mon Jul 28 14:39:06 2014	(r363164)
@@ -1,3 +1,5 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
 %%WWWDIR%%/ReadMe/ReadMe.txt
 %%WWWDIR%%/ReadMe/changelog_deutsch.txt
 %%WWWDIR%%/ReadMe/changelog_english.txt
@@ -325,6 +327,8 @@
 %%WWWDIR%%/tpl/sqlbrowser/sql_record_insert_inputmask.tpl
 %%WWWDIR%%/tpl/sqlbrowser/sql_record_update_inputmask.tpl
 %%WWWDIR%%/tpl/sqlbrowser/sqlbox.tpl
+@group
+@owner
 @dirrm %%WWWDIR%%/tpl/sqlbrowser
 @dirrm %%WWWDIR%%/tpl/menu
 @dirrm %%WWWDIR%%/tpl/home



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