Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 2014 09:55:53 +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: r351196 - head/games/doom-hr2
Message-ID:  <201404130955.s3D9tr4M063666@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Apr 13 09:55:52 2014
New Revision: 351196
URL: http://svnweb.freebsd.org/changeset/ports/351196
QAT: https://qat.redports.org/buildarchive/r351196/

Log:
  - Add staging support
  - Define DOCS option

Modified:
  head/games/doom-hr2/Makefile

Modified: head/games/doom-hr2/Makefile
==============================================================================
--- head/games/doom-hr2/Makefile	Sun Apr 13 09:54:02 2014	(r351195)
+++ head/games/doom-hr2/Makefile	Sun Apr 13 09:55:52 2014	(r351196)
@@ -21,14 +21,13 @@ PLIST_FILES=	%%DATADIR%%/hr2final.wad
 PLIST_DIRS=	%%DATADIR%%
 PORTDOCS=	hr2final.txt
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	@${MKDIR} ${DATADIR}
-	@${INSTALL_DATA} ${WRKSRC}/hr2final.wad ${DATADIR}
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/hr2final.txt ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/hr2final.wad ${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/hr2final.txt ${STAGEDIR}${DOCSDIR}
 
 .include "${.CURDIR}/../doom-data/Makefile.include"
 



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