aboutsummaryrefslogtreecommitdiff
path: root/games/xbattle/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/xbattle/Makefile')
-rw-r--r--games/xbattle/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/games/xbattle/Makefile b/games/xbattle/Makefile
index 783bee77ed72..064ee76e201e 100644
--- a/games/xbattle/Makefile
+++ b/games/xbattle/Makefile
@@ -28,11 +28,9 @@ post-install:
@${CHMOD} 755 ${PREFIX}/share/xbattle/xbts
@${CHMOD} 644 ${PREFIX}/share/xbattle/xbts/*
.if !defined(NOPORTDOCS)
- $(MKDIR) $(PREFIX)/share/doc/xbattle
- $(CP) $(WRKSRC)/tutorial* $(PREFIX)/share/doc/xbattle/
- $(CP) $(WRKSRC)/README $(PREFIX)/share/doc/xbattle/
- @${CHMOD} 755 $(PREFIX)/share/doc/xbattle
- @${CHMOD} 644 $(PREFIX)/share/doc/xbattle/*
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/tutorial* ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>