aboutsummaryrefslogtreecommitdiffstats
path: root/games/xtron
diff options
context:
space:
mode:
Diffstat (limited to 'games/xtron')
-rw-r--r--games/xtron/Makefile6
-rw-r--r--games/xtron/pkg-plist6
2 files changed, 6 insertions, 6 deletions
diff --git a/games/xtron/Makefile b/games/xtron/Makefile
index be1d9b4e41d2..d1ecc89b1b71 100644
--- a/games/xtron/Makefile
+++ b/games/xtron/Makefile
@@ -26,9 +26,9 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/pixmaps/* ${PREFIX}/share/xtron
${INSTALL_DATA} ${WRKSRC}/xtronrc ${PREFIX}/lib/X11/app-defaults/Tron
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/xtron
- ${INSTALL_DATA} ${WRKSRC}/CHANGES ${PREFIX}/share/doc/xtron
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xtron
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/games/xtron/pkg-plist b/games/xtron/pkg-plist
index dc2711997a11..aa97d712e756 100644
--- a/games/xtron/pkg-plist
+++ b/games/xtron/pkg-plist
@@ -1,7 +1,7 @@
bin/xtron
lib/X11/app-defaults/Tron
-share/doc/xtron/CHANGES
-share/doc/xtron/README
+%%PORTDOCS%%share/doc/xtron/CHANGES
+%%PORTDOCS%%share/doc/xtron/README
share/xtron/Xtron_icon.xpm
share/xtron/again.xpm
share/xtron/againr.xpm
@@ -20,4 +20,4 @@ share/xtron/quitr.xpm
share/xtron/score.xpm
share/xtron/scorer.xpm
@dirrm share/xtron
-@dirrm share/doc/xtron
+%%PORTDOCS%%@dirrm share/doc/xtron