Trying to install port textproc/sdocbook-xml I get this error:
install -c -o root -g wheel -m 444 /usr/ports/textproc/sdocbook-xml/work/catalog.xml /usr/local/share/xml/sdocbook
/usr/local/bin/xmlcatmgr -sc /usr/local/share/sgml/catalog.ports add CATALOG /usr/local/share/xml/sdocbook/catalog
xmlcatmgr: entry already exists for `/usr/local/share/xml/sdocbook/catalog' of type `CATALOG'
*** Error code 1
Fix: I was having similar problems with docbook-xml and docbook-xsl.
It was recommended that I remove all xml and xsl ports, then
remove /usr/local/share/xml and xsl and reinstall everything
but the problem was still there.
The docbook-xml maintainer created a patch like this which
seems to also work for sdocbook-xml ...
Content-Type: text/plain; name="file.diff"
Content-Disposition: attachment; filename="file.diff"
--- Makefile.orig Thu Feb 12 22:07:15 2004
+++ Makefile Thu Feb 12 22:10:51 2004
@@ -25,7 +25,7 @@
How-To-Repeat: cd /usr/ports/textproc/sdocbook-xml
Over to maintainer.