summaryrefslogtreecommitdiff
path: root/misc/lookup/buildlink3.mk
blob: f6dc5e63def680639c3a935e3a2c66696edac2ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: buildlink3.mk,v 1.1 2007/12/16 14:17:31 uebayasi Exp $
#

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
LOOKUP_BUILDLINK3_MK:=	${LOOKUP_BUILDLINK3_MK}+

.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+=	lookup
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nlookup}
BUILDLINK_PACKAGES+=	lookup
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}lookup

.if ${LOOKUP_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.lookup+=	${EMACS_PKGNAME_PREFIX}lookup>=1.4
BUILDLINK_PKGSRCDIR.lookup?=	../../misc/lookup
.endif	# LOOKUP_BUILDLINK3_MK

BUILDLINK_CONTENTS_FILTER.lookup=	${EGREP} '.*\.el$$|.*\.elc$$'

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH:S/+$//}