svn commit: r348453 - in head/games: frikqcc meqcc qcc qccx

Alexey Dokuchaev danfe at FreeBSD.org
Mon Mar 17 09:26:45 UTC 2014


Author: danfe
Date: Mon Mar 17 09:26:43 2014
New Revision: 348453
URL: http://svnweb.freebsd.org/changeset/ports/348453
QAT: https://qat.redports.org/buildarchive/r348453/

Log:
  Stagify QuakeC compiler ports.

Modified:
  head/games/frikqcc/Makefile
  head/games/meqcc/Makefile
  head/games/qcc/Makefile
  head/games/qccx/Makefile

Modified: head/games/frikqcc/Makefile
==============================================================================
--- head/games/frikqcc/Makefile	Mon Mar 17 09:22:18 2014	(r348452)
+++ head/games/frikqcc/Makefile	Mon Mar 17 09:26:43 2014	(r348453)
@@ -19,11 +19,9 @@ MAKEFILE=	${FILESDIR}/Makefile
 
 PLIST_FILES=	bin/frikqcc bin/frikqcdec
 
-NO_STAGE=	yes
 do-install:
-.for p in ${PLIST_FILES:T}
-	${INSTALL_PROGRAM} ${WRKSRC}/${p} ${PREFIX}/bin
-.endfor
+	${INSTALL_PROGRAM} ${WRKSRC}/frikqcc ${WRKSRC}/frikqcdec \
+		${STAGEDIR}${PREFIX}/bin
 
 .include "${.CURDIR}/../quake-source/Makefile.include"
 .include <bsd.port.mk>

Modified: head/games/meqcc/Makefile
==============================================================================
--- head/games/meqcc/Makefile	Mon Mar 17 09:22:18 2014	(r348452)
+++ head/games/meqcc/Makefile	Mon Mar 17 09:26:43 2014	(r348453)
@@ -22,7 +22,6 @@ PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -32,11 +31,9 @@ post-patch:
 		${WRKSRC}/l_precomp.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/qcc ${PREFIX}/bin/${PORTNAME}
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/[^gr]*.txt ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/qcc ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/[^gr]*.txt ${STAGEDIR}${DOCSDIR}
 
 .include "${.CURDIR}/../quake-source/Makefile.include"
 .include <bsd.port.mk>

Modified: head/games/qcc/Makefile
==============================================================================
--- head/games/qcc/Makefile	Mon Mar 17 09:22:18 2014	(r348452)
+++ head/games/qcc/Makefile	Mon Mar 17 09:26:43 2014	(r348453)
@@ -4,8 +4,7 @@
 PORTNAME=	qcc
 PORTVERSION=	1.01
 CATEGORIES=	games devel
-MASTER_SITES=	${MASTER_SITE_IDSOFTWARE}
-MASTER_SITE_SUBDIR=	source
+MASTER_SITES=	IDSOFTWARE/source
 DISTNAME=	${PORTNAME}
 
 MAINTAINER=	danfe at FreeBSD.org
@@ -21,7 +20,6 @@ PORTDOCS=	readme.txt
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-extract:
@@ -29,11 +27,9 @@ post-extract:
 		${WRKSRC}/${MAKEFILE}
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR}
 
 .include "${.CURDIR}/../quake-source/Makefile.include"
 .include <bsd.port.mk>

Modified: head/games/qccx/Makefile
==============================================================================
--- head/games/qccx/Makefile	Mon Mar 17 09:22:18 2014	(r348452)
+++ head/games/qccx/Makefile	Mon Mar 17 09:26:43 2014	(r348453)
@@ -9,7 +9,7 @@ MASTER_SITES=	http://www.quakewiki.net/a
 DISTNAME=	${PORTNAME}${PORTVERSION:S/.//g}
 
 MAINTAINER=	danfe at FreeBSD.org
-COMMENT=	Very fast optimizing QuakeC compiler
+COMMENT=	Fast optimizing QuakeC compiler
 
 LICENSE=	GPLv2
 
@@ -22,17 +22,15 @@ PORTDOCS=	manual.txt readme.txt
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	@${MKDIR} ${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/*.qc ${WRKSRC}/progs.src ${DATADIR}
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/*.qc ${WRKSRC}/progs.src \
+		${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .include "${.CURDIR}/../quake-source/Makefile.include"
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list