aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-15 15:21:40 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-15 15:21:40 +0800
commit682138cf7fd1b05c35f60d806d96c2bdfe2d3738 (patch)
treeb73c96f2297de9d16fa5ec532891d94fb7413a29 /misc
parent032938790f0bd1acc13cbbfda8d9c6c81aaa3280 (diff)
downloadfreebsd-ports-gnome-682138cf7fd1b05c35f60d806d96c2bdfe2d3738.tar.gz
freebsd-ports-gnome-682138cf7fd1b05c35f60d806d96c2bdfe2d3738.tar.zst
freebsd-ports-gnome-682138cf7fd1b05c35f60d806d96c2bdfe2d3738.zip
Stagify.
Approved by: portmgr@ (blanket)
Diffstat (limited to 'misc')
-rw-r--r--misc/achievo/Makefile9
-rw-r--r--misc/achievo/pkg-plist4
2 files changed, 7 insertions, 6 deletions
diff --git a/misc/achievo/Makefile b/misc/achievo/Makefile
index 5b373323ffec..b07f57c88b9d 100644
--- a/misc/achievo/Makefile
+++ b/misc/achievo/Makefile
@@ -19,16 +19,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
NO_BUILD= YES
ACHVODIR?= www/achievo
-PLIST_SUB= ACHVODIR=${ACHVODIR}
+PLIST_SUB= ACHVODIR=${ACHVODIR} WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
-NO_STAGE= yes
post-patch:
@${MV} ${WRKSRC}/config.inc.php ${WRKSRC}/config.inc.php-default
do-install:
- @${MKDIR} ${PREFIX}/${ACHVODIR}
- @${CP} -R ${WRKSRC}/* ${PREFIX}/${ACHVODIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${ACHVODIR}
- @${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${ACHVODIR}
+ @${CP} -R ${WRKSRC}/* ${STAGEDIR}${PREFIX}/${ACHVODIR}
.include <bsd.port.mk>
diff --git a/misc/achievo/pkg-plist b/misc/achievo/pkg-plist
index 91f442142e36..9f53fd354b51 100644
--- a/misc/achievo/pkg-plist
+++ b/misc/achievo/pkg-plist
@@ -1,3 +1,5 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
%%ACHVODIR%%/README
%%ACHVODIR%%/achievotools.inc
%%ACHVODIR%%/atk.inc
@@ -471,6 +473,8 @@
%%ACHVODIR%%/upgrade/convert-0.9-to-0.9.1.inc
%%ACHVODIR%%/upgrade/convert-0.9.1-to-0.9.2.inc
%%ACHVODIR%%/version.inc
+@owner
+@group
@dirrm %%ACHVODIR%%/upgrade
@dirrm %%ACHVODIR%%/themes/achievo_classic/images
@dirrm %%ACHVODIR%%/themes/achievo_classic