From efb93b17bd48d49105d00f52887445a53f7cd60b Mon Sep 17 00:00:00 2001
From: jlam <jlam@pkgsrc.org>
Date: Sun, 25 Aug 2002 19:21:43 +0000
Subject: Merge changes in packages from the buildlink2 branch that have
 buildlink2.mk files back into the main trunk.

---
 graphics/imlib2/buildlink2.mk | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 graphics/imlib2/buildlink2.mk

(limited to 'graphics/imlib2')

diff --git a/graphics/imlib2/buildlink2.mk b/graphics/imlib2/buildlink2.mk
new file mode 100644
index 00000000000..172d7c03fd3
--- /dev/null
+++ b/graphics/imlib2/buildlink2.mk
@@ -0,0 +1,29 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:22:49 jlam Exp $
+
+.if !defined(IMLIB2_BUILDLINK2_MK)
+IMLIB2_BUILDLINK2_MK=	# defined
+
+BUILDLINK_PACKAGES+=		imlib2
+BUILDLINK_DEPENDS.imlib2?=	imlib2>=1.0.3nb1
+BUILDLINK_PKGSRCDIR.imlib2?=	../../graphics/imlib2
+
+EVAL_PREFIX+=		BUILDLINK_PREFIX.imlib2=imlib2
+BUILDLINK_PREFIX.imlib2_DEFAULT=	${X11PREFIX}
+BUILDLINK_FILES.imlib2=		include/Imlib2.h
+BUILDLINK_FILES.imlib2+=	lib/libImlib2.*
+BUILDLINK_FILES.imlib2+=	lib/loaders/image/*
+
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../graphics/freetype-lib/buildlink2.mk"
+.include "../../graphics/jpeg/buildlink2.mk"
+.include "../../graphics/libungif/buildlink2.mk"
+.include "../../graphics/png/buildlink2.mk"
+.include "../../graphics/tiff/buildlink2.mk"
+.include "../../databases/edb/buildlink2.mk"
+.include "../../x11/gtk/buildlink2.mk"
+
+BUILDLINK_TARGETS+=	imlib2-buildlink
+
+imlib2-buildlink: _BUILDLINK_USE
+
+.endif	# IMLIB2_BUILDLINK2_MK
-- 
cgit v1.2.3