summaryrefslogtreecommitdiff
path: root/audio/flac/buildlink3.mk
blob: 9a54d136e9bd9bac4226b7f8056944fd1e2108be (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.12 2007/01/07 15:01:52 wiz Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
FLAC_BUILDLINK3_MK:=	${FLAC_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	flac
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nflac}
BUILDLINK_PACKAGES+=	flac
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}flac

.if !empty(FLAC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.flac+=	flac>=1.1.0nb1
BUILDLINK_ABI_DEPENDS.flac+=	flac>=1.1.3nb1
BUILDLINK_PKGSRCDIR.flac?=	../../audio/flac
.endif	# FLAC_BUILDLINK3_MK

.include "../../multimedia/libogg/buildlink3.mk"

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