1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

Don't try to remove dirs shared with GNOME1 unless they are empty.

This commit is contained in:
Maxim Sobolev 2002-03-19 20:07:49 +00:00
parent a9f654802f
commit a098a50a32
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56355
2 changed files with 21 additions and 5 deletions

View File

@ -40,4 +40,9 @@ pre-patch:
s|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
post-install:
@${MKDIR} ${PREFIX}/etc/gconf/gconf.xml.defaults/apps
@${MKDIR} ${PREFIX}/etc/gconf/gconf.xml.defaults/schemas/apps
@${MKDIR} ${PREFIX}/etc/gconf/schemas
.include <bsd.port.mk>

View File

@ -79,11 +79,22 @@ share/locale/uk/LC_MESSAGES/GConf2.mo
share/locale/zh_CN/LC_MESSAGES/GConf2.mo
@dirrm share/doc/gconf
@dirrm lib/GConf/2
@unexec /bin/rmdir %D/lib/GConf 2>/dev/null || /usr/bin/true
@dirrm include/gconf/2/gconf
@dirrm include/gconf/2
@unexec /bin/rmdir %D/include/gconf 2>/dev/null || /usr/bin/true
@dirrm etc/gconf/2
@unexec /bin/rmdir %D/etc/gconf/gconf.xml.mandatory 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/etc/gconf/gconf.xml.defaults 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/etc/gconf 2>/dev/null || /usr/bin/true
@exec /bin/mkdir -p %D/etc/gconf/gconf.xml.defaults/apps
@exec /bin/mkdir -p %D/etc/gconf/gconf.xml.defaults/schemas/apps
@exec /bin/mkdir -p %D/etc/gconf/schemas
@unexec /bin/rmdir %D/lib/GConf 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/include/gconf 2>/dev/null || /usr/bin/true
@unexec /bin/rm -f %D/etc/gconf/gconf.xml.defaults/%%gconf.xml 2>/dev/null || true
@unexec /bin/rm -f %D/etc/gconf/gconf.xml.defaults/apps/%%gconf.xml 2>/dev/null || true
@unexec /bin/rm -f %D/etc/gconf/gconf.xml.defaults/schemas/%%gconf.xml 2>/dev/null || true
@unexec /bin/rm -f %D/etc/gconf/gconf.xml.defaults/schemas/apps/%%gconf.xml 2>/dev/null || true
@unexec /bin/rmdir %D/etc/gconf/schemas 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/etc/gconf/gconf.xml.mandatory 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/etc/gconf/gconf.xml.defaults/schemas/apps 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/etc/gconf/gconf.xml.defaults/schemas 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/etc/gconf/gconf.xml.defaults/apps 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/etc/gconf/gconf.xml.defaults 2>/dev/null || /usr/bin/true
@unexec /bin/rmdir %D/etc/gconf 2>/dev/null || /usr/bin/true