diff options
author | schmonz <schmonz@pkgsrc.org> | 2004-08-01 16:56:18 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2004-08-01 16:56:18 +0000 |
commit | ff140039f20ccd498b5408ed3e71628614903ae0 (patch) | |
tree | 2d714619106218f846bf9d60ff8fa6a83b6b38e1 /bootstrap/mods | |
parent | 242484d1fb87aeba662597b392e1381ca4d8ffa8 (diff) | |
download | pkgsrc-ff140039f20ccd498b5408ed3e71628614903ae0.tar.gz |
Define TMACDIR and CATDEPS appropriately (on Panther, at least) to
allow packages using <bsd.man.mk> to generate catted man pages.
Problem noticed with mail/mailwrapper, for which this fixes the
build.
Diffstat (limited to 'bootstrap/mods')
-rw-r--r-- | bootstrap/mods/mk/Darwin.bsd.man.mk | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bootstrap/mods/mk/Darwin.bsd.man.mk b/bootstrap/mods/mk/Darwin.bsd.man.mk index b284ecda951..016a801905d 100644 --- a/bootstrap/mods/mk/Darwin.bsd.man.mk +++ b/bootstrap/mods/mk/Darwin.bsd.man.mk @@ -1,4 +1,4 @@ -# $NetBSD: Darwin.bsd.man.mk,v 1.1.1.1 2004/03/11 13:03:59 grant Exp $ +# $NetBSD: Darwin.bsd.man.mk,v 1.2 2004/08/01 16:56:18 schmonz Exp $ # @(#)bsd.man.mk 8.1 (Berkeley) 6/8/93 .if !target(__initialized__) @@ -18,10 +18,14 @@ realinstall: ${MANINSTALL} .endif cleandir: cleanman +.if exists(${DESTDIR}/usr/share/groff/1.18.1/tmac) +TMACDIR?= ${DESTDIR}/usr/share/groff/1.18.1/tmac +.else TMACDIR?= ${DESTDIR}/usr/share/groff/tmac +.endif HTMLDIR?= ${DESTDIR}/usr/share/man -CATDEPS?= ${TMACDIR}/tmac.andoc \ - ${TMACDIR}/tmac.doc +CATDEPS?= ${TMACDIR}/mandoc.tmac \ + ${TMACDIR}/doc.tmac MANTARGET?= cat NROFF?= nroff -Tascii GROFF?= groff -Tascii |