Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2014 23:29:48 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341674 - head/games/cave9
Message-ID:  <201401282329.s0SNTmFY029377@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Jan 28 23:29:48 2014
New Revision: 341674
URL: http://svnweb.freebsd.org/changeset/ports/341674
QAT: https://qat.redports.org/buildarchive/r341674/

Log:
  - Convert USE_GMAKE to USES
  - Simplify DOCS option handling

Modified:
  head/games/cave9/Makefile

Modified: head/games/cave9/Makefile
==============================================================================
--- head/games/cave9/Makefile	Tue Jan 28 23:23:49 2014	(r341673)
+++ head/games/cave9/Makefile	Tue Jan 28 23:29:48 2014	(r341674)
@@ -15,7 +15,7 @@ COMMENT=	Gravity cave-exploration game
 
 DATAVER=	4
 
-USE_GMAKE=	yes
+USES=		gmake
 USE_SDL=	sdl ttf image
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
@@ -30,18 +30,14 @@ PORTDATA=	*
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-extract:
 	@${MV} ${WRKDIR}/data ${WRKSRC}/
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/cave9 ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/cave9 ${STAGEDIR}${PREFIX}/bin/
 	${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/data/* ${STAGEDIR}${DATADIR}/
-.if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
-.endif
+	${INSTALL_DATA} ${WRKSRC}/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?201401282329.s0SNTmFY029377>