b3be6a31d3
addresses PRs pkg/43578 and pkg/44104 by Robert Elz
23 lines
749 B
Makefile
23 lines
749 B
Makefile
# $NetBSD: modules.mk,v 1.1 2010/11/17 14:09:55 drochner Exp $
|
|
#
|
|
# This Makefile fragment is intended to be included by packages that install
|
|
# GIO modules. It takes care of rebuilding the corresponding databases at
|
|
# (de)installation time.
|
|
#
|
|
|
|
.if !defined(GIO_MODULES_MK)
|
|
GIO_MODULES_MK= # defined
|
|
|
|
GIO_QUERYMODULES= ${BUILDLINK_PREFIX.glib2}/bin/gio-querymodules
|
|
|
|
FILES_SUBST+= GIO_MODULES_DIR=${GIO_MODULES_DIR:Q}
|
|
FILES_SUBST+= GIO_QUERYMODULES=${GIO_QUERYMODULES:Q}
|
|
GIO_MODULES_DIR=${BUILDLINK_PREFIX.glib2}/lib/gio/modules
|
|
INSTALL_TEMPLATES+= ../../devel/glib2/files/modules.tmpl
|
|
DEINSTALL_TEMPLATES+= ../../devel/glib2/files/modules.tmpl
|
|
|
|
TOOLS_NOOP+= gio-querymodules
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
|
|
.endif # GIO_MODULES_MK
|