2009-03-21 05:58:30 +00:00
|
|
|
# Template file for 'docbook-xml'
|
|
|
|
pkgname=docbook-xml
|
|
|
|
version=4.5
|
2014-06-04 13:43:44 +00:00
|
|
|
revision=3
|
2014-01-01 15:10:11 +00:00
|
|
|
noarch="yes"
|
2009-03-21 05:58:30 +00:00
|
|
|
wrksrc="docbook"
|
2014-02-18 15:53:34 +00:00
|
|
|
hostmakedepends="bsdtar"
|
|
|
|
makedepends="xmlcatmgr"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="xmlcatmgr"
|
|
|
|
xml_entries="
|
|
|
|
rewriteSystem http://www.oasis-open.org/docbook/xml/4.2 /usr/share/xml/docbook/4.2
|
|
|
|
rewriteSystem http://www.oasis-open.org/docbook/xml/4.3 /usr/share/xml/docbook/4.3
|
|
|
|
rewriteSystem http://www.oasis-open.org/docbook/xml/4.4 /usr/share/xml/docbook/4.4
|
|
|
|
rewriteSystem http://www.oasis-open.org/docbook/xml/4.5 /usr/share/xml/docbook/4.5
|
|
|
|
rewriteSystem http://www.oasis-open.org/docbook/xml/4.1.2 /usr/share/xml/docbook/4.2
|
|
|
|
nextCatalog /usr/share/xml/docbook/4.2/catalog --
|
|
|
|
nextCatalog /usr/share/xml/docbook/4.3/catalog --
|
|
|
|
nextCatalog /usr/share/xml/docbook/4.4/catalog --
|
|
|
|
nextCatalog /usr/share/xml/docbook/4.5/catalog --
|
|
|
|
nextCatalog /usr/share/xml/docbook/4.2/catalog-4.1.2 --"
|
2013-03-26 08:04:18 +00:00
|
|
|
homepage="http://www.oasis-open.org/docbook/"
|
|
|
|
license="MIT"
|
2009-03-21 05:58:30 +00:00
|
|
|
short_desc="XML DTD designed for computer documentation"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-01-01 15:10:11 +00:00
|
|
|
distfiles="
|
|
|
|
http://www.oasis-open.org/docbook/xml/$version/$pkgname-$version.zip
|
|
|
|
http://www.oasis-open.org/docbook/xml/4.4/$pkgname-4.4.zip
|
|
|
|
http://www.oasis-open.org/docbook/xml/4.3/$pkgname-4.3.zip
|
|
|
|
http://www.oasis-open.org/docbook/xml/4.2/$pkgname-4.2.zip"
|
2009-03-21 05:58:30 +00:00
|
|
|
checksum="
|
2013-03-26 08:04:18 +00:00
|
|
|
4e4e037a2b83c98c6c94818390d4bdd3f6e10f6ec62dd79188594e26190dc7b4
|
|
|
|
02f159eb88c4254d95e831c51c144b1863b216d909b5ff45743a1ce6f5273090
|
|
|
|
23068a94ea6fd484b004c5a73ec36a66aa47ea8f0d6b62cc1695931f5c143464
|
|
|
|
acc4601e4f97a196076b7e64b368d9248b07c7abf26b34a02cca40eeebe60fa2"
|
2009-03-21 05:58:30 +00:00
|
|
|
|
2013-10-21 23:38:52 +00:00
|
|
|
do_extract() {
|
|
|
|
:
|
|
|
|
}
|
2009-03-21 05:58:30 +00:00
|
|
|
|
2012-02-27 17:43:54 +00:00
|
|
|
do_install() {
|
2009-03-21 05:58:30 +00:00
|
|
|
local versions="4.2 4.3 4.4 4.5"
|
|
|
|
local ver dir
|
|
|
|
|
|
|
|
cd $wrksrc
|
|
|
|
for ver in ${versions}; do
|
|
|
|
dir=${DESTDIR}/usr/share/xml/docbook/${ver}
|
|
|
|
install -d -m755 ${dir}
|
2014-03-06 03:14:49 +00:00
|
|
|
bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/${pkgname}-${ver}.zip \
|
2011-06-16 10:22:32 +00:00
|
|
|
-C ${dir} && mv ${dir}/catalog.xml ${dir}/catalog
|
2009-03-21 05:58:30 +00:00
|
|
|
done
|
|
|
|
dir=${DESTDIR}/usr/share/xml/docbook/4.2
|
|
|
|
sed -e 's|V4.2|V4.1.2|g' < ${dir}/catalog > ${dir}/catalog-4.1.2
|
|
|
|
chmod 644 ${dir}/catalog-4.1.2
|
|
|
|
}
|