diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/nethack-lib/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/games/nethack-lib/Makefile b/games/nethack-lib/Makefile index 622aeb27c88..9e464215d65 100644 --- a/games/nethack-lib/Makefile +++ b/games/nethack-lib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2011/06/01 11:20:29 wiz Exp $ +# $NetBSD: Makefile,v 1.28 2012/02/03 07:04:54 sbd Exp $ # .include "../../games/nethack-lib/Makefile.common" @@ -14,6 +14,16 @@ BUILD_TARGET= datastuff INSTALL_TARGET= manpages install-dat INSTALLATION_DIRS= ${PKGMANDIR}/man6 +# Using 'nroff -Tascii' works better with groff and we don't want to use col +# on linux as it removes the escape the the ansi color sequences. +.if ${OPSYS} == "Linux" +SUBST_CLASSES+= nroff +SUBST_STAGE.nroff= pre-configure +SUBST_MESSAGE.nroff= Fixing Guidebook format command. +SUBST_FILES.nroff= sys/unix/Makefile.doc +SUBST_SED.nroff= -e '/^GUIDECMD/s,nroff .*$$,nroff -Tascii,' +.endif + # Special handling for the scorefiles: we do not want to delete # them between package installations and deinstallations. # |