aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gconf2
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-01-12 02:22:29 +0800
committersobomax <sobomax@FreeBSD.org>2002-01-12 02:22:29 +0800
commitf0b42642b0ddff5034cb8112cc3a806117829cb7 (patch)
tree0c2edc9eaa4e58a95374ac54bbb38f5587692d90 /devel/gconf2
parent2d705e3211bfa4a380ff7aa73e8f7412a070f77a (diff)
downloadfreebsd-ports-gnome-f0b42642b0ddff5034cb8112cc3a806117829cb7.tar.gz
freebsd-ports-gnome-f0b42642b0ddff5034cb8112cc3a806117829cb7.tar.zst
freebsd-ports-gnome-f0b42642b0ddff5034cb8112cc3a806117829cb7.zip
Ensure clean removal of ${PREFIX}/etc/gconf.
Diffstat (limited to 'devel/gconf2')
-rw-r--r--devel/gconf2/Makefile4
-rw-r--r--devel/gconf2/pkg-plist9
2 files changed, 13 insertions, 0 deletions
diff --git a/devel/gconf2/Makefile b/devel/gconf2/Makefile
index d337709fb8b3..dd6b18354625 100644
--- a/devel/gconf2/Makefile
+++ b/devel/gconf2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gconf
PORTVERSION= 1.0.7
+PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/GConf
@@ -37,5 +38,8 @@ post-install:
@if [ ! -f ${PREFIX}/etc/gconf/1/path ]; then \
${CP} -p ${PREFIX}/etc/gconf/1/path.example ${PREFIX}/etc/gconf/1/path ; \
fi
+ @${MKDIR} ${PREFIX}/etc/gconf/gconf.xml.defaults/apps
+ @${MKDIR} ${PREFIX}/etc/gconf/gconf.xml.defaults/schemas/apps
+
.include <bsd.port.mk>
diff --git a/devel/gconf2/pkg-plist b/devel/gconf2/pkg-plist
index 8c9bb4683a71..5fec5cb6c1d3 100644
--- a/devel/gconf2/pkg-plist
+++ b/devel/gconf2/pkg-plist
@@ -55,6 +55,12 @@ share/locale/sv/LC_MESSAGES/GConf.mo
share/locale/tr/LC_MESSAGES/GConf.mo
share/locale/uk/LC_MESSAGES/GConf.mo
share/locale/zh_CN.GB2312/LC_MESSAGES/GConf.mo
+@exec mkdir -p %D/etc/gconf/gconf.xml.defaults/apps
+@exec mkdir -p %D/etc/gconf/gconf.xml.defaults/schemas/apps
+@unexec rm -f %D/etc/gconf/gconf.xml.defaults/%gconf.xml 2>/dev/null || true
+@unexec rm -f %D/etc/gconf/gconf.xml.defaults/apps/%gconf.xml 2>/dev/null || true
+@unexec rm -f %D/etc/gconf/gconf.xml.defaults/schemas/%gconf.xml 2>/dev/null || true
+@unexec rm -f %D/etc/gconf/gconf.xml.defaults/schemas/apps/%gconf.xml 2>/dev/null || true
@dirrm share/gnome/gconf/1
@dirrm share/gnome/gconf
@dirrm lib/GConf/1
@@ -64,6 +70,9 @@ share/locale/zh_CN.GB2312/LC_MESSAGES/GConf.mo
@dirrm include/gconf
@dirrm etc/gconf/schemas
@dirrm etc/gconf/gconf.xml.mandatory
+@dirrm etc/gconf/gconf.xml.defaults/schemas/apps
+@dirrm etc/gconf/gconf.xml.defaults/schemas
+@dirrm etc/gconf/gconf.xml.defaults/apps
@dirrm etc/gconf/gconf.xml.defaults
@dirrm etc/gconf/1
@dirrm etc/gconf