summaryrefslogtreecommitdiff
path: root/devel/libglade2/buildlink2.mk
blob: 38cf2325ac928625041a9ef0ac4ef69fb54ac9ae (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.4 2002/09/23 02:28:38 jlam Exp $

.if !defined(LIBGLADE2_BUILDLINK2_MK)
LIBGLADE2_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		libglade2
BUILDLINK_DEPENDS.libglade2?=	libglade2>=2.0.1nb1
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