ports/190391: [patch] Add staging support to devel/ace+tao-doc

Joseph Benden joe at thrallingpenguin.com
Thu May 29 22:20:00 UTC 2014


>Number:         190391
>Category:       ports
>Synopsis:       [patch] Add staging support to devel/ace+tao-doc
>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:   Thu May 29 22:20: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 devel/ace+tao-doc.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/devel/ace+tao-doc/Makefile b/devel/ace+tao-doc/Makefile
index bd4e55d..14eff5e 100644
--- a/devel/ace+tao-doc/Makefile
+++ b/devel/ace+tao-doc/Makefile
@@ -19,7 +19,6 @@ PLIST=		${WRKDIR}/pkg-plist
 DIRLIST=	${WRKDIR}/dir-list
 INSTALL_DIR=	share/doc/${PORTNAME}
 
-NO_STAGE=	yes
 pre-install:
 	@${ECHO_MSG} "--> Generating a directories list"; \
 	cd ${WRKSRC}; \
@@ -39,17 +38,17 @@ pre-install:
 
 do-install:
 	@${ECHO_MSG} "--> Installing files:"; \
-	${MKDIR} ${DOCSDIR}; cd ${WRKSRC}; \
+	${MKDIR} ${STAGEDIR}${DOCSDIR}; cd ${WRKSRC}; \
 	for d in `${FIND} . -type d`; do \
 		n=`${ECHO_CMD} $${d}|${SED} -e 's#^./##'`; \
 		if [ "$${n}" != "." ]; then \
-			${MKDIR} ${DOCSDIR}/$${n}; \
+			${MKDIR} ${STAGEDIR}${DOCSDIR}/$${n}; \
 		fi; \
 	done; \
 	for f in `${FIND} -s . -type f`; do \
 		n=`${ECHO_CMD} $${f}|${SED} -e 's#^./##'`; \
 		${ECHO_MSG} $${n}; \
-		${INSTALL_DATA} $${n} ${DOCSDIR}/$${n}; \
+		${INSTALL_DATA} $${n} ${STAGEDIR}${DOCSDIR}/$${n}; \
 	done
 
 .include <bsd.port.mk>


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


More information about the freebsd-ports-bugs mailing list