summaryrefslogtreecommitdiff
path: root/devel/libglade/buildlink2.mk
blob: 15dd33005988923cd8997acf52e90b2a265007da (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: buildlink2.mk,v 1.5 2002/09/23 02:28:37 jlam Exp $

.if !defined(LIBGLADE_BUILDLINK2_MK)
LIBGLADE_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		libglade
BUILDLINK_DEPENDS.libglade?=	libglade>=0.17nb1
BUILDLINK_PKGSRCDIR.libglade?=	../../devel/libglade

EVAL_PREFIX+=			BUILDLINK_PREFIX.libglade=libglade
BUILDLINK_PREFIX.libglade_DEFAULT=	${X11PREFIX}
BUILDLINK_FILES.libglade=	include/libglade-1.0/glade/*
BUILDLINK_FILES.libglade+=	lib/libglade.*
BUILDLINK_FILES.libglade+=	lib/libglade-gnome.*

BUILDLINK_CPPFLAGS.libglade= \
	-I${BUILDLINK_PREFIX.libglade}/include/libglade-1.0

CPPFLAGS+=	${BUILDLINK_CPPFLAGS.libglade}

.include "../../audio/esound/buildlink2.mk"
.include "../../devel/gettext-lib/buildlink2.mk"
.include "../../textproc/libxml/buildlink2.mk"
.include "../../x11/gnome-libs/buildlink2.mk"

BUILDLINK_TARGETS+=	libglade-buildlink

libglade-buildlink: _BUILDLINK_USE

.endif	# LIBGLADE_BUILDLINK2_MK