ports/182535: [PATCH] games/qstat: support staging

Dmitry Marakasov amdmi3 at amdmi3.ru
Tue Oct 1 05:50:01 UTC 2013


>Number:         182535
>Category:       ports
>Synopsis:       [PATCH] games/qstat: support staging
>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:   Tue Oct 01 05:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 9.1-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0 r251956: Tue Jun 18 21:41:37 MSK
>Description:
Support staging

Port maintainer (danfe at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- qstat-2.11.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 328915)
+++ Makefile	(working copy)
@@ -15,7 +15,6 @@
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-extract:
@@ -28,13 +27,11 @@
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}/info ${DOCSDIR}/template
-	${INSTALL_DATA} ${WRKSRC}/qstatdoc.html ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/info ${STAGEDIR}${DOCSDIR}/template
+	${INSTALL_DATA} ${WRKSRC}/qstatdoc.html ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/template/*.html ${WRKSRC}/template/*.txt \
-		${DOCSDIR}/template
-	${INSTALL_DATA} ${WRKSRC}/info/*.txt ${DOCSDIR}/info
+		${STAGEDIR}${DOCSDIR}/template
+	${INSTALL_DATA} ${WRKSRC}/info/*.txt ${STAGEDIR}${DOCSDIR}/info
 .endif
-	@[ -f ${PREFIX}/etc/qstat.cfg ] || \
-		${CP} ${PREFIX}/etc/qstat.cfg.default ${PREFIX}/etc/qstat.cfg
 
 .include <bsd.port.mk>
--- qstat-2.11.patch ends here ---

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


More information about the freebsd-ports-bugs mailing list