summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-01-28 23:29:48 +0000
committeramdmi3 <amdmi3@FreeBSD.org>2014-01-28 23:29:48 +0000
commita83649b2b5c8851f8d81a9bc75eb7876d8d039b9 (patch)
tree9efc296228ed56d240c804b6ef076e519dd85034
parent96329fb4109a473a6989beb7f7619c09c84352d4 (diff)
downloadFreeBSD-ports-a83649b2b5c8851f8d81a9bc75eb7876d8d039b9.zip
FreeBSD-ports-a83649b2b5c8851f8d81a9bc75eb7876d8d039b9.tar.gz
- Convert USE_GMAKE to USES
- Simplify DOCS option handling
-rw-r--r--games/cave9/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/games/cave9/Makefile b/games/cave9/Makefile
index 831b07a..240b60f 100644
--- a/games/cave9/Makefile
+++ b/games/cave9/Makefile
@@ -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>
OpenPOWER on IntegriCloud