summaryrefslogtreecommitdiff
path: root/audio/libmp3splt/buildlink3.mk
blob: 11fe888e674c9903c6415d1ecef86ee3da4ea967 (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.2 2008/10/05 22:47:23 schmonz Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
LIBMP3SPLT_BUILDLINK3_MK:=	${LIBMP3SPLT_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nlibmp3splt}
BUILDLINK_PACKAGES+=	libmp3splt
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}libmp3splt

.if ${LIBMP3SPLT_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.libmp3splt+=	libmp3splt>=0.5.1
BUILDLINK_PKGSRCDIR.libmp3splt?=	../../audio/libmp3splt
.endif	# LIBMP3SPLT_BUILDLINK3_MK
###
### XXX libmad and libvorbis are needed only for headers.
###
BUILDLINK_DEPMETHOD.libmad?=	build
.include "../../audio/libmad/buildlink3.mk"

BUILDLINK_DEPMETHOD.libvorbis?= build
.include "../../audio/libvorbis/buildlink3.mk"

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

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