aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gconf
diff options
context:
space:
mode:
authorade <ade@FreeBSD.org>2000-10-21 00:26:38 +0800
committerade <ade@FreeBSD.org>2000-10-21 00:26:38 +0800
commit2c836e58eb7ed54c03969c95c1dfcbf3f5765202 (patch)
tree1e7ce78cda30af6d780747fbbaae7d3018166f1e /devel/gconf
parentded9f0541a791ab5fc06838491dc22aeb4f4f79e (diff)
downloadfreebsd-ports-gnome-2c836e58eb7ed54c03969c95c1dfcbf3f5765202.tar.gz
freebsd-ports-gnome-2c836e58eb7ed54c03969c95c1dfcbf3f5765202.tar.zst
freebsd-ports-gnome-2c836e58eb7ed54c03969c95c1dfcbf3f5765202.zip
Install a sane default configuration file
Diffstat (limited to 'devel/gconf')
-rw-r--r--devel/gconf/Makefile6
-rw-r--r--devel/gconf/pkg-plist2
2 files changed, 8 insertions, 0 deletions
diff --git a/devel/gconf/Makefile b/devel/gconf/Makefile
index dec62aa71d9a..90ad4bab36cd 100644
--- a/devel/gconf/Makefile
+++ b/devel/gconf/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gconf
PORTVERSION= 0.10
+PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= unstable/sources/GConf
@@ -34,4 +35,9 @@ pre-patch:
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+post-install:
+ @if [ ! -f ${PREFIX}/etc/gconf/1/path ]; then \
+ ${CP} -p ${PREFIX}/etc/gconf/1/path.example ${PREFIX}/etc/gconf/1/path ; \
+ fi
+
.include <bsd.port.mk>
diff --git a/devel/gconf/pkg-plist b/devel/gconf/pkg-plist
index d0c1d34dcb54..c16fbd4375af 100644
--- a/devel/gconf/pkg-plist
+++ b/devel/gconf/pkg-plist
@@ -3,7 +3,9 @@ bin/gconf-config-1
bin/gconfd-1
bin/gconftool
bin/gconftool-1
+@unexec if cmp -s %D/etc/gconf/1/path.example %D/etc/gconf/1/path; then rm -f %D/etc/gconf/1/path; fi
etc/gconf/1/path.example
+@exec if [ ! -f %D/etc/gconf/1/path ] ; then cp -p %D/%F %B/path; fi
etc/gconf/schemas/desktop.schemas
include/gconf/1/gconf/gconf-changeset.h
include/gconf/1/gconf/gconf-client.h