summaryrefslogtreecommitdiff
path: root/audio/flac/buildlink3.mk
blob: 0fc3dbb0e6461a4b53dc92e67ae3633cde4bf9e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# $NetBSD: buildlink3.mk,v 1.4 2004/04/12 23:15:01 salo 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

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

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

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