[BACK]Return to modules.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / glib2

File: [cvs.NetBSD.org] / pkgsrc / devel / glib2 / modules.mk (download)

Revision 1.1, Wed Nov 17 14:09:55 2010 UTC (8 years, 11 months ago) by drochner
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-, HEAD

add support for rebuilding giomodule.cache on INSTALL/DEINSTALL,
addresses PRs pkg/43578 and pkg/44104 by Robert Elz

# $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