mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
21 lines
652 B
Bash
21 lines
652 B
Bash
#!/bin/sh
|
|
|
|
PATH=${PATH}:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
|
|
export PATH
|
|
|
|
PREFIX=`xml2-config --prefix`
|
|
ROOTCATALOG=${PREFIX}/share/xml/catalog
|
|
CATALOG=${PREFIX}/share/xml/docbook/catalog
|
|
|
|
if [ "$2" = "POST-INSTALL" ]; then
|
|
SKPREFIX=`scrollkeeper-config --prefix`
|
|
echo "`date +"%b %d %X"` Installing ScrollKeeper `scrollkeeper-config --version`..." >> /var/log/scrollkeeper.log
|
|
|
|
xmlcatalog --noout --add "public" \
|
|
"-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN" \
|
|
"${SKPREFIX}/share/gnome/xml/scrollkeeper/dtds/scrollkeeper-omf.dtd" \
|
|
${ROOTCATALOG}
|
|
|
|
scrollkeeper-rebuilddb -q -p /var/db/scrollkeeper || /usr/bin/true
|
|
fi
|