summaryrefslogtreecommitdiff
path: root/audio/bmp/buildlink3.mk
blob: 9a0fc803103c07ea071cdf86862d2bc2cf8b67eb (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.3 2006/02/05 23:08:05 joerg 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_DEPENDS.bmp+=	bmp>=0.9.7rc2nb3
BUILDLINK_RECOMMENDED.bmp?=	bmp>=0.9.7nb4
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/+$//}