From d1ad00b1037f2ce59c201769e3f173b6e097de1a Mon Sep 17 00:00:00 2001 From: abs Date: Thu, 11 Oct 2001 12:19:35 +0000 Subject: Update GConf to 1.0.4nb1. Automatically install etc/gconf/1/path from etc/gconf/1/path.example if needed (both in Makefile and PLIST), remove obsoleted MESSAGE, and fix a path to work with xpkgwedge. --- devel/GConf/Makefile | 7 +++++-- devel/GConf/pkg/MESSAGE | 10 ---------- devel/GConf/pkg/PLIST | 7 ++++--- 3 files changed, 9 insertions(+), 15 deletions(-) delete mode 100644 devel/GConf/pkg/MESSAGE (limited to 'devel') diff --git a/devel/GConf/Makefile b/devel/GConf/Makefile index 652b5b0e72e..5877c3259db 100644 --- a/devel/GConf/Makefile +++ b/devel/GConf/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.18 2001/10/01 11:57:10 rh Exp $ +# $NetBSD: Makefile,v 1.19 2001/10/11 12:19:35 abs Exp $ # -DISTNAME= GConf-1.0.4 +DISTNAME= GConf-1.0.4nb1 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/GConf/} EXTRACT_SUFX= .tar.bz2 @@ -25,6 +25,9 @@ post-install: ${TEST} ${PREFIX} = ${LOCALBASE} || \ ${LN} -fs ${PREFIX}/share/aclocal/gconf-1.m4 \ ${LOCALBASE}/share/aclocal/gconf-1.m4 + ${TEST} -f ${PREFIX}/etc/gconf/1/path || \ + ${CP} -p ${PREFIX}/etc/gconf/1/path.example \ + ${PREFIX}/etc/gconf/1/path .include "../../devel/gettext-lib/buildlink.mk" .include "../../databases/db3/buildlink.mk" diff --git a/devel/GConf/pkg/MESSAGE b/devel/GConf/pkg/MESSAGE deleted file mode 100644 index 834c3a601f4..00000000000 --- a/devel/GConf/pkg/MESSAGE +++ /dev/null @@ -1,10 +0,0 @@ -========================================================================== -$NetBSD: MESSAGE,v 1.3 2001/02/06 14:24:05 wiz Exp $ - - GConf has now been installed on your system. - - If this is your first install of GConf, you may need to move - ${X11PREFIX}/etc/gconf/1/path.example to ${X11PREFIX}/etc/gconf/1/path - so that the default configuration is sane. - -========================================================================== diff --git a/devel/GConf/pkg/PLIST b/devel/GConf/pkg/PLIST index a82e66e8035..794e76d208e 100644 --- a/devel/GConf/pkg/PLIST +++ b/devel/GConf/pkg/PLIST @@ -1,10 +1,11 @@ -@comment $NetBSD: PLIST,v 1.11 2001/08/26 16:55:46 rh Exp $ +@comment $NetBSD: PLIST,v 1.12 2001/10/11 12:19:35 abs Exp $ bin/gconf-config bin/gconf-config-1 bin/gconfd-1 bin/gconftool bin/gconftool-1 etc/gconf/1/path.example +@exec test -f %D/etc/gconf/1/path || cp -p %D/%F %D/etc/gconf/1/path etc/gconf/schemas/desktop.schemas include/gconf/1/gconf/gconf-changeset.h include/gconf/1/gconf/gconf-client.h @@ -66,9 +67,9 @@ share/oaf/gconfd-1.oafinfo @dirrm include/gconf/1 @dirrm include/gconf @dirrm etc/gconf/schemas -@exec /bin/mkdir -p /usr/X11R6/etc/gconf/gconf.xml.mandatory +@exec /bin/mkdir -p %D/etc/gconf/gconf.xml.mandatory @dirrm etc/gconf/gconf.xml.mandatory -@exec /bin/mkdir -p /usr/X11R6/etc/gconf/gconf.xml.defaults +@exec /bin/mkdir -p %D/etc/gconf/gconf.xml.defaults @dirrm etc/gconf/gconf.xml.defaults @dirrm etc/gconf/1 @dirrm etc/gconf -- cgit v1.2.3