summaryrefslogtreecommitdiff
path: root/graphics/imlib/buildlink2.mk
blob: 912c944c3133ace8e46a076a187d872ed24a9435 (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
# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:11 jlam Exp $

.if !defined(IMLIB_BUILDLINK2_MK)
IMLIB_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		imlib
BUILDLINK_DEPENDS.imlib?=	imlib>=1.9.11nb1
BUILDLINK_PKGSRCDIR.imlib?=	../../graphics/imlib

EVAL_PREFIX+=		BUILDLINK_PREFIX.imlib=imlib
BUILDLINK_PREFIX.imlib_DEFAULT=	${X11PREFIX}
BUILDLINK_FILES.imlib=	include/gdk_imlib.h
BUILDLINK_FILES.imlib+=	include/gdk_imlib_private.h
BUILDLINK_FILES.imlib+=	include/gdk_imlib_types.h
BUILDLINK_FILES.imlib+=	include/Imlib.h
BUILDLINK_FILES.imlib+=	include/Imlib_private.h
BUILDLINK_FILES.imlib+=	include/Imlib_types.h
BUILDLINK_FILES.imlib+=	lib/libImlib.*
BUILDLINK_FILES.imlib+=	lib/libgdk_imlib.*

.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/libungif/buildlink2.mk"
.include "../../graphics/netpbm/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"
.include "../../x11/gtk/buildlink2.mk"

BUILDLINK_TARGETS+=	imlib-buildlink

imlib-buildlink: _BUILDLINK_USE

.endif	# IMLIB_BUILDLINK2_MK