aboutsummaryrefslogtreecommitdiffstats
path: root/games/mindguard/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/mindguard/Makefile')
-rw-r--r--games/mindguard/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/games/mindguard/Makefile b/games/mindguard/Makefile
index 822816b43550..cf04c49888fb 100644
--- a/games/mindguard/Makefile
+++ b/games/mindguard/Makefile
@@ -35,18 +35,17 @@ DOCS= algorithms.html antarctic.html author.html \
tikiroom.html un.html usage.html \
versions.html
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mindguard ${PREFIX}/bin/mindguard
- ${MKDIR} ${PREFIX}/share/mindguard
+ ${INSTALL_PROGRAM} ${WRKSRC}/mindguard ${STAGEDIR}${PREFIX}/bin/mindguard
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/mindguard
.for i in ${CARRIERS}
- ${INSTALL_DATA} ${WRKSRC}/carriers/$i ${PREFIX}/share/mindguard
+ ${INSTALL_DATA} ${WRKSRC}/carriers/$i ${STAGEDIR}${PREFIX}/share/mindguard
.endfor
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/mindguard
+ ${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/mindguard
.for i in ${DOCS}
- ${INSTALL_DATA} ${WRKSRC}/docs/$i ${PREFIX}/share/doc/mindguard
+ ${INSTALL_DATA} ${WRKSRC}/docs/$i ${STAGEDIR}${PREFIX}/share/doc/mindguard
.endfor
-.endif
.include <bsd.port.mk>