svn commit: r332778 - head/games/newvox

Danilo Egea Gondolfo danilo at FreeBSD.org
Mon Nov 4 20:40:44 UTC 2013


Author: danilo
Date: Mon Nov  4 20:40:43 2013
New Revision: 332778
URL: http://svnweb.freebsd.org/changeset/ports/332778

Log:
  - Add stage support

Modified:
  head/games/newvox/Makefile

Modified: head/games/newvox/Makefile
==============================================================================
--- head/games/newvox/Makefile	Mon Nov  4 20:37:23 2013	(r332777)
+++ head/games/newvox/Makefile	Mon Nov  4 20:40:43 2013	(r332778)
@@ -14,12 +14,11 @@ USE_SDL=	sdl
 GNU_CONFIGURE=	yes
 LDFLAGS+=	-lm
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/newvox ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${PREFIX}/share/doc/newvox
-	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/newvox
-.endif
+	${INSTALL_PROGRAM} ${WRKSRC}/newvox ${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/newvox
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${PREFIX}/share/doc/newvox
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list