summaryrefslogtreecommitdiff
path: root/devel/GConf2/schemas.mk
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-12-28 14:24:49 +0000
committerjmmv <jmmv@pkgsrc.org>2003-12-28 14:24:49 +0000
commit465bbfe921664a23e34f938271df7f1a27a1cec3 (patch)
tree553fa3fbe9fa4f9dc743e262cef83bedb3684d3e /devel/GConf2/schemas.mk
parent808d1053a839c455510c692c6f9c962ae8b08e65 (diff)
downloadpkgsrc-465bbfe921664a23e34f938271df7f1a27a1cec3.tar.gz
Implement a framework to handle .entries files. If a package installs
one or more .entries files, it can set GCONF2_ENTRIES to the names of those files and they will get (un)registered at (de)installation time. Installation is handled after .schemas are installed, and uninstallation before .schemas are deinstalled. To achieve this, we need to implement an --unload flag in gconftool-2 to allow clean removal of .entries from the database. This will be fed back to authors. Bump PKGREVISION to 1.
Diffstat (limited to 'devel/GConf2/schemas.mk')
-rw-r--r--devel/GConf2/schemas.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/GConf2/schemas.mk b/devel/GConf2/schemas.mk
index c41a24c1b2c..e43aab371b4 100644
--- a/devel/GConf2/schemas.mk
+++ b/devel/GConf2/schemas.mk
@@ -1,4 +1,4 @@
-# $NetBSD: schemas.mk,v 1.3 2003/04/21 00:12:33 rh Exp $
+# $NetBSD: schemas.mk,v 1.4 2003/12/28 14:24:49 jmmv Exp $
#
# This Makefile fragment is intended to be included by packages that install
# GConf2 schema files. It takes care of registering them in the GConf2
@@ -37,9 +37,11 @@ CONFIGURE_ARGS+= --disable-schemas-install
CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${GCONF2_SCHEMAS_DIR}
.endif
-.if defined(GCONF2_SCHEMAS) && !empty(GCONF2_SCHEMAS)
+.if (defined(GCONF2_SCHEMAS) && !empty(GCONF2_SCHEMAS)) || \
+ (defined(GCONF2_ENTRIES) && !empty(GCONF2_ENTRIES))
FILES_SUBST+= GCONFTOOL2="${GCONFTOOL2}"
FILES_SUBST+= GCONF2_CONFIG_SOURCE="${GCONF2_CONFIG_SOURCE}"
+FILES_SUBST+= GCONF2_ENTRIES="${GCONF2_ENTRIES}"
FILES_SUBST+= GCONF2_SCHEMAS="${GCONF2_SCHEMAS}"
FILES_SUBST+= GCONF2_SCHEMAS_DIR="${GCONF2_SCHEMAS_DIR}"
INSTALL_EXTRA_TMPL+= ${.CURDIR}/../../devel/GConf2/files/install.tmpl