pkgsrc/graphics/gdk-pixbuf2/loaders.mk
rillig 102c17a1e8 graphics: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-02 22:37:52 +00:00

29 lines
1 KiB
Makefile

# $NetBSD: loaders.mk,v 1.4 2019/11/02 22:37:57 rillig Exp $
#
# This Makefile fragment is intended to be included by packages that install
# GTK2 modules. It takes care of rebuilding the corresponding databases at
# (de)installation time.
.if !defined(GTK2_LOADERS_MK)
GTK2_LOADERS_MK= # defined
.if defined(_BUILDING_GTK2)
BUILDLINK_PREFIX.gdk-pixbuf2= ${PREFIX}
.endif
GDK_PIXBUF_QUERY_LOADERS= \
${BUILDLINK_PREFIX.gdk-pixbuf2}/bin/gdk-pixbuf-query-loaders
GDK_PIXBUF_LOADERS_DB= \
${BUILDLINK_PREFIX.gdk-pixbuf2}/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
FILES_SUBST+= GDK_PIXBUF_LOADERS_DB=${GDK_PIXBUF_LOADERS_DB:Q}
FILES_SUBST+= GDK_PIXBUF_QUERY_LOADERS=${GDK_PIXBUF_QUERY_LOADERS:Q}
INSTALL_TEMPLATES+= ../../graphics/gdk-pixbuf2/files/loaders.tmpl
DEINSTALL_TEMPLATES+= ../../graphics/gdk-pixbuf2/files/loaders.tmpl
#PRINT_PLIST_AWK+= /^lib\/gdk-pixbuf-2.0/2.10.0/loaders.cache { next; }
.if !defined(_BUILDING_GTK2)
. include "../../graphics/gdk-pixbuf2/buildlink3.mk"
.endif
.endif # GTK2_LOADERS_MK