aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses/makeinfo.mk
blob: 27a6071973cf33678a7e4aea361d49b554fb37e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $FreeBSD$
#
# handle dependency on the makeinfo port
#
# Feature:  makeinfo
# Usage:    USES=makeinfo
# Valid ARGS:   build (default, implicit), run, both
#
# MAINTAINER: portmgr@FreeBSD.org

.if !defined(_INCLUDE_USES_MAKEINFO_MK)
_INCLUDE_USES_MAKEINFO_MK=  yes

.if !empty(makeinfo_ARGS)
IGNORE= USES=makeinfo - expects no arguments
.endif

.if !exists(/usr/bin/makeinfo)
BUILD_DEPENDS+= makeinfo:print/texinfo
.endif

.endif