summaryrefslogtreecommitdiff
path: root/devel/xulrunner10/buildlink3.mk
blob: 3e7b1e72268699d509857fa305060ec662731ab3 (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
31
32
# $NetBSD: buildlink3.mk,v 1.3 2012/06/14 07:43:27 sbd Exp $

BUILDLINK_TREE+=	xulrunner10

.if !defined(XULRUNNER10_BUILDLINK3_MK)
XULRUNNER10_BUILDLINK3_MK:=

pre-configure: xulrunner10-preconfigure
.PHONY: xulrunner10-preconfigure
xulrunner10-preconfigure:
	cp ${PREFIX}/lib/xulrunner10/pkgconfig/* ${BUILDLINK_DIR}/lib/pkgconfig

BUILDLINK_API_DEPENDS.xulrunner10+=	xulrunner10>=10.0.2
BUILDLINK_ABI_DEPENDS.xulrunner10+=	xulrunner10>=10.0.5nb1
BUILDLINK_PKGSRCDIR.xulrunner10?=	../../devel/xulrunner10

BUILDLINK_INCDIRS.xulrunner10+=		lib/xulrunner10-sdk/include
BUILDLINK_INCDIRS.xulrunner10+=		include/xulrunner10
BUILDLINK_FILES.xulrunner10+=		lib/xulrunner10-sdk/include/*.h

BUILDLINK_LIBDIRS.xulrunner10+=		lib/xulrunner10-sdk/lib
BUILDLINK_FILES.xulrunner10+=		lib/xulrunner10-sdk/lib/*.so

pkgbase := xulrunner10
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.xulrunner10:Mgnome)
. include "../../devel/libgnomeui/buildlink3.mk"
. include "../../sysutils/gnome-vfs/buildlink3.mk"
.endif
.endif # XULRUNNER10_BUILDLINK3_MK

BUILDLINK_TREE+=	-xulrunner10