summaryrefslogtreecommitdiff
path: root/mk/nroff.buildlink3.mk
blob: 049391b23977e1985f1f76316f2acb820f0e04f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $NetBSD: nroff.buildlink3.mk,v 1.1 2005/03/15 04:45:50 tv Exp $
#
# This fragment provides a NROFF macro, and includes a dependency
# on textproc/groff if needed.  This does not depend on the OS providing
# groff; if any system-supplied nroff is available, it is accepted.
#

.include "../../mk/bsd.prefs.mk"

.if !defined(NROFF)
.  if exists(/usr/bin/nroff)
NROFF?=			/usr/bin/nroff
.  else
.    include "../../textproc/groff/buildlink3.mk"
NROFF?=			${BUILDLINK_PREFIX.groff}/bin/nroff
.  endif
.endif