b08d0af6c0
to include "loaders.mk" other to install a loader
29 lines
1 KiB
Makefile
29 lines
1 KiB
Makefile
# $NetBSD: loaders.mk,v 1.2 2010/11/15 14:50:04 drochner 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
|