2011-06-17 07:02:47 +00:00
|
|
|
# Template file for 'docbook'
|
|
|
|
pkgname=docbook
|
|
|
|
version=4.5
|
|
|
|
distfiles="
|
|
|
|
http://www.docbook.org/sgml/$version/$pkgname-$version.zip
|
|
|
|
http://www.docbook.org/sgml/4.4/$pkgname-4.4.zip
|
|
|
|
http://www.docbook.org/sgml/4.3/$pkgname-4.3.zip
|
|
|
|
http://www.docbook.org/sgml/4.2/$pkgname-4.2.zip
|
|
|
|
http://www.oasis-open.org/docbook/sgml/4.1/docbk41.zip
|
|
|
|
http://www.oasis-open.org/docbook/sgml/4.0/docbk40.zip
|
|
|
|
http://www.oasis-open.org/docbook/sgml/3.1/docbk31.zip
|
|
|
|
http://www.oasis-open.org/docbook/sgml/3.0/docbk30.zip
|
|
|
|
http://www.oasis-open.org/docbook/sgml/2.4.1/docbk241.zip"
|
|
|
|
short_desc="SGML DTD designed for computer documentation"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
checksum="
|
|
|
|
8043e514e80c6c19cb146b5d37937d1305bf3abf9b0097c36df7f70f611cdf43
|
|
|
|
0ac7960409b032c8e517483523ecb92af4e59196a33b3e2c5617daa22b7a8a6c
|
|
|
|
88f52fab7bd49b2e8f40c525014129c26a5a4b8bbd1494e00387556ec76f95ee
|
|
|
|
67ebd2c94b342718c6865d2de60f5d4ff02d77a7e4b0d9e72a48c45f2b2635c3
|
|
|
|
deaafcf0a3677692e7ad4412c0e41c1db3e9da6cdcdb3dd32b2cc1f9c97d6311
|
|
|
|
dfef22f109779e4cfaafa27b6d381d975ac05eaafb5b3d4407d7043e310817bb
|
|
|
|
20261d2771b9a052abfa3d8fab1aa62be05791a010281c566f9073bf0e644538
|
|
|
|
ecf71cbe8ddbad7494ff520d5b4edf73a428c0b159178cb0cb619cba685e61c6
|
|
|
|
dbac0694e9bcaec43cab80c755ffb02cf8f613bf785ff8506e5ed72efa76a272"
|
|
|
|
long_desc="
|
|
|
|
DocBook provides a system for writing structured documents using
|
|
|
|
SGML or XML. It is particularly well-suited to books and papers
|
|
|
|
about computer hardware and software, though it is by no means
|
|
|
|
limited to them.
|
|
|
|
|
|
|
|
In short, DocBook is an easy-to-understand and widely used DTD.
|
|
|
|
Dozens of organizations use DocBook for millions of pages of
|
|
|
|
documentation, in various print and online formats, worldwide."
|
|
|
|
|
|
|
|
noarch=yes
|
|
|
|
noextract=yes
|
|
|
|
|
|
|
|
Add_dependency full xmlcatmgr
|
|
|
|
Add_dependency full ISOEnts
|
|
|
|
Add_dependency build bsdtar
|
|
|
|
|
|
|
|
export sgml_entries="
|
|
|
|
CATALOG /usr/share/sgml/docbook/2.4.1/catalog --
|
|
|
|
CATALOG /usr/share/sgml/docbook/3.0/catalog --
|
|
|
|
CATALOG /usr/share/sgml/docbook/3.1/catalog --
|
|
|
|
CATALOG /usr/share/sgml/docbook/4.0/catalog --
|
|
|
|
CATALOG /usr/share/sgml/docbook/4.1/catalog --
|
|
|
|
CATALOG /usr/share/sgml/docbook/4.2/catalog --
|
|
|
|
CATALOG /usr/share/sgml/docbook/4.3/catalog --
|
|
|
|
CATALOG /usr/share/sgml/docbook/4.4/catalog --
|
|
|
|
CATALOG /usr/share/sgml/docbook/4.5/catalog --"
|
|
|
|
|
2012-02-27 17:43:54 +00:00
|
|
|
do_install() {
|
2011-06-17 07:02:47 +00:00
|
|
|
local ver dir
|
|
|
|
|
|
|
|
for ver in 4.2 4.3 4.4 4.5; do
|
|
|
|
vernodot=$(echo $ver|sed -e "s|\.||g")
|
|
|
|
dir=${DESTDIR}/usr/share/sgml/docbook/${ver}
|
|
|
|
install -d -m755 ${dir}
|
|
|
|
bsdtar xf ${XBPS_SRCDISTDIR}/docbook-${ver}.zip -C ${dir}
|
|
|
|
install -m644 ${FILESDIR}/catalog${vernodot} ${dir}/catalog
|
|
|
|
done
|
|
|
|
for ver in 2.4.1 3.0 3.1 4.0 4.1; do
|
|
|
|
vernodot=$(echo $ver|sed -e "s|\.||g")
|
|
|
|
dir=${DESTDIR}/usr/share/sgml/docbook/${ver}
|
|
|
|
install -d -m755 ${dir}
|
|
|
|
bsdtar xf ${XBPS_SRCDISTDIR}/docbk${vernodot}.zip -C ${dir}
|
|
|
|
install -m644 ${FILESDIR}/catalog${vernodot} ${dir}/catalog
|
|
|
|
done
|
|
|
|
}
|