diff options
author | wiz <wiz@pkgsrc.org> | 2007-09-21 12:58:12 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2007-09-21 12:58:12 +0000 |
commit | 115317c63a06521a48a2151944cb65757a158e9f (patch) | |
tree | e6866b255d7e586f3d657e49bad5bd4a01dee782 /devel/GConf | |
parent | b3bb6c09d8d5017b4c427705d4942afa8049a5e5 (diff) | |
download | pkgsrc-115317c63a06521a48a2151944cb65757a158e9f.tar.gz |
Rename GConf2 to GConf and GConf2-ui to GConf-ui, to match the
upstream name.
Diffstat (limited to 'devel/GConf')
-rw-r--r-- | devel/GConf/DESCR | 4 | ||||
-rw-r--r-- | devel/GConf/Makefile | 34 | ||||
-rw-r--r-- | devel/GConf/Makefile.common | 39 | ||||
-rw-r--r-- | devel/GConf/PLIST | 126 | ||||
-rw-r--r-- | devel/GConf/buildlink3.mk | 41 | ||||
-rw-r--r-- | devel/GConf/distinfo | 8 | ||||
-rw-r--r-- | devel/GConf/files/deinstall.tmpl | 26 | ||||
-rw-r--r-- | devel/GConf/files/install.tmpl | 26 | ||||
-rw-r--r-- | devel/GConf/patches/patch-ab | 15 | ||||
-rw-r--r-- | devel/GConf/patches/patch-ac | 15 | ||||
-rw-r--r-- | devel/GConf/patches/patch-ad | 17 | ||||
-rw-r--r-- | devel/GConf/schemas.mk | 61 |
12 files changed, 412 insertions, 0 deletions
diff --git a/devel/GConf/DESCR b/devel/GConf/DESCR new file mode 100644 index 00000000000..d3085d3b1d2 --- /dev/null +++ b/devel/GConf/DESCR @@ -0,0 +1,4 @@ +GConf is a configuration database system, functionally similar to the +Windows registry but lots better. It was written for the GNOME +desktop but does not require GNOME; configure should notice if GNOME +is not installed and compile the basic GConf library anyway. diff --git a/devel/GConf/Makefile b/devel/GConf/Makefile new file mode 100644 index 00000000000..fcce77dcfcf --- /dev/null +++ b/devel/GConf/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.60 2007/09/21 12:58:12 wiz Exp $ +# + +.include "../../devel/GConf/Makefile.common" + +PKGREVISION= 1 + +CONFIGURE_ARGS+= --disable-gtk +CONFIGURE_ARGS+= ac_cv_header_ldap_h=no + +CONFLICTS+= GConf-[0-9]* + +OWN_DIRS= ${PKG_SYSCONFDIR}/2 +OWN_DIRS+= ${PKG_SYSCONFDIR}/gconf.xml.defaults +OWN_DIRS+= ${PKG_SYSCONFDIR}/gconf.xml.mandatory + +EGDIR= ${PREFIX}/share/examples/GConf +CONF_FILES= ${EGDIR}/path ${PKG_SYSCONFDIR}/2/path + +PRINT_PLIST_AWK+= /^@dirrm (include\/gconf|lib\/GConf|share\/gconf)$$/ \ + { print "@unexec $${RMDIR} -p %D/" $$2 \ + " 2>/dev/null || $${TRUE}"; next} + +# XXX: We need to use XML_CATALOGS here to register the installed DTD. +# But we have to wait until a public identifier is choosen for it. + +post-install: + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/gconf/schemas + +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../net/ORBit2/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../textproc/xmlcatmgr/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/GConf/Makefile.common b/devel/GConf/Makefile.common new file mode 100644 index 00000000000..25198d30cbd --- /dev/null +++ b/devel/GConf/Makefile.common @@ -0,0 +1,39 @@ +# $NetBSD: Makefile.common,v 1.1 2007/09/21 12:58:13 wiz Exp $ +# + +GCONF_VERSION= 2.18.0.1 + +DISTNAME= GConf-${GCONF_VERSION} +CATEGORIES= devel gnome +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/GConf/2.18/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= jmmv@NetBSD.org +HOMEPAGE= http://www.gnome.org/projects/gconf/ +COMMENT= Configuration database system used by GNOME + +PKG_DESTDIR_SUPPORT= user-destdir + +# not ready yet. .schemas are installed in the depot. +#PKG_INSTALLATION_TYPES= overwrite pkgviews + +DISTINFO_FILE= ${.CURDIR}/../GConf/distinfo +FILESDIR= ${.CURDIR}/../GConf/files +PATCHDIR= ${.CURDIR}/../GConf/patches + +USE_PKGLOCALEDIR= yes +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= gmake intltool msgfmt perl pkg-config + +PKGCONFIG_OVERRIDE= gconf-2.0.pc.in + +PKG_SYSCONFSUBDIR= gconf + +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} +CONFIGURE_ARGS+= --with-sysconfsubdir= +CONFIGURE_ARGS+= --enable-gconf-source=xml::${PKG_SYSCONFDIR}/gconf.xml.defaults + +BUILDLINK_API_DEPENDS.glib2+= glib2>=2.10.0 + +.include "../../devel/glib2/buildlink3.mk" diff --git a/devel/GConf/PLIST b/devel/GConf/PLIST new file mode 100644 index 00000000000..e79712fae22 --- /dev/null +++ b/devel/GConf/PLIST @@ -0,0 +1,126 @@ +@comment $NetBSD: PLIST,v 1.22 2007/09/21 12:58:13 wiz Exp $ +bin/gconf-merge-tree +bin/gconftool-2 +include/gconf/2/gconf/gconf-changeset.h +include/gconf/2/gconf/gconf-client.h +include/gconf/2/gconf/gconf-engine.h +include/gconf/2/gconf/gconf-enum-types.h +include/gconf/2/gconf/gconf-error.h +include/gconf/2/gconf/gconf-listeners.h +include/gconf/2/gconf/gconf-schema.h +include/gconf/2/gconf/gconf-value.h +include/gconf/2/gconf/gconf.h +lib/GConf/2/libgconfbackend-oldxml.la +lib/GConf/2/libgconfbackend-xml.la +lib/libgconf-2.la +lib/pkgconfig/gconf-2.0.pc +libexec/gconfd-2 +man/man1/gconftool-2.1 +share/aclocal/gconf-2.m4 +share/examples/GConf/path +share/gtk-doc/html/gconf/ch01.html +share/gtk-doc/html/gconf/gconf-GConfClient.html +share/gtk-doc/html/gconf/gconf-gconf-backend.html +share/gtk-doc/html/gconf/gconf-gconf-changeset.html +share/gtk-doc/html/gconf/gconf-gconf-engine.html +share/gtk-doc/html/gconf/gconf-gconf-error.html +share/gtk-doc/html/gconf/gconf-gconf-internals.html +share/gtk-doc/html/gconf/gconf-gconf-listeners.html +share/gtk-doc/html/gconf/gconf-gconf-locale.html +share/gtk-doc/html/gconf/gconf-gconf-schema.html +share/gtk-doc/html/gconf/gconf-gconf-sources.html +share/gtk-doc/html/gconf/gconf-gconf-value.html +share/gtk-doc/html/gconf/gconf-gconf.html +share/gtk-doc/html/gconf/gconf.devhelp +share/gtk-doc/html/gconf/gconf.devhelp2 +share/gtk-doc/html/gconf/home.png +share/gtk-doc/html/gconf/index.html +share/gtk-doc/html/gconf/index.sgml +share/gtk-doc/html/gconf/left.png +share/gtk-doc/html/gconf/right.png +share/gtk-doc/html/gconf/style.css +share/gtk-doc/html/gconf/up.png +share/locale/am/LC_MESSAGES/GConf2.mo +share/locale/ar/LC_MESSAGES/GConf2.mo +share/locale/az/LC_MESSAGES/GConf2.mo +share/locale/be/LC_MESSAGES/GConf2.mo +share/locale/bg/LC_MESSAGES/GConf2.mo +share/locale/bn/LC_MESSAGES/GConf2.mo +share/locale/bn_IN/LC_MESSAGES/GConf2.mo +share/locale/bs/LC_MESSAGES/GConf2.mo +share/locale/ca/LC_MESSAGES/GConf2.mo +share/locale/cs/LC_MESSAGES/GConf2.mo +share/locale/cy/LC_MESSAGES/GConf2.mo +share/locale/da/LC_MESSAGES/GConf2.mo +share/locale/de/LC_MESSAGES/GConf2.mo +share/locale/el/LC_MESSAGES/GConf2.mo +share/locale/en_CA/LC_MESSAGES/GConf2.mo +share/locale/en_GB/LC_MESSAGES/GConf2.mo +share/locale/es/LC_MESSAGES/GConf2.mo +share/locale/et/LC_MESSAGES/GConf2.mo +share/locale/eu/LC_MESSAGES/GConf2.mo +share/locale/fa/LC_MESSAGES/GConf2.mo +share/locale/fi/LC_MESSAGES/GConf2.mo +share/locale/fr/LC_MESSAGES/GConf2.mo +share/locale/ga/LC_MESSAGES/GConf2.mo +share/locale/gl/LC_MESSAGES/GConf2.mo +share/locale/gu/LC_MESSAGES/GConf2.mo +share/locale/he/LC_MESSAGES/GConf2.mo +share/locale/hi/LC_MESSAGES/GConf2.mo +share/locale/hr/LC_MESSAGES/GConf2.mo +share/locale/hu/LC_MESSAGES/GConf2.mo +share/locale/id/LC_MESSAGES/GConf2.mo +share/locale/is/LC_MESSAGES/GConf2.mo +share/locale/it/LC_MESSAGES/GConf2.mo +share/locale/ja/LC_MESSAGES/GConf2.mo +share/locale/ka/LC_MESSAGES/GConf2.mo +share/locale/ko/LC_MESSAGES/GConf2.mo +share/locale/ku/LC_MESSAGES/GConf2.mo +share/locale/lt/LC_MESSAGES/GConf2.mo +share/locale/lv/LC_MESSAGES/GConf2.mo +share/locale/mg/LC_MESSAGES/GConf2.mo +share/locale/mk/LC_MESSAGES/GConf2.mo +share/locale/ml/LC_MESSAGES/GConf2.mo +share/locale/mn/LC_MESSAGES/GConf2.mo +share/locale/ms/LC_MESSAGES/GConf2.mo +share/locale/nb/LC_MESSAGES/GConf2.mo +share/locale/ne/LC_MESSAGES/GConf2.mo +share/locale/nl/LC_MESSAGES/GConf2.mo +share/locale/nn/LC_MESSAGES/GConf2.mo +share/locale/or/LC_MESSAGES/GConf2.mo +share/locale/pa/LC_MESSAGES/GConf2.mo +share/locale/pl/LC_MESSAGES/GConf2.mo +share/locale/pt/LC_MESSAGES/GConf2.mo +share/locale/pt_BR/LC_MESSAGES/GConf2.mo +share/locale/ro/LC_MESSAGES/GConf2.mo +share/locale/ru/LC_MESSAGES/GConf2.mo +share/locale/rw/LC_MESSAGES/GConf2.mo +share/locale/sk/LC_MESSAGES/GConf2.mo +share/locale/sl/LC_MESSAGES/GConf2.mo +share/locale/sq/LC_MESSAGES/GConf2.mo +share/locale/sr/LC_MESSAGES/GConf2.mo +share/locale/sr@Latn/LC_MESSAGES/GConf2.mo +share/locale/sv/LC_MESSAGES/GConf2.mo +share/locale/ta/LC_MESSAGES/GConf2.mo +share/locale/th/LC_MESSAGES/GConf2.mo +share/locale/tr/LC_MESSAGES/GConf2.mo +share/locale/uk/LC_MESSAGES/GConf2.mo +share/locale/vi/LC_MESSAGES/GConf2.mo +share/locale/xh/LC_MESSAGES/GConf2.mo +share/locale/yi/LC_MESSAGES/GConf2.mo +share/locale/zh_CN/LC_MESSAGES/GConf2.mo +share/locale/zh_HK/LC_MESSAGES/GConf2.mo +share/locale/zh_TW/LC_MESSAGES/GConf2.mo +share/sgml/gconf/gconf-1.0.dtd +@dirrm share/sgml/gconf +@comment in xmlcatmgr: @dirrm share/sgml +@dirrm share/gtk-doc/html/gconf +@exec ${MKDIR} %D/share/gconf/schemas +@dirrm share/gconf/schemas +@unexec ${RMDIR} -p %D/share/gconf 2>/dev/null || ${TRUE} +@dirrm share/examples/GConf +@dirrm lib/GConf/2 +@unexec ${RMDIR} -p %D/lib/GConf 2>/dev/null || ${TRUE} +@dirrm include/gconf/2/gconf +@dirrm include/gconf/2 +@unexec ${RMDIR} -p %D/include/gconf 2>/dev/null || ${TRUE} diff --git a/devel/GConf/buildlink3.mk b/devel/GConf/buildlink3.mk new file mode 100644 index 00000000000..55c6cd603c7 --- /dev/null +++ b/devel/GConf/buildlink3.mk @@ -0,0 +1,41 @@ +# $NetBSD: buildlink3.mk,v 1.14 2007/09/21 12:58:13 wiz Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +GCONF_BUILDLINK3_MK:= ${GCONF_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= GConf +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:NGConf} +BUILDLINK_PACKAGES+= GConf +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}GConf + +.if !empty(GCONF_BUILDLINK3_MK:M+) +BUILDLINK_API_DEPENDS.GConf+= GConf>=2.8.0.1 +BUILDLINK_ABI_DEPENDS.GConf?= GConf>=2.12.1nb1 +BUILDLINK_PKGSRCDIR.GConf?= ../../devel/GConf +.endif # GCONF_BUILDLINK3_MK + +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../devel/glib2/buildlink3.mk" +.include "../../net/ORBit2/buildlink3.mk" +.include "../../textproc/libxml2/buildlink3.mk" +.include "../../textproc/xmlcatmgr/buildlink3.mk" + +.if !empty(GCONF_BUILDLINK3_MK:M+) +BUILDLINK_TARGETS+= GConf-buildlink-fake +_GCONF_FAKE= ${BUILDLINK_DIR}/bin/gconftool-2 + +.PHONY: GConf-buildlink-fake +GConf-buildlink-fake: + ${_PKG_SILENT}${_PKG_DEBUG} \ + if [ ! -f ${_GCONF_FAKE} ]; then \ + ${ECHO_BUILDLINK_MSG} "Creating ${_GCONF_FAKE}"; \ + ${MKDIR} ${_GCONF_FAKE:H}; \ + ${ECHO} "#!${SH}" > ${_GCONF_FAKE}; \ + ${CHMOD} +x ${_GCONF_FAKE}; \ + fi +.endif # GCONF_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/devel/GConf/distinfo b/devel/GConf/distinfo new file mode 100644 index 00000000000..f75aea9c190 --- /dev/null +++ b/devel/GConf/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.16 2007/09/21 12:58:13 wiz Exp $ + +SHA1 (GConf-2.18.0.1.tar.bz2) = 6bbceafc636457ec14ec2d7b4358235ff6cf08d3 +RMD160 (GConf-2.18.0.1.tar.bz2) = 79bad5a19404277abfbd7f17b61e09274dcc1aa3 +Size (GConf-2.18.0.1.tar.bz2) = 1347765 bytes +SHA1 (patch-ab) = ca0c9f45ff46ceb05a10c03c59f94b6a5be562b0 +SHA1 (patch-ac) = 1a1989511b9bb78f0310e70289b54ed326dede1b +SHA1 (patch-ad) = 5d90ad4651d4c2562277c9008a3056568afe7317 diff --git a/devel/GConf/files/deinstall.tmpl b/devel/GConf/files/deinstall.tmpl new file mode 100644 index 00000000000..8167376223f --- /dev/null +++ b/devel/GConf/files/deinstall.tmpl @@ -0,0 +1,26 @@ +# $NetBSD: deinstall.tmpl,v 1.1 2007/09/21 12:58:14 wiz Exp $ +# +# Unregister GConf schema files from GConf's database at install time. +# + +GCONFTOOL2="@GCONFTOOL2@" +GCONF_ENTRIES="@GCONF_ENTRIES@" +GCONF_SCHEMAS="@GCONF_SCHEMAS@" +GCONF_SCHEMAS_DIR="@GCONF_SCHEMAS_DIR@" +GCONF_CONFIG_SOURCE="@GCONF_CONFIG_SOURCE@" + +case ${STAGE} in +DEINSTALL) + for f in ${GCONF_ENTRIES}; do + ${GCONFTOOL2} --config-source=${GCONF_CONFIG_SOURCE} \ + --direct --unload ${GCONF_SCHEMAS_DIR}/$f >/dev/null + done + for f in ${GCONF_SCHEMAS}; do + GCONF_CONFIG_SOURCE="${GCONF_CONFIG_SOURCE}" \ + ${GCONFTOOL2} --makefile-uninstall-rule \ + ${GCONF_SCHEMAS_DIR}/$f >/dev/null + done + ;; +*) + ;; +esac diff --git a/devel/GConf/files/install.tmpl b/devel/GConf/files/install.tmpl new file mode 100644 index 00000000000..0a2e3adf25f --- /dev/null +++ b/devel/GConf/files/install.tmpl @@ -0,0 +1,26 @@ +# $NetBSD: install.tmpl,v 1.1 2007/09/21 12:58:14 wiz Exp $ +# +# Register GConf schema files into GConf's database at install time. +# + +GCONFTOOL2="@GCONFTOOL2@" +GCONF_ENTRIES="@GCONF_ENTRIES@" +GCONF_SCHEMAS="@GCONF_SCHEMAS@" +GCONF_SCHEMAS_DIR="@GCONF_SCHEMAS_DIR@" +GCONF_CONFIG_SOURCE="@GCONF_CONFIG_SOURCE@" + +case ${STAGE} in +POST-INSTALL) + for f in ${GCONF_SCHEMAS}; do + GCONF_CONFIG_SOURCE="${GCONF_CONFIG_SOURCE}" \ + ${GCONFTOOL2} --makefile-install-rule \ + ${GCONF_SCHEMAS_DIR}/$f >/dev/null + done + for f in ${GCONF_ENTRIES}; do + ${GCONFTOOL2} --config-source=${GCONF_CONFIG_SOURCE} \ + --direct --load ${GCONF_SCHEMAS_DIR}/$f >/dev/null + done + ;; +*) + ;; +esac diff --git a/devel/GConf/patches/patch-ab b/devel/GConf/patches/patch-ab new file mode 100644 index 00000000000..c1de80e5542 --- /dev/null +++ b/devel/GConf/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.9 2007/09/21 12:58:14 wiz Exp $ + +--- Makefile.in.orig 2006-10-05 12:48:26.000000000 +0000 ++++ Makefile.in +@@ -711,10 +711,6 @@ uninstall-info: uninstall-info-recursive + + + install-data-local: +- -mkdir -p $(DESTDIR)$(sysgconfdir)/gconf.xml.defaults +- -chmod 755 $(DESTDIR)$(sysgconfdir)/gconf.xml.defaults +- -mkdir -p $(DESTDIR)$(sysgconfdir)/gconf.xml.mandatory +- -chmod 755 $(DESTDIR)$(sysgconfdir)/gconf.xml.mandatory + + install-schemas: + (cd standard-schemas && $(MAKE) $(AM_MAKEFLAGS) install-schemas) diff --git a/devel/GConf/patches/patch-ac b/devel/GConf/patches/patch-ac new file mode 100644 index 00000000000..ac003f91c2b --- /dev/null +++ b/devel/GConf/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.9 2007/09/21 12:58:14 wiz Exp $ + +--- gconf/Makefile.in.orig 2006-10-05 12:54:51.000000000 +0000 ++++ gconf/Makefile.in +@@ -818,8 +818,8 @@ default.path: $(srcdir)/default.path.in + <$(srcdir)/default.path.in >default.path + + install-data-local: default.path +- $(mkinstalldirs) $(DESTDIR)$(sysgconfdir)/$(MAJOR_VERSION) +- $(INSTALL_DATA) default.path $(DESTDIR)$(sysgconfdir)/$(MAJOR_VERSION)/path ++ $(mkinstalldirs) $(DESTDIR)$(datadir)/examples/GConf ++ $(INSTALL_DATA) default.path $(DESTDIR)$(datadir)/examples/GConf/path + + uninstall-local: + rm -f $(DESTDIR)$(sysgconfdir)/$(MAJOR_VERSION)/path diff --git a/devel/GConf/patches/patch-ad b/devel/GConf/patches/patch-ad new file mode 100644 index 00000000000..151bbdca1cf --- /dev/null +++ b/devel/GConf/patches/patch-ad @@ -0,0 +1,17 @@ +$NetBSD: patch-ad,v 1.5 2007/09/21 12:58:14 wiz Exp $ + +Needed for Solaris 9. Without the <lber.h> header, struct berval, which +is used as a member of another struct in <ldap.h>, has an unknown size. + +--- backends/evoldap-backend.c.orig 2007-03-02 22:10:18.000000000 +0000 ++++ backends/evoldap-backend.c +@@ -25,6 +25,9 @@ + #include <unistd.h> + #include <string.h> + #include <time.h> ++#ifdef __sun ++#include <lber.h> ++#endif + #include <ldap.h> + #include <libxml/parser.h> + #include <libxml/xpath.h> diff --git a/devel/GConf/schemas.mk b/devel/GConf/schemas.mk new file mode 100644 index 00000000000..d5fc6b6c365 --- /dev/null +++ b/devel/GConf/schemas.mk @@ -0,0 +1,61 @@ +# $NetBSD: schemas.mk,v 1.1 2007/09/21 12:58:13 wiz Exp $ +# +# This Makefile fragment is intended to be included by packages that install +# GConf schema files. It takes care of registering them in the GConf +# global configuration database. +# +# The following variables are automatically defined for free use in packages: +# GCONFTOOL2 - The gconftool-2 binary program. +# GCONF_CONFIG_SOURCE - URI of the global configuration database. +# GCONF_SCHEMAS_DIR - Directory where .schemas files are installed. +# +# The following variables can be defined by a package to register .entries +# and .schemas files: +# GCONF_ENTRIES - A list of .entries files to register. When using this +# variable, packages need to be fixed to not register +# them and to install those files to GCONF_SCHEMAS_DIR. +# GCONF_SCHEMAS - A list of .schemas files to register. When using this +# variable, packages need to be fixed to not register +# them and to install those files to GCONF_SCHEMAS_DIR. +# + +.if !defined(GCONF_SCHEMAS_MK) +GCONF_SCHEMAS_MK= # defined + +# The gconftool-2 binary program. +GCONFTOOL2= ${BUILDLINK_PREFIX.GConf}/bin/gconftool-2 + +# Default configuration source (database). +.if defined(PKG_SYSCONFDIR.GConf) +GCONF_CONFIG_SOURCE= xml::${PKG_SYSCONFDIR.GConf}/gconf/gconf.xml.defaults +.else +GCONF_CONFIG_SOURCE= xml::${PKG_SYSCONFBASE}/gconf/gconf.xml.defaults +.endif + +# Where .schemas files go. +GCONF_SCHEMAS_DIR= ${BUILDLINK_PREFIX.GConf}/share/gconf/schemas + +.if defined(GNU_CONFIGURE) && !empty(GNU_CONFIGURE:M[Yy][Ee][Ss]) +CONFIGURE_ARGS+= --disable-schemas-install +CONFIGURE_ARGS+= --with-gconf-schema-file-dir=${GCONF_SCHEMAS_DIR:Q} +.endif + +.if (defined(GCONF_SCHEMAS) && !empty(GCONF_SCHEMAS)) || \ + (defined(GCONF_ENTRIES) && !empty(GCONF_ENTRIES)) +FILES_SUBST+= GCONFTOOL2=${GCONFTOOL2:Q} +FILES_SUBST+= GCONF_CONFIG_SOURCE=${GCONF_CONFIG_SOURCE:Q} +FILES_SUBST+= GCONF_ENTRIES=${GCONF_ENTRIES:Q} +FILES_SUBST+= GCONF_SCHEMAS=${GCONF_SCHEMAS:Q} +FILES_SUBST+= GCONF_SCHEMAS_DIR=${GCONF_SCHEMAS_DIR:Q} +INSTALL_TEMPLATES+= ${.CURDIR}/../../devel/GConf/files/install.tmpl +DEINSTALL_TEMPLATES+= ${.CURDIR}/../../devel/GConf/files/deinstall.tmpl +.endif + +PRINT_PLIST_AWK+= /^@dirrm share\/gconf$$/ { next; } +PRINT_PLIST_AWK+= /^@dirrm share\/gconf\/schemas$$/ \ + { print "@comment in GConf: " $$0; next; } + +.include "../../mk/bsd.prefs.mk" +.include "../../devel/GConf/buildlink3.mk" + +.endif # GCONF_SCHEMAS_MK |