svn commit: r341674 - head/games/cave9

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Jan 28 23:29:49 UTC 2014


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>


More information about the svn-ports-all mailing list