blob: d9b66cb4083b545fe735d624c6a1fc14e38836a5 (
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
33
34
35
36
37
38
39
40
|
# $NetBSD: buildlink3.mk,v 1.12 2006/04/17 13:46:07 wiz Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
LIBGNOMEPRINT_BUILDLINK3_MK:= ${LIBGNOMEPRINT_BUILDLINK3_MK}+
.include "../../mk/bsd.prefs.mk"
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= libgnomeprint
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibgnomeprint}
BUILDLINK_PACKAGES+= libgnomeprint
.if !empty(LIBGNOMEPRINT_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.libgnomeprint+= libgnomeprint>=2.8.0
BUILDLINK_ABI_DEPENDS.libgnomeprint+= libgnomeprint>=2.12.1nb3
BUILDLINK_PKGSRCDIR.libgnomeprint?= ../../print/libgnomeprint
.endif # LIBGNOMEPRINT_BUILDLINK3_MK
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libbonobo/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/libart2/buildlink3.mk"
.if !defined(PKG_BUILD_OPTIONS.libgnomeprint)
PKG_BUILD_OPTIONS.libgnomeprint!= \
cd ${BUILDLINK_PKGSRCDIR.libgnomeprint} && \
${MAKE} show-var ${MAKEFLAGS} VARNAME=PKG_OPTIONS
MAKEFLAGS+= PKG_BUILD_OPTIONS.libgnomeprint=${PKG_BUILD_OPTIONS.libgnomeprint:Q}
.endif
MAKEVARS+= PKG_BUILD_OPTIONS.libgnomeprint
.if !empty(PKG_BUILD_OPTIONS.libgnomeprint:Mcups)
. include "../../print/libgnomecups/buildlink3.mk"
.endif
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|