pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/bootstrap/mods/mk Define TMACDIR and CATDEPS appropria...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cb16fe517d4c
branches:  trunk
changeset: 478902:cb16fe517d4c
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun Aug 01 16:56:18 2004 +0000

description:
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:

 bootstrap/mods/mk/Darwin.bsd.man.mk |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 7705276e65a9 -r cb16fe517d4c bootstrap/mods/mk/Darwin.bsd.man.mk
--- a/bootstrap/mods/mk/Darwin.bsd.man.mk       Sun Aug 01 16:13:32 2004 +0000
+++ b/bootstrap/mods/mk/Darwin.bsd.man.mk       Sun Aug 01 16:56:18 2004 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index