aboutsummaryrefslogtreecommitdiffstats
path: root/main/docbook-xml/docbook-xml.post-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-16 20:02:57 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-16 20:05:16 +0000
commit9307bb0cab3cccae8cd332a265ed065247553bc5 (patch)
treed3e0601ac0de28b22e677f2a7049c3c6be54fc5d /main/docbook-xml/docbook-xml.post-install
parentaa530ea865f5f6a0ca4d816422abea0230af07a0 (diff)
downloadaports-9307bb0cab3cccae8cd332a265ed065247553bc5.tar.gz
aports-9307bb0cab3cccae8cd332a265ed065247553bc5.tar.bz2
aports-9307bb0cab3cccae8cd332a265ed065247553bc5.tar.xz
main/docbook-xml: new aport
A widely used XML scheme for writing documentation and help http://scrollkeeper.sourceforge.net/docbook.shtml
Diffstat (limited to 'main/docbook-xml/docbook-xml.post-install')
-rw-r--r--main/docbook-xml/docbook-xml.post-install23
1 files changed, 23 insertions, 0 deletions
diff --git a/main/docbook-xml/docbook-xml.post-install b/main/docbook-xml/docbook-xml.post-install
new file mode 100644
index 0000000000..fa5f2a997b
--- /dev/null
+++ b/main/docbook-xml/docbook-xml.post-install
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+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-xml" \
+ etc/xml/catalog
+xmlcatalog --noout --add "delegatePublic" \
+ "-//OASIS//DTD DocBook XML" \
+ "file:///etc/xml/docbook-xml" \
+ etc/xml/catalog
+xmlcatalog --noout --add "delegateSystem" \
+ "http://www.oasis-open.org/docbook/" \
+ "file:///etc/xml/docbook-xml" \
+ etc/xml/catalog
+xmlcatalog --noout --add "delegateURI" \
+ "http://www.oasis-open.org/docbook/" \
+ "file:///etc/xml/docbook-xml" \
+ etc/xml/catalog
+