summaryrefslogtreecommitdiff
path: root/devel/xulrunner10/buildlink3.mk
blob: d80aad7057e71729e5234e37117de25063654d87 (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.14 2013/09/02 19:50:41 adam 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.12nb9
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