summaryrefslogtreecommitdiff
path: root/games/nethack32
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/nethack32
parent- update to 2.9.8p1 (diff)
- PORTDOCS police
- DOCSDIR support to some - Brush out some lint
Notes
Notes: svn path=/head/; revision=52072
Diffstat (limited to 'games/nethack32')
-rw-r--r--games/nethack32/Makefile4
-rw-r--r--games/nethack32/pkg-plist4
2 files changed, 4 insertions, 4 deletions
diff --git a/games/nethack32/Makefile b/games/nethack32/Makefile
index 3b2c41c468c0..aa68654804d2 100644
--- a/games/nethack32/Makefile
+++ b/games/nethack32/Makefile
@@ -32,8 +32,8 @@ post-install:
@cd ${WRKSRC}/doc; ${CHMOD} 644 *.6
@cd ${WRKSRC}/doc; PREFIX=${PREFIX} ${MAKE} manpages
.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/nethack
- ${CP} ${WRKSRC}/doc/Guidebook.txt ${PREFIX}/share/doc/nethack
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/Guidebook.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/games/nethack32/pkg-plist b/games/nethack32/pkg-plist
index 1e984269a5cd..7dfddb3cb28d 100644
--- a/games/nethack32/pkg-plist
+++ b/games/nethack32/pkg-plist
@@ -5,7 +5,7 @@ share/nethack/nethack
@exec chmod 2755 %D/share/nethack/nethack
@exec chown games:games %D/share/nethack/save
@unexec rm -rf %D/share/nethack/save
-share/doc/nethack/Guidebook.txt
+%%PORTDOCS%%share/doc/nethack/Guidebook.txt
share/nethack/pet_mark.xbm
share/nethack/rip.xpm
share/nethack/x11tiles
@@ -121,4 +121,4 @@ share/nethack/logfile
share/nethack/record
share/nethack/perm
@dirrm share/nethack
-@dirrm share/doc/nethack
+%%PORTDOCS%%@dirrm share/doc/nethack