ports/190141: [patch] Add staging support to www/hinventory-client

Joseph Benden joe at thrallingpenguin.com
Fri May 23 14:10:00 UTC 2014


>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 at 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:


More information about the freebsd-ports-bugs mailing list