Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2014 15:09:36 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348083 - head/games/nInvaders
Message-ID:  <201403131509.s2DF9aMd041862@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Mar 13 15:09:36 2014
New Revision: 348083
URL: http://svnweb.freebsd.org/changeset/ports/348083
QAT: https://qat.redports.org/buildarchive/r348083/

Log:
  - Support staging
  - Define DOCS option

Modified:
  head/games/nInvaders/Makefile

Modified: head/games/nInvaders/Makefile
==============================================================================
--- head/games/nInvaders/Makefile	Thu Mar 13 15:08:21 2014	(r348082)
+++ head/games/nInvaders/Makefile	Thu Mar 13 15:09:36 2014	(r348083)
@@ -10,18 +10,15 @@ DISTNAME=	ninvaders-${PORTVERSION}
 MAINTAINER=	mich@FreeBSD.org
 COMMENT=	The nIvaders game is a Space Invaders clone for ncurses
 
+OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e "s|^CC|#CC|g" \
-	-e "s|^CFLAGS|#CFLAGS|g" ${WRKSRC}/Makefile
+		-e "s|^CFLAGS|#CFLAGS|g" ${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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