summaryrefslogtreecommitdiff
path: root/textproc/groff/builtin.mk
blob: 1077793feebbe6c0c617eb4b0dee105a61be71f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# $NetBSD: builtin.mk,v 1.2 2004/07/09 12:30:17 drochner Exp $

.if !defined(IS_BUILTIN.groff)
.  if exists(/usr/bin/groff)
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}
GROFF?=			${_GROFFPATH}/groff
TBL?=			${_GROFFPATH}/tbl