aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/scrollkeeper
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-08-14 23:52:38 +0800
committermarcus <marcus@FreeBSD.org>2002-08-14 23:52:38 +0800
commit3975bad9a1d9838302299569f88875dae026735f (patch)
tree222bc52af1f1831b125d03f322cbc76f9cc8de61 /textproc/scrollkeeper
parent9ce62adbec6a8cef9060b13a10790cc6190e451f (diff)
downloadfreebsd-ports-graphics-3975bad9a1d9838302299569f88875dae026735f.tar.gz
freebsd-ports-graphics-3975bad9a1d9838302299569f88875dae026735f.tar.zst
freebsd-ports-graphics-3975bad9a1d9838302299569f88875dae026735f.zip
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
Diffstat (limited to 'textproc/scrollkeeper')
-rw-r--r--textproc/scrollkeeper/Makefile1
-rw-r--r--textproc/scrollkeeper/pkg-plist2
2 files changed, 3 insertions, 0 deletions
diff --git a/textproc/scrollkeeper/Makefile b/textproc/scrollkeeper/Makefile
index a683fdda4cf..94d72cb3906 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 0b2496384be..0249e65fbb8 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