Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2014 11:54:36 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351464 - head/games/quake3-ut
Message-ID:  <201404171154.s3HBsaZd014557@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Thu Apr 17 11:54:36 2014
New Revision: 351464
URL: http://svnweb.freebsd.org/changeset/ports/351464
QAT: https://qat.redports.org/buildarchive/r351464/

Log:
  Add staging support

Modified:
  head/games/quake3-ut/Makefile

Modified: head/games/quake3-ut/Makefile
==============================================================================
--- head/games/quake3-ut/Makefile	Thu Apr 17 11:29:14 2014	(r351463)
+++ head/games/quake3-ut/Makefile	Thu Apr 17 11:54:36 2014	(r351464)
@@ -21,20 +21,14 @@ DATADIR=	${Q3DIR}/${PORTNAME}
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 .include "${.CURDIR}/../quake3-data/Makefile.include"
-.include <bsd.port.options.mk>
 
 do-install:
-	@${MKDIR} ${DATADIR}
-.for f in *.pk3 description.txt
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
-.endfor
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-.  for f in beta3.html radio_commands.txt readme*.txt
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.  endfor
-.endif
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} *.pk3 description.txt \
+		 ${STAGEDIR}${DATADIR})
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} beta3.html radio_commands.txt \
+		readme*.txt ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>



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