diff options
author | Ade Lovett <ade@FreeBSD.org> | 2000-10-20 16:26:38 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2000-10-20 16:26:38 +0000 |
commit | 605f02ccdafb26b319e5af17f3fd0e9e3c11143c (patch) | |
tree | 1b6215709e8257773c760b8f77b4da73763da809 /devel/gconf | |
parent | Update to 0.7 (diff) |
Install a sane default configuration file
Diffstat (limited to 'devel/gconf')
-rw-r--r-- | devel/gconf/Makefile | 6 | ||||
-rw-r--r-- | devel/gconf/pkg-plist | 2 |
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 |