summaryrefslogtreecommitdiff
path: root/graphics/imlib2/buildlink2.mk
blob: 83b8e7b6afdfd6f60842ecdea9eefdfbf195f908 (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
# $NetBSD: buildlink2.mk,v 1.8 2004/02/11 22:57:16 xtraeme Exp $

.if !defined(IMLIB2_BUILDLINK2_MK)
IMLIB2_BUILDLINK2_MK=	# defined

BUILDLINK_PACKAGES+=		imlib2
BUILDLINK_DEPENDS.imlib2?=	imlib2>=1.1.0nb2
BUILDLINK_PKGSRCDIR.imlib2?=	../../graphics/imlib2

EVAL_PREFIX+=		BUILDLINK_PREFIX.imlib2=imlib2
BUILDLINK_PREFIX.imlib2_DEFAULT=	${X11PREFIX}
BUILDLINK_FILES.imlib2=		bin/imlib2-config
BUILDLINK_FILES.imlib2+=	include/Imlib2.h
BUILDLINK_FILES.imlib2+=	lib/libImlib2.*
BUILDLINK_FILES.imlib2+=	lib/loaders/filter/*
BUILDLINK_FILES.imlib2+=	lib/loaders/image/*

.include "../../graphics/freetype2/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/libungif/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../graphics/tiff/buildlink2.mk"

BUILDLINK_TARGETS+=	imlib2-buildlink

imlib2-buildlink: _BUILDLINK_USE

.endif	# IMLIB2_BUILDLINK2_MK