summaryrefslogtreecommitdiff
path: root/textproc/groff
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2004-07-09 12:30:17 +0000
committerdrochner <drochner@pkgsrc.org>2004-07-09 12:30:17 +0000
commit00a73f7899fa3cb76db33ce639a6c90f23fa8d4c (patch)
tree8b5f10e5f59a8085c99d692f74dc2884a8fc6ee3 /textproc/groff
parent1f7ce54e732846cc9c63d754942a51668d448229 (diff)
downloadpkgsrc-00a73f7899fa3cb76db33ce639a6c90f23fa8d4c.tar.gz
set the GROFF and TBL variables to the full path
Diffstat (limited to 'textproc/groff')
-rw-r--r--textproc/groff/builtin.mk13
1 files changed, 9 insertions, 4 deletions
diff --git a/textproc/groff/builtin.mk b/textproc/groff/builtin.mk
index 29db228727a..1077793feeb 100644
--- a/textproc/groff/builtin.mk
+++ b/textproc/groff/builtin.mk
@@ -1,10 +1,15 @@
-# $NetBSD: builtin.mk,v 1.1 2004/07/07 19:06:23 drochner Exp $
+# $NetBSD: builtin.mk,v 1.2 2004/07/09 12:30:17 drochner Exp $
.if !defined(IS_BUILTIN.groff)
-IS_BUILTIN.groff= no
. if exists(/usr/bin/groff)
-IS_BUILTIN.groff= yes
+IS_BUILTIN.groff= yes
+_GROFFPATH= /usr/bin
+. else
+IS_BUILTIN.groff= no
+_GROFFPATH= ${LOCALBASE}/bin
. endif
.endif # IS_BUILTIN.groff
-USE_BUILTIN.groff?= ${IS_BUILTIN.groff}
+USE_BUILTIN.groff?= ${IS_BUILTIN.groff}
+GROFF?= ${_GROFFPATH}/groff
+TBL?= ${_GROFFPATH}/tbl