aboutsummaryrefslogtreecommitdiff
path: root/games/xmines
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2001-12-24 02:17:17 +0000
committerPatrick Li <pat@FreeBSD.org>2001-12-24 02:17:17 +0000
commitb666502afda11878e1adfaefeff785ee6171024b (patch)
tree9aa30fd7bf24b32e216a3b9ae394f1a2abdb5bf3 /games/xmines
parente1999fb7b6e4ffd7d87627b0fde8985f3adcc1d1 (diff)
Notes
Diffstat (limited to 'games/xmines')
-rw-r--r--games/xmines/Makefile4
-rw-r--r--games/xmines/pkg-plist4
2 files changed, 4 insertions, 4 deletions
diff --git a/games/xmines/Makefile b/games/xmines/Makefile
index a3e977916688..1677866721f9 100644
--- a/games/xmines/Makefile
+++ b/games/xmines/Makefile
@@ -18,8 +18,8 @@ USE_X_PREFIX= yes
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/xmines
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmines
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/games/xmines/pkg-plist b/games/xmines/pkg-plist
index 67a155451717..e8af756aca3d 100644
--- a/games/xmines/pkg-plist
+++ b/games/xmines/pkg-plist
@@ -2,6 +2,6 @@ bin/xmines
@mode 666
share/xmines/scores
@mode
-share/doc/xmines/README
-@dirrm share/doc/xmines
+%%PORTDOCS%%share/doc/xmines/README
+%%PORTDOCS%%@dirrm share/doc/xmines
@dirrm share/xmines