From b666502afda11878e1adfaefeff785ee6171024b Mon Sep 17 00:00:00 2001 From: Patrick Li Date: Mon, 24 Dec 2001 02:17:17 +0000 Subject: - PORTDOCS police - DOCSDIR support to some - Brush out some lint --- games/nethack32/Makefile | 4 ++-- games/nethack32/pkg-plist | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'games/nethack32') 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 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 -- cgit v1.2.3