summaryrefslogtreecommitdiff
path: root/x11/gtk2/buildlink2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gtk2/buildlink2.mk')
-rw-r--r--x11/gtk2/buildlink2.mk34
1 files changed, 34 insertions, 0 deletions
diff --git a/x11/gtk2/buildlink2.mk b/x11/gtk2/buildlink2.mk
new file mode 100644
index 00000000000..98ff46c5faa
--- /dev/null
+++ b/x11/gtk2/buildlink2.mk
@@ -0,0 +1,34 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:23:31 jlam Exp $
+
+.if !defined(GTK2_BUILDLINK2_MK)
+GTK2_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= gtk2
+BUILDLINK_DEPENDS.gtk2?= gtk2+>=2.0.0
+BUILDLINK_PKGSRCDIR.gtk2?= ../../x11/gtk2
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.gtk2=gtk2
+BUILDLINK_PREFIX.gtk2_DEFAULT= ${X11PREFIX}
+BUILDLINK_FILES.gtk2= include/gtk-2.0/*/*
+BUILDLINK_FILES.gtk2+= include/gtk-2.0/*
+BUILDLINK_FILES.gtk2+= lib/gtk-2.0/*/*/*
+BUILDLINK_FILES.gtk2+= lib/gtk-2.0/*/*
+BUILDLINK_FILES.gtk2+= lib/gtk-2.0/*
+BUILDLINK_FILES.gtk2+= lib/libgdk*-2.0.*
+BUILDLINK_FILES.gtk2+= lib/libgtk*-2.0.*
+
+.include "../../devel/atk/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink2.mk"
+.include "../../devel/glib2/buildlink2.mk"
+.include "../../devel/pango/buildlink2.mk"
+.include "../../devel/pkgconfig/buildlink2.mk"
+.include "../../graphics/freetype2/buildlink2.mk"
+.include "../../graphics/jpeg/buildlink2.mk"
+.include "../../graphics/png/buildlink2.mk"
+.include "../../graphics/tiff/buildlink2.mk"
+
+BUILDLINK_TARGETS+= gtk2-buildlink
+
+gtk2-buildlink: _BUILDLINK_USE
+
+.endif # GTK2_BUILDLINK2_MK