#!/bin/sh
# This script will remove the docbook-xsl entries added to xml catalog.
# -- Rui Lopes <rui@ruilopes.com>

XMLCATMGR=/usr/local/bin/xmlcatmgr
CATALOG_PORTS_XML=/usr/local/share/xml/catalog.ports

if [ "$2" != "POST-DEINSTALL" ]; then
	exit 0
fi

${XMLCATMGR} -c "${CATALOG_PORTS_XML}" remove \
	http://docbook.sourceforge.net/release/xsl/ 
exit 0
