summaryrefslogblamecommitdiff
path: root/Mk/Uses/makeinfo.mk
blob: a04e699e215a9363270f9b99aa5fc0e555d7a0ee (plain) (tree)
1
2
3
4
5
6
7





                                        
                    





                                       
                         


                                            


                                 
                                      
                                         


      
# $FreeBSD$
#
# handle dependency on the makeinfo port
#
# Feature:	makeinfo
# Usage:	USES=makeinfo
# Valid ARGS:	none
#
# 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)
MAKEINFO?=	/usr/bin/makeinfo
.else
BUILD_DEPENDS+=	makeinfo:print/texinfo
MAKEINFO?=	${LOCALBASE}/bin/makeinfo
.endif

.endif