summaryrefslogtreecommitdiff
path: root/audio/bmp/buildlink3.mk
blob: da9ed4fba3f5786ae7253abe59d0bc2c1f5d637e (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
30
# $NetBSD: buildlink3.mk,v 1.6 2006/04/17 13:46:11 wiz Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
BMP_BUILDLINK3_MK:=	${BMP_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nbmp}
BUILDLINK_PACKAGES+=	bmp

.if !empty(BMP_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.bmp+=	bmp>=0.9.7rc2nb3
BUILDLINK_ABI_DEPENDS.bmp?=	bmp>=0.9.7nb5
BUILDLINK_PKGSRCDIR.bmp?=	../../audio/bmp

PRINT_PLIST_AWK+=	/^@dirrm lib\/bmp\/Input$$/ \
			{ print "@comment in bmp: " $$0; next; }
PRINT_PLIST_AWK+=	/^@dirrm lib\/bmp\/Output$$/ \
			{ print "@comment in bmp: " $$0; next; }
PRINT_PLIST_AWK+=	/^@dirrm lib\/bmp\/Visualization$$/ \
			{ print "@comment in bmp: " $$0; next; }
.endif	# BMP_BUILDLINK3_MK

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"

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