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 | 48037aea048907885ba71f858526a25975c846e1 (patch) | |
tree | 2d714619106218f846bf9d60ff8fa6a83b6b38e1 /bootstrap | |
parent | f78c1f4e276189c69fc3573c7c62bbcec5dbd3b0 (diff) | |
download | pkgsrc-48037aea048907885ba71f858526a25975c846e1.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')
-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 |