aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-29 18:12:11 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-29 18:12:11 +0800
commit82a0b0aa241bcc05bf2b00110f0ccf642f4d6373 (patch)
tree25fd1164966109d94a817420bd47fe079afff380 /textproc
parent8b290e246058d793f2b3d1c8d28de7e36cdf957d (diff)
downloadfreebsd-ports-gnome-82a0b0aa241bcc05bf2b00110f0ccf642f4d6373.tar.gz
freebsd-ports-gnome-82a0b0aa241bcc05bf2b00110f0ccf642f4d6373.tar.zst
freebsd-ports-gnome-82a0b0aa241bcc05bf2b00110f0ccf642f4d6373.zip
Stagify.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/glpi-plugins-DataInjection/Makefile13
-rw-r--r--textproc/glpi-plugins-DataInjection/pkg-plist4
2 files changed, 9 insertions, 8 deletions
diff --git a/textproc/glpi-plugins-DataInjection/Makefile b/textproc/glpi-plugins-DataInjection/Makefile
index 90ac612c4848..71a23ebdc436 100644
--- a/textproc/glpi-plugins-DataInjection/Makefile
+++ b/textproc/glpi-plugins-DataInjection/Makefile
@@ -17,16 +17,13 @@ RUN_DEPENDS= glpi>=0.72:${PORTSDIR}/www/glpi
WRKSRC= ${WRKDIR}/datainjection
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
-CPIOARGS= --quiet -pdum -R
+CPIOARGS= --quiet -pdum
+PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
GLPIPLUGINDIR?= www/glpi/plugins/datainjection
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
do-install:
- @${MKDIR} -m 0755 ${PREFIX}/${GLPIPLUGINDIR}
- @cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR}
+ @${MKDIR} -m 0755 ${STAGEDIR}${PREFIX}/${GLPIPLUGINDIR}
+ @cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${STAGEDIR}${PREFIX}/${GLPIPLUGINDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/textproc/glpi-plugins-DataInjection/pkg-plist b/textproc/glpi-plugins-DataInjection/pkg-plist
index 0dbee7ff68bc..a4165aaaa544 100644
--- a/textproc/glpi-plugins-DataInjection/pkg-plist
+++ b/textproc/glpi-plugins-DataInjection/pkg-plist
@@ -1,3 +1,5 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
www/glpi/plugins/datainjection/ajax/profiles.php
www/glpi/plugins/datainjection/config/plugin_datainjection.config.php
www/glpi/plugins/datainjection/css/datainjection.css
@@ -78,6 +80,8 @@ www/glpi/plugins/datainjection/pics/ok.png
www/glpi/plugins/datainjection/pics/plus.png
www/glpi/plugins/datainjection/plugin_datainjection.includes.php
www/glpi/plugins/datainjection/setup.php
+@group
+@owner
@dirrm www/glpi/plugins/datainjection/pics
@dirrm www/glpi/plugins/datainjection/locales
@dirrm www/glpi/plugins/datainjection/javascript