summaryrefslogtreecommitdiff
path: root/multimedia/bsdav/buildlink3.mk
blob: d5627f277d49e6fb326ca235e08c5c2fbbbdc10d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/01/30 19:21:08 bjs Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
BSDAV_BUILDLINK3_MK:=	${BSDAV_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nbsdav}
BUILDLINK_PACKAGES+=	bsdav
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}bsdav

.if ${BSDAV_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.bsdav+=	bsdav>=1.4
BUILDLINK_PKGSRCDIR.bsdav?=	../../multimedia/bsdav
BUILDLINK_LDADD.bsdav=		-lbsdav
BUILDLINK_FILES.bsdav= 		include/bsdav.h
LIBBSDAV?= ${BUILDLINK_LDADD.bsdav}

pkgbase := bsdav
.  include "../../mk/pkg-build-options.mk"
.endif	# BSDAV_BUILDLINK3_MK

.if !empty(PKG_BUILD_OPTIONS.bsdav:Mx11)
.  include "../../x11/libXv/buildlink3.mk"
.endif

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