Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jul 2014 15:17:29 +0000 (UTC)
From:      Veniamin Gvozdikov <vg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360033 - head/net-mgmt/glpi-plugins-fusioninventory-server
Message-ID:  <201407011517.s61FHTGM030959@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vg
Date: Tue Jul  1 15:17:28 2014
New Revision: 360033
URL: http://svnweb.freebsd.org/changeset/ports/360033
QAT: https://qat.redports.org/buildarchive/r360033/

Log:
  - Support staging.

Modified:
  head/net-mgmt/glpi-plugins-fusioninventory-server/Makefile

Modified: head/net-mgmt/glpi-plugins-fusioninventory-server/Makefile
==============================================================================
--- head/net-mgmt/glpi-plugins-fusioninventory-server/Makefile	Tue Jul  1 15:16:29 2014	(r360032)
+++ head/net-mgmt/glpi-plugins-fusioninventory-server/Makefile	Tue Jul  1 15:17:28 2014	(r360033)
@@ -30,7 +30,6 @@ SNMP_DESC=	SNMP support
 
 OPTIONS_DEFAULT=INVENTORY
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${PORT_OPTIONS:MINVENTORY}
@@ -46,18 +45,18 @@ PLIST_SUB+=	SNMP="@comment "
 .endif
 
 do-install:
-	@${MKDIR} -m 0755 ${PREFIX}/${GLPIPLUGINDIR}
-	@${CP} -R ${WRKSRC}/fusioninventory ${PREFIX}/${GLPIPLUGINDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR}/fusioninventory
+	@${MKDIR} -m 0755 ${STAGEDIR}${PREFIX}/${GLPIPLUGINDIR}
+	@${CP} -R ${WRKSRC}/fusioninventory ${STAGEDIR}${PREFIX}/${GLPIPLUGINDIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${GLPIPLUGINDIR}/fusioninventory
 
 .if ${PORT_OPTIONS:MINVENTORY}
-	@${CP} -R ${WRKSRC}/fusinvinventory ${PREFIX}/${GLPIPLUGINDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR}/fusinvinventory
+	@${CP} -R ${WRKSRC}/fusinvinventory ${STAGEDIR}${PREFIX}/${GLPIPLUGINDIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${GLPIPLUGINDIR}/fusinvinventory
 .endif
 
 .if ${PORT_OPTIONS:MSNMP}
-	@${CP} -R ${WRKSRC}/fusinvsnmp ${PREFIX}/${GLPIPLUGINDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${GLPIPLUGINDIR}/fusinvsnmp
+	@${CP} -R ${WRKSRC}/fusinvsnmp ${STAGEDIR}${PREFIX}/${GLPIPLUGINDIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${GLPIPLUGINDIR}/fusinvsnmp
 .endif
 
 .include <bsd.port.post.mk>



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