pkgsrc/x11/gtk2/buildlink3.mk
2004-04-15 10:42:42 +00:00

39 lines
1.3 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.10 2004/04/15 10:42:42 jmmv Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GTK2_BUILDLINK3_MK:= ${GTK2_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= gtk2
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngtk2}
BUILDLINK_PACKAGES+= gtk2
.if !empty(GTK2_BUILDLINK3_MK:M+)
BUILDLINK_PKGBASE.gtk2?= gtk2+
BUILDLINK_DEPENDS.gtk2+= gtk2+>=2.4.0
BUILDLINK_PKGSRCDIR.gtk2?= ../../x11/gtk2
PRINT_PLIST_AWK+= /^@dirrm lib\/gtk-2.0$$/ { next; }
PRINT_PLIST_AWK+= /^@dirrm lib\/gtk-2.0\/(engines|filesystems|immodules|loaders)$$/ \
{ print "@comment in gtk2: " $$0; next; }
PRINT_PLIST_AWK+= /^@dirrm lib\/gtk-2.0\/2.4.0$$/ { next; }
PRINT_PLIST_AWK+= /^@dirrm lib\/gtk-2.0\/2.4.0\/(engines|filesystems|immodules|loaders)$$/ \
{ print "@comment in gtk2: " $$0; next; }
.endif # GTK2_BUILDLINK3_MK
USE_X11= yes
.include "../../devel/atk/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../x11/xcursor/buildlink3.mk"
.include "../../x11/Xrandr/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}