aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-29 21:02:49 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-29 21:02:49 +0800
commitf92909aadcc5acb0e8ff8bfc5ddbf34be441444d (patch)
tree76499661daf70fbfa60ffce130e77f7ee9484e72 /net-mgmt
parentfb4fa1bce51575fe1b09d3a3c594c0d497fae483 (diff)
downloadfreebsd-ports-gnome-f92909aadcc5acb0e8ff8bfc5ddbf34be441444d.tar.gz
freebsd-ports-gnome-f92909aadcc5acb0e8ff8bfc5ddbf34be441444d.tar.zst
freebsd-ports-gnome-f92909aadcc5acb0e8ff8bfc5ddbf34be441444d.zip
Stagify.
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/glpi-plugins-tracker-server/Makefile23
-rw-r--r--net-mgmt/glpi-plugins-tracker-server/files/pkg-message.in (renamed from net-mgmt/glpi-plugins-tracker-server/pkg-message)0
-rw-r--r--net-mgmt/glpi-plugins-tracker-server/pkg-plist4
3 files changed, 11 insertions, 16 deletions
diff --git a/net-mgmt/glpi-plugins-tracker-server/Makefile b/net-mgmt/glpi-plugins-tracker-server/Makefile
index 981bf5c99993..fa6cc75315cf 100644
--- a/net-mgmt/glpi-plugins-tracker-server/Makefile
+++ b/net-mgmt/glpi-plugins-tracker-server/Makefile
@@ -18,24 +18,15 @@ USE_PHP= zlib
WRKSRC= ${WRKDIR}/tracker
NO_BUILD= yes
-PKGMESSAGE= ${WRKDIR}/pkg-message
-CPIOARGS= --quiet -pdum -R
+CPIOARGS= --quiet -pdum
+SUB_FILES= pkg-message
+SUB_LIST= GLPIPLUGINDIR="${GLPIPLUGINDIR}"
+PLIST_SUB= WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
GLPIPLUGINDIR?= www/glpi/plugins/tracker
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-post-configure:
- @${SED} -e 's,%%PREFIX%%,${PREFIX},g' \
- -e 's,%%GLPIPLUGINDIR%%,${GLPIPLUGINDIR},g' pkg-message > ${PKGMESSAGE}
-
do-install:
- @${MKDIR} -m 0755 ${PREFIX}/${GLPIPLUGINDIR}
- @cd ${WRKSRC} && ${FIND} * -print | ${CPIO} ${CPIOARGS} ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR}
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ @${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/net-mgmt/glpi-plugins-tracker-server/pkg-message b/net-mgmt/glpi-plugins-tracker-server/files/pkg-message.in
index d3f9c454eb64..d3f9c454eb64 100644
--- a/net-mgmt/glpi-plugins-tracker-server/pkg-message
+++ b/net-mgmt/glpi-plugins-tracker-server/files/pkg-message.in
diff --git a/net-mgmt/glpi-plugins-tracker-server/pkg-plist b/net-mgmt/glpi-plugins-tracker-server/pkg-plist
index 8e2c2c00800b..e25b439af693 100644
--- a/net-mgmt/glpi-plugins-tracker-server/pkg-plist
+++ b/net-mgmt/glpi-plugins-tracker-server/pkg-plist
@@ -1,3 +1,5 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
www/glpi/plugins/tracker/ajax/plugin_tracker.functionalities.tabs.php
www/glpi/plugins/tracker/docs/CHANGELOG.TXT
www/glpi/plugins/tracker/docs/LISEZMOI.TXT
@@ -161,6 +163,8 @@ www/glpi/plugins/tracker/scripts/tracker_fullsync.php
www/glpi/plugins/tracker/scripts/tracker_fullsync.sh
www/glpi/plugins/tracker/setup.php
www/glpi/plugins/tracker/tool/parselog.pl
+@group
+@owner
@dirrm www/glpi/plugins/tracker/tool
@dirrm www/glpi/plugins/tracker/scripts
@dirrm www/glpi/plugins/tracker/report