aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-28 22:39:06 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-28 22:39:06 +0800
commit68fd7df6b8139db28d48077fb331bc477746a2c4 (patch)
treedca4d246fdac0fe4b84657e0f873168ad99d5105 /databases
parent214a8455da1dd5bb079965fe1e3b72d923a87b77 (diff)
downloadfreebsd-ports-gnome-68fd7df6b8139db28d48077fb331bc477746a2c4.tar.gz
freebsd-ports-gnome-68fd7df6b8139db28d48077fb331bc477746a2c4.tar.zst
freebsd-ports-gnome-68fd7df6b8139db28d48077fb331bc477746a2c4.zip
Stagify.
Diffstat (limited to 'databases')
-rw-r--r--databases/mysqldumper/Makefile14
-rw-r--r--databases/mysqldumper/pkg-plist4
2 files changed, 8 insertions, 10 deletions
diff --git a/databases/mysqldumper/Makefile b/databases/mysqldumper/Makefile
index 7ec40bfbb3d5..569773149857 100644
--- a/databases/mysqldumper/Makefile
+++ b/databases/mysqldumper/Makefile
@@ -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/lighttpd
.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>
diff --git a/databases/mysqldumper/pkg-plist b/databases/mysqldumper/pkg-plist
index 21e8c2514660..68e542406366 100644
--- a/databases/mysqldumper/pkg-plist
+++ b/databases/mysqldumper/pkg-plist
@@ -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