mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
Ensure clean removal of ${PREFIX}/etc/gconf.
This commit is contained in:
parent
76da11d6f7
commit
5bb6fcc6e1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52928
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user