svn commit: r360033 - head/net-mgmt/glpi-plugins-fusioninventory-server
Veniamin Gvozdikov
vg at FreeBSD.org
Tue Jul 1 15:17:29 UTC 2014
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>
More information about the svn-ports-all
mailing list