diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-08-14 15:52:38 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2002-08-14 15:52:38 +0000 |
commit | 455b2dd5013268da671af3adec7b96a5fa92b31d (patch) | |
tree | ca6a34c15db6d441dd0e8f20004bd9c6ab4ddbbe /textproc | |
parent | Add patches to solve problems with PHP and more. (diff) |
We backup the original SGML catalog files before converting them to XML.
When we uninstall scrollkeeper, revert back to the original catalog files
so the dependecny chain has a better chance of being preserved. Bump
PORTREVISION.
PR: 41300
Notes
Notes:
svn path=/head/; revision=64503
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/scrollkeeper/Makefile | 1 | ||||
-rw-r--r-- | textproc/scrollkeeper/pkg-plist | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/textproc/scrollkeeper/Makefile b/textproc/scrollkeeper/Makefile index a683fdda4cfd..94d72cb39060 100644 --- a/textproc/scrollkeeper/Makefile +++ b/textproc/scrollkeeper/Makefile @@ -7,6 +7,7 @@ PORTNAME= scrollkeeper PORTVERSION= 0.3.11 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= textproc gnome MASTER_SITES= ${MASTER_SITE_GNOME} diff --git a/textproc/scrollkeeper/pkg-plist b/textproc/scrollkeeper/pkg-plist index 0b2496384bee..0249e65fbb8a 100644 --- a/textproc/scrollkeeper/pkg-plist +++ b/textproc/scrollkeeper/pkg-plist @@ -105,6 +105,8 @@ share/locale/zh_TW/LC_MESSAGES/scrollkeeper.mo @dirrm share/gnome/scrollkeeper @dirrm share/gnome/omf/scrollkeeper @unexec xmlcatalog --noout --del "%D/share/gnome/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd" %%LOCALBASE%%/share/xml/catalog 2>/dev/null || true +@unexec cp -f %%LOCALBASE%%/share/xml/catalog.bak %%LOCALBASE%%/share/xml/catalog 2>/dev/null || true +@unexec cp -f %%LOCALBASE%%/share/xml/docbook/catalog.bak %%LOCALBASE%%/share/xml/docbook/catalog 2>/dev/null || true @unexec rm -f /var/log/scrollkeeper.log 2>/dev/null || true @unexec rm -rf /var/db/scrollkeeper 2>/dev/null || true @exec touch -f /var/log/scrollkeeper.log |