summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorschmonz <schmonz>2004-08-01 16:56:18 +0000
committerschmonz <schmonz>2004-08-01 16:56:18 +0000
commit95d600d196aa2ec60fa67676e36f244da4193cfb (patch)
tree2d714619106218f846bf9d60ff8fa6a83b6b38e1 /bootstrap
parent1bcdb04813901a23e8a7a14c5df5ce2872636ceb (diff)
downloadpkgsrc-95d600d196aa2ec60fa67676e36f244da4193cfb.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.mk10
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