summaryrefslogtreecommitdiff
path: root/games/apoolGL/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-06-26 09:00:14 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-06-26 09:00:14 +0000
commite081bbc45b0b60fefd71af508c0d336816f60f90 (patch)
tree83b008301323fc3c91a855c22c949706ea897be5 /games/apoolGL/Makefile
parentUpdate to version 1.7.7. (diff)
- Switch to options helpers
- Update WWW
Notes
Notes: svn path=/head/; revision=444358
Diffstat (limited to 'games/apoolGL/Makefile')
-rw-r--r--games/apoolGL/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/apoolGL/Makefile b/games/apoolGL/Makefile
index b131681ea490..913d61a04582 100644
--- a/games/apoolGL/Makefile
+++ b/games/apoolGL/Makefile
@@ -18,10 +18,10 @@ USE_GL= gl
USES= dos2unix
DOS2UNIX_FILES= ApoolGL.txt
-OPTIONS_DEFINE= DOCS
-
PORTDOCS= ApoolGL.txt CHANGELOG OpenGL-Features
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|SDL/||' ${WRKSRC}/*.c
@@ -38,6 +38,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/textures-${i}/*.bmp ${STAGEDIR}${DATADIR}/textures-${i}
.endfor
${INSTALL_DATA} ${WRKSRC}/*.dat ${STAGEDIR}${DATADIR}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}