Bug 187865 - [PATCH] games/linux-quake4: Stage
Summary: [PATCH] games/linux-quake4: Stage
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jose Alonso Cardenas Marquez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-23 22:30 UTC by Johannes Meixner
Modified: 2014-05-22 09:00 UTC (History)
1 user (show)

See Also:


Attachments
linux-quake4-1.4.2.patch (3.39 KB, patch)
2014-03-23 22:30 UTC, Johannes Meixner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Meixner 2014-03-23 22:30:02 UTC
- Stagify

Port maintainer (acm@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 1.00.2014.03.22 (mode: change, diff: SVN)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-03-23 22:30:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->acm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2014-05-22 08:59:15 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-05-22 08:59:15 UTC
Author: miwi
Date: Thu May 22 07:59:08 2014
New Revision: 354795
URL: http://svnweb.freebsd.org/changeset/ports/354795
QAT: https://qat.redports.org/buildarchive/r354795/

Log:
  - Stage support
  
  PR:		187865
  Submitted by:	Johannes Jost Meixner <xmj@chaot.net>
  Approved by:	maintainer timeout

Modified:
  head/games/linux-quake4/Makefile

Modified: head/games/linux-quake4/Makefile
==============================================================================
--- head/games/linux-quake4/Makefile	Thu May 22 07:58:13 2014	(r354794)
+++ head/games/linux-quake4/Makefile	Thu May 22 07:59:08 2014	(r354795)
@@ -3,6 +3,7 @@
 
 PORTNAME=	quake4
 PORTVERSION=	1.4.2
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	games linux
 MASTER_SITES=	${MASTER_SITE_IDSOFTWARE:S|$|quake4/linux/|} \
@@ -29,7 +30,6 @@ GERMANY_DESC=	Germany version
 
 OPTIONS_DEFAULT=	THREADS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 .include <bsd.port.pre.mk>
 
@@ -58,48 +58,48 @@ do-build:
 
 do-install:
 	# Executables
-	@${MKDIR} ${PREFIX}/${Q4DIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${Q4DIR}
 .for FILE in quake4 q4ded
-	${INSTALL_SCRIPT} ${WRKSRC}/${PKGNAMEPREFIX}${FILE}.sh ${PREFIX}/bin/${PKGNAMEPREFIX}${FILE}
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/x86/${FILE}.x86 ${PREFIX}/${Q4DIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/${PKGNAMEPREFIX}${FILE}.sh ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}${FILE}
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/x86/${FILE}.x86 ${STAGEDIR}${PREFIX}/${Q4DIR}
 .endfor
 .if ${PORT_OPTIONS:MTHREADS}
-	${INSTALL_SCRIPT} ${WRKSRC}/${PKGNAMEPREFIX}quake4smp.sh ${PREFIX}/bin/${PKGNAMEPREFIX}quake4smp
-	${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/x86/quake4smp.x86 ${PREFIX}/${Q4DIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/${PKGNAMEPREFIX}quake4smp.sh ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}quake4smp
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/FreeBSD/x86/quake4smp.x86 ${STAGEDIR}${PREFIX}/${Q4DIR}
 .endif
 
 	# Punkbuster
-	@${MKDIR} ${PREFIX}/${Q4DIR}/pb/htm
-	@${MKDIR} ${PREFIX}/${Q4DIR}/q4base
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${Q4DIR}/pb/htm
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${Q4DIR}/q4base
 	@cd ${WRKSRC} && \
 		${FIND} -E pb -type f -iregex ".*\.(so)" \
-			-exec ${INSTALL_DATA} "{}" "${PREFIX}/${Q4DIR}/{}" \; && \
+			-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \; && \
 		${FIND} -E pb/htm -type f -iregex ".*\.(htm)" \
-			-exec ${INSTALL_DATA} "{}" "${PREFIX}/${Q4DIR}/{}" \;
+			-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
 	# Q4base
 	 @cd ${WRKSRC} && \
 		${FIND} -E q4base -type f -iregex ".*\.(cfg|scriptcfg|pk4|off)" \
-			-exec ${INSTALL_DATA} "{}" "${PREFIX}/${Q4DIR}/{}" \;
+			-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
 
 	# All version (except germany) or only germany version
 .if ${PORT_OPTIONS:MGERMANY}
 	@cd ${WRKSRC}/germany && \
 		${FIND} -E q4base -type f -iregex ".*\.(pk4)" \
-			-exec ${INSTALL_DATA} "{}" "${PREFIX}/${Q4DIR}/{}" \;
+			-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
 .else
 	@cd ${WRKSRC}/us && \
 		${FIND} -E q4base -type f -iregex ".*\.(pk4)" \
-			-exec ${INSTALL_DATA} "{}" "${PREFIX}/${Q4DIR}/{}" \;
+			-exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/${Q4DIR}/{}" \;
 .endif
 
 	# Documentation
 .if ${PORT_OPTIONS:MDOCS}
 	@cd ${WRKSRC}/Docs && \
-		${FIND} * -type d -exec ${MKDIR} "${DOCSDIR}/{}" \; && \
-		${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/{}" \;
-	${INSTALL_DATA} ${WRKSRC}/License.txt ${DOCSDIR}/LICENSE && \
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/README && \
-	${INSTALL_DATA} ${WRKSRC}/pb/PBEULA.txt ${DOCSDIR}/PBEULA
+		${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \
+		${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DOCSDIR}/{}" \;
+	${INSTALL_DATA} ${WRKSRC}/License.txt ${STAGEDIR}${DOCSDIR}/LICENSE && \
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/README && \
+	${INSTALL_DATA} ${WRKSRC}/pb/PBEULA.txt ${STAGEDIR}${DOCSDIR}/PBEULA
 .endif
 
 post-install:
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"