docbook: unbreak and revbump to update metadata objs.

This commit is contained in:
Juan RP 2014-12-18 21:03:09 +01:00
parent 2ff1009a16
commit fbd2b662a2
1 changed files with 3 additions and 4 deletions

View File

@ -1,10 +1,9 @@
# Template file for 'docbook'
pkgname=docbook
version=4.5
revision=2
revision=3
noarch="yes"
hostmakedepends="bsdtar"
makedepends="xmlcatmgr ISOEnts"
depends="xmlcatmgr ISOEnts"
sgml_entries="
CATALOG /usr/share/sgml/docbook/2.4.1/catalog --
@ -52,14 +51,14 @@ do_install() {
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}
bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/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}
bsdtar xf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/docbk${vernodot}.zip -C ${dir}
install -m644 ${FILESDIR}/catalog${vernodot} ${dir}/catalog
done
}