summaryrefslogtreecommitdiff
path: root/devel/libglade2/buildlink2.mk
blob: 076b386cd3564ddf404fc35125ded06a02d6e4cc (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
# $NetBSD: buildlink2.mk,v 1.5 2002/12/24 06:09:56 wiz Exp $

.if !defined(LIBGLADE2_BUILDLINK2_MK)
LIBGLADE2_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		libglade2
BUILDLINK_DEPENDS.libglade2?=	libglade2>=2.0.1nb2
BUILDLINK_PKGSRCDIR.libglade2?=	../../devel/libglade2

EVAL_PREFIX+=			BUILDLINK_PREFIX.libglade2=libglade2
BUILDLINK_PREFIX.libglade2_DEFAULT=	${LOCALBASE}
BUILDLINK_FILES.libglade2=	include/libglade-2.0/glade/*
BUILDLINK_FILES.libglade2+=	lib/libglade-2.0.*

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

CPPFLAGS+=	${BUILDLINK_CPPFLAGS.libglade2}

.include "../../textproc/libxml2/buildlink2.mk"
.include "../../x11/gtk2/buildlink2.mk"

BUILDLINK_TARGETS+=		libglade2-buildlink

libglade2-buildlink: _BUILDLINK_USE

.endif	# LIBGLADE2_BUILDLINK2_MK