summaryrefslogtreecommitdiff
path: root/graphics/clanlib
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-25 19:21:43 +0000
committerjlam <jlam@pkgsrc.org>2002-08-25 19:21:43 +0000
commitefb93b17bd48d49105d00f52887445a53f7cd60b (patch)
treec69c41be2f3b44bedceeee7e348c2ae58c476c6a /graphics/clanlib
parent653dc760d3901b3c7e67803c589352e8353a5030 (diff)
downloadpkgsrc-efb93b17bd48d49105d00f52887445a53f7cd60b.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
Diffstat (limited to 'graphics/clanlib')
-rw-r--r--graphics/clanlib/Makefile2
-rw-r--r--graphics/clanlib/buildlink.mk2
-rw-r--r--graphics/clanlib/buildlink2.mk34
3 files changed, 36 insertions, 2 deletions
diff --git a/graphics/clanlib/Makefile b/graphics/clanlib/Makefile
index 998afa313b6..693328b293b 100644
--- a/graphics/clanlib/Makefile
+++ b/graphics/clanlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2002/08/08 16:17:07 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2002/08/25 19:22:46 jlam Exp $
DISTNAME= ClanLib-0.4.4
PKGREVISION= 2
diff --git a/graphics/clanlib/buildlink.mk b/graphics/clanlib/buildlink.mk
index 62245d275b4..be49fddb9d0 100644
--- a/graphics/clanlib/buildlink.mk
+++ b/graphics/clanlib/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.10 2002/08/01 06:40:54 jlam Exp $
+# $NetBSD: buildlink.mk,v 1.11 2002/08/25 19:22:47 jlam Exp $
#
# This Makefile fragment is included by packages that use ClanLib.
#
diff --git a/graphics/clanlib/buildlink2.mk b/graphics/clanlib/buildlink2.mk
new file mode 100644
index 00000000000..57ce6f24a3a
--- /dev/null
+++ b/graphics/clanlib/buildlink2.mk
@@ -0,0 +1,34 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:22:47 jlam Exp $
+
+.if !defined(CLANLIB_BUILDLINK2_MK)
+CLANLIB_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= ClanLib
+BUILDLINK_DEPENDS.ClanLib?= ClanLib>=0.4.4nb1
+BUILDLINK_PKGSRCDIR.ClanLib?= ../../graphics/ClanLib
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.ClanLib=ClanLib
+BUILDLINK_PREFIX.ClanLib_DEFAULT= ${X11PREFIX}
+BUILDLINK_FILES.ClanLib= lib/libclanCore.*
+BUILDLINK_FILES.ClanLib+= lib/ClanLib/*
+BUILDLINK_FILES.ClanLib+= include/ClanLib/*.h
+BUILDLINK_FILES.ClanLib+= include/ClanLib/Core/*/*
+BUILDLINK_FILES.ClanLib+= include/ClanLib/GL/*
+BUILDLINK_FILES.ClanLib+= include/ClanLib/GUI/*
+BUILDLINK_FILES.ClanLib+= include/ClanLib/Lua/*
+BUILDLINK_FILES.ClanLib+= include/ClanLib/MIDI/*
+BUILDLINK_FILES.ClanLib+= include/ClanLib/MPEG/*
+BUILDLINK_FILES.ClanLib+= include/ClanLib/Magick/*
+BUILDLINK_FILES.ClanLib+= include/ClanLib/MikMod/*
+BUILDLINK_FILES.ClanLib+= include/ClanLib/png/*
+
+.include "../../devel/pth/buildlink2.mk"
+.include "../../graphics/Mesa/buildlink2.mk"
+.include "../../graphics/hermes/buildlink2.mk"
+.include "../../graphics/png/buildlink2.mk"
+
+BUILDLINK_TARGETS+= ClanLib-buildlink
+
+ClanLib-buildlink: _BUILDLINK_USE
+
+.endif # CLANLIB_BUILDLINK2_MK