summaryrefslogtreecommitdiff
path: root/x11/gtk2/buildlink2.mk
blob: ff61ab110b89d96572aec47cb192f852224c1c4a (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
# $NetBSD: buildlink2.mk,v 1.9 2003/12/13 00:45:26 wiz Exp $

.if !defined(GTK2_BUILDLINK2_MK)
GTK2_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		gtk2
BUILDLINK_DEPENDS.gtk2?=	gtk2+>=2.2.4nb1
BUILDLINK_PKGSRCDIR.gtk2?=	../../x11/gtk2

EVAL_PREFIX+=		BUILDLINK_PREFIX.gtk2=gtk2
BUILDLINK_PREFIX.gtk2_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.gtk2=	include/gtk-2.0/*/*
BUILDLINK_FILES.gtk2+=	include/gtk-2.0/*
BUILDLINK_FILES.gtk2+=	lib/gtk-2.0/*/*/*
BUILDLINK_FILES.gtk2+=	lib/gtk-2.0/*/*
BUILDLINK_FILES.gtk2+=	lib/gtk-2.0/*
BUILDLINK_FILES.gtk2+=	lib/libgdk*-2.0.*
BUILDLINK_FILES.gtk2+=	lib/libgtk*-2.0.*

USE_X11=	YES

.include "../../devel/atk/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../devel/glib2/buildlink2.mk"
.include "../../devel/pango/buildlink2.mk"
.include "../../devel/pkgconfig/buildlink2.mk"
.include "../../graphics/freetype2/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"

BUILDLINK_TARGETS+=	gtk2-buildlink

gtk2-buildlink: _BUILDLINK_USE

.endif	# GTK2_BUILDLINK2_MK