Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2014 14:04:11 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190141: [patch] Add staging support to www/hinventory-client
Message-ID:  <201405231404.s4NE4Bas040047@cgiserv.freebsd.org>
Resent-Message-ID: <201405231410.s4NEA0xj062506@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         190141
>Category:       ports
>Synopsis:       [patch] Add staging support to www/hinventory-client
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 23 14:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Joseph Benden
>Release:        FreeBSD 11
>Organization:
>Environment:
FreeBSD lucy 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r264887: Thu Apr 24 12:43:46 MST 2014     root@lucy:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Adds staging support to www/hinventory-client.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/hinventory-client/Makefile b/www/hinventory-client/Makefile
index 3065317..5ad699e 100644
--- a/www/hinventory-client/Makefile
+++ b/www/hinventory-client/Makefile
@@ -13,10 +13,10 @@ COMMENT=	H-Inventory Client for FreeBSD
 NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/hinventoryFreeBSD
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/hinventory_FreeBSD.sh \
-		${PREFIX}/bin/hinventory_FreeBSD.sh
-	${INSTALL_DATA} ${WRKSRC}/hinventory.conf ${PREFIX}/etc/hinventory.conf
+	@${INSTALL_SCRIPT} ${WRKSRC}/hinventory_FreeBSD.sh \
+		${STAGEDIR}${PREFIX}/bin/hinventory_FreeBSD.sh
+	@${INSTALL_DATA} ${WRKSRC}/hinventory.conf ${STAGEDIR}${PREFIX}/etc/hinventory.conf
+	@${MKDIR} ${STAGEDIR}/var/spool/hinventory
 
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



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