summaryrefslogtreecommitdiff
path: root/comms/lirc/buildlink3.mk
blob: edd5026ba5799cd2e12cd2db935e905039258aff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# $NetBSD: buildlink3.mk,v 1.2 2012/12/02 01:27:16 cheusov Exp $

# Check whether LIRC is available on this platform
.include "available.mk"
.if ${LIRC_AVAILABLE} == "yes"

BUILDLINK_TREE+=	lirc

.  if !defined(LIRC_BUILDLINK3_MK)
LIRC_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.lirc+=	lirc>=0.9.0
BUILDLINK_PKGSRCDIR.lirc?=	../../comms/lirc
.  endif # LIRC_BUILDLINK3_MK

BUILDLINK_TREE+=	-lirc
.endif # LIRC_AVAILABLE