Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2014 22:09:00 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360469 - head/games/quake2-data
Message-ID:  <201407032209.s63M90wn012379@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Thu Jul  3 22:08:59 2014
New Revision: 360469
URL: http://svnweb.freebsd.org/changeset/ports/360469
QAT: https://qat.redports.org/buildarchive/r360469/

Log:
  games/quake2-data: support stage

Modified:
  head/games/quake2-data/Makefile

Modified: head/games/quake2-data/Makefile
==============================================================================
--- head/games/quake2-data/Makefile	Thu Jul  3 22:02:00 2014	(r360468)
+++ head/games/quake2-data/Makefile	Thu Jul  3 22:08:59 2014	(r360469)
@@ -33,7 +33,6 @@ Q2_DEMO=	q2-314-demo-x86.exe
 Q2_SRC=		q2src${PORTVERSION:S/.//}.shar.Z
 Q2_UPDATE=	q2-${PORTVERSION}-x86-full.exe
 
-NO_STAGE=	yes
 .include "Makefile.include"	# must be included before bsd.port.options.mk
 .include <bsd.port.options.mk>
 
@@ -82,19 +81,12 @@ post-patch:
 	@${REINPLACE_CMD} -e 's/__linux__/__unix__/' ${WRKSRC}/q_shared.[ch]
 
 do-install:
-	@${MKDIR} ${DATADIR}/baseq2
-	${INSTALL_PROGRAM} ${WRKSRC}/game.so ${DATADIR}/baseq2
-	${CP} -a ${WRKSRC}/baseq2/* ${DATADIR}/baseq2
+	@${MKDIR} ${STAGEDIR}${DATADIR}/baseq2
+	${INSTALL_PROGRAM} ${WRKSRC}/game.so ${STAGEDIR}${DATADIR}/baseq2
+	${CP} -a ${WRKSRC}/baseq2/* ${STAGEDIR}${DATADIR}/baseq2
 .if ${PORT_OPTIONS:MMANUAL}
-	@${MKDIR} ${DOCSDIR}
-	${CP} -a ${WRKSRC}/DOCS ${DOCSDIR}/manual
-.endif
-
-post-install:
-.if ! ${PORT_OPTIONS:MSHAREWARE}
-	@${ECHO_CMD}
-	@${CAT} ${PKGMESSAGE}
-	@${ECHO_CMD}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${CP} -a ${WRKSRC}/DOCS ${STAGEDIR}${DOCSDIR}/manual
 .endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407032209.s63M90wn012379>