aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-08-22 01:31:46 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-08-22 01:31:46 +0800
commit9092b8fdff38d18092fb245b119c60f29cf9a10f (patch)
tree4b18ea0d75404611ea31f70c67ce7a98cb7cdbf9 /games
parentc19fe8de174c6ae9d96d4ba4391755a52a7d620d (diff)
downloadfreebsd-ports-gnome-9092b8fdff38d18092fb245b119c60f29cf9a10f.tar.gz
freebsd-ports-gnome-9092b8fdff38d18092fb245b119c60f29cf9a10f.tar.zst
freebsd-ports-gnome-9092b8fdff38d18092fb245b119c60f29cf9a10f.zip
- Switch to options helpers
Diffstat (limited to 'games')
-rw-r--r--games/jvgs/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/games/jvgs/Makefile b/games/jvgs/Makefile
index e35366e0aa43..6b91d2b1ab07 100644
--- a/games/jvgs/Makefile
+++ b/games/jvgs/Makefile
@@ -28,8 +28,6 @@ PORTDATA= *
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
@${REINPLACE_CMD} -e 's|main.lua|${DATADIR}/&|' ${WRKSRC}/src/main.cpp
@@ -38,9 +36,9 @@ do-install:
${INSTALL_SCRIPT} ${WRKDIR}/jvgs ${STAGEDIR}${PREFIX}/bin/
${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "resources main.lua" ${STAGEDIR}${DATADIR}/
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>