summaryrefslogtreecommitdiff
path: root/repo/devel/docbook4-xml.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/devel/docbook4-xml.xibuild')
-rw-r--r--repo/devel/docbook4-xml.xibuild43
1 files changed, 22 insertions, 21 deletions
diff --git a/repo/devel/docbook4-xml.xibuild b/repo/devel/docbook4-xml.xibuild
index 34313f0..b29b7ef 100644
--- a/repo/devel/docbook4-xml.xibuild
+++ b/repo/devel/docbook4-xml.xibuild
@@ -14,73 +14,74 @@ package () {
cp -af docbook.cat *.dtd ent/ *.mod \
$PKG_DEST/usr/share/xml/docbook/xml-dtd-4.5
+ }
- if [ ! -e $PKG_DEST/etc/xml/docbook ]; then
- xmlcatalog --noout --create $PKG_DEST/etc/xml/docbook
+postinstall () {
+ if [ ! -e /etc/xml/docbook ]; then
+ xmlcatalog --noout --create /etc/xml/docbook
fi &&
xmlcatalog --noout --add "public" \
"-//OASIS//DTD DocBook XML V4.5//EN" \
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \
- $PKG_DEST/etc/xml/docbook &&
+ /etc/xml/docbook &&
xmlcatalog --noout --add "public" \
"-//OASIS//DTD DocBook XML CALS Table Model V4.5//EN" \
"file:///usr/share/xml/docbook/xml-dtd-4.5/calstblx.dtd" \
- $PKG_DEST/etc/xml/docbook &&
+ /etc/xml/docbook &&
xmlcatalog --noout --add "public" \
"-//OASIS//DTD XML Exchange Table Model 19990315//EN" \
"file:///usr/share/xml/docbook/xml-dtd-4.5/soextblx.dtd" \
- $PKG_DEST/etc/xml/docbook &&
+ /etc/xml/docbook &&
xmlcatalog --noout --add "public" \
"-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" \
"file:///usr/share/xml/docbook/xml-dtd-4.5/dbpoolx.mod" \
- $PKG_DEST/etc/xml/docbook &&
+ /etc/xml/docbook &&
xmlcatalog --noout --add "public" \
"-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.5//EN" \
"file:///usr/share/xml/docbook/xml-dtd-4.5/dbhierx.mod" \
- $PKG_DEST/etc/xml/docbook &&
+ /etc/xml/docbook &&
xmlcatalog --noout --add "public" \
"-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" \
"file:///usr/share/xml/docbook/xml-dtd-4.5/htmltblx.mod" \
- $PKG_DEST/etc/xml/docbook &&
+ /etc/xml/docbook &&
xmlcatalog --noout --add "public" \
"-//OASIS//ENTITIES DocBook XML Notations V4.5//EN" \
"file:///usr/share/xml/docbook/xml-dtd-4.5/dbnotnx.mod" \
- $PKG_DEST/etc/xml/docbook &&
+ /etc/xml/docbook &&
xmlcatalog --noout --add "public" \
"-//OASIS//ENTITIES DocBook XML Character Entities V4.5//EN" \
"file:///usr/share/xml/docbook/xml-dtd-4.5/dbcentx.mod" \
- $PKG_DEST/etc/xml/docbook &&
+ /etc/xml/docbook &&
xmlcatalog --noout --add "public" \
"-//OASIS//ENTITIES DocBook XML Additional General Entities V4.5//EN" \
"file:///usr/share/xml/docbook/xml-dtd-4.5/dbgenent.mod" \
- $PKG_DEST/etc/xml/docbook &&
+ /etc/xml/docbook &&
xmlcatalog --noout --add "rewriteSystem" \
"http://www.oasis-open.org/docbook/xml/4.5" \
"file:///usr/share/xml/docbook/xml-dtd-4.5" \
- $PKG_DEST/etc/xml/docbook &&
+ /etc/xml/docbook &&
xmlcatalog --noout --add "rewriteURI" \
"http://www.oasis-open.org/docbook/xml/4.5" \
"file:///usr/share/xml/docbook/xml-dtd-4.5" \
- $PKG_DEST/etc/xml/docbook
-
- if [ ! -e $PKG_DEST/etc/xml/catalog ]; then
- xmlcatalog --noout --create $PKG_DEST/etc/xml/catalog
+ /etc/xml/docbook
+ if [ ! -e /etc/xml/catalog ]; then
+ xmlcatalog --noout --create /etc/xml/catalog
fi &&
xmlcatalog --noout --add "delegatePublic" \
"-//OASIS//ENTITIES DocBook XML" \
"file:///etc/xml/docbook" \
- $PKG_DEST/etc/xml/catalog &&
+ /etc/xml/catalog &&
xmlcatalog --noout --add "delegatePublic" \
"-//OASIS//DTD DocBook XML" \
"file:///etc/xml/docbook" \
- $PKG_DEST/etc/xml/catalog &&
+ /etc/xml/catalog &&
xmlcatalog --noout --add "delegateSystem" \
"http://www.oasis-open.org/docbook/" \
"file:///etc/xml/docbook" \
- $PKG_DEST/etc/xml/catalog &&
+ /etc/xml/catalog &&
xmlcatalog --noout --add "delegateURI" \
"http://www.oasis-open.org/docbook/" \
"file:///etc/xml/docbook" \
- $PKG_DEST/etc/xml/catalog
-
+ /etc/xml/catalog
}
+