summaryrefslogtreecommitdiff
path: root/graphics/clanlib/buildlink2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/clanlib/buildlink2.mk')
-rw-r--r--graphics/clanlib/buildlink2.mk34
1 files changed, 34 insertions, 0 deletions
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