1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

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
This commit is contained in:
Joe Marcus Clarke 2002-08-14 15:52:38 +00:00
parent 6f0c81edf0
commit 455b2dd501
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64503
2 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= scrollkeeper PORTNAME= scrollkeeper
PORTVERSION= 0.3.11 PORTVERSION= 0.3.11
PORTREVISION= 1
PORTEPOCH= 1 PORTEPOCH= 1
CATEGORIES= textproc gnome CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITES= ${MASTER_SITE_GNOME}

View File

@ -105,6 +105,8 @@ share/locale/zh_TW/LC_MESSAGES/scrollkeeper.mo
@dirrm share/gnome/scrollkeeper @dirrm share/gnome/scrollkeeper
@dirrm share/gnome/omf/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 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 -f /var/log/scrollkeeper.log 2>/dev/null || true
@unexec rm -rf /var/db/scrollkeeper 2>/dev/null || true @unexec rm -rf /var/db/scrollkeeper 2>/dev/null || true
@exec touch -f /var/log/scrollkeeper.log @exec touch -f /var/log/scrollkeeper.log