2009-03-22 01:29:28 +00:00
|
|
|
# Template file for 'docbook-xml'
|
|
|
|
pkgname=docbook-xsl
|
2009-11-07 10:27:36 +00:00
|
|
|
version=1.75.2
|
2010-05-12 01:59:13 +00:00
|
|
|
revision=1
|
2009-03-22 01:29:28 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/docbook/$pkgname-$version.tar.bz2"
|
|
|
|
short_desc="Docbook XSL modular stylesheet"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2009-11-07 10:27:36 +00:00
|
|
|
checksum=0dcc3aebd2ada8719e47b77c62ab986c4f2747f9a7cab6f629b6472e6d058e09
|
2009-03-22 01:29:28 +00:00
|
|
|
long_desc="
|
|
|
|
The DocBook XSL stylesheets provide a serie of ready-to-use templates to
|
|
|
|
process documents based on the DocBook XML DTD. They can generate different
|
|
|
|
types of output files, like XHTML, slides, manpages, JavaDoc...
|
|
|
|
|
|
|
|
They are written in a modular fashion. Each of the HTML and FO stylesheets
|
|
|
|
starts with a driver file that assembles a collection of component files
|
|
|
|
into a complete stylesheet. This modular design puts similar things together
|
|
|
|
into smaller files that are easier to write and maintain than one big
|
|
|
|
stylesheet."
|
|
|
|
|
|
|
|
noarch=yes
|
|
|
|
|
|
|
|
Add_dependency full xmlcatmgr
|
2009-11-07 10:27:36 +00:00
|
|
|
Add_dependency full docbook-xml ">=4.2"
|
2009-03-22 01:29:28 +00:00
|
|
|
|
2010-05-12 01:59:13 +00:00
|
|
|
export xml_entries="nextCatalog /usr/share/xsl/docbook/catalog.xml --"
|
2009-03-22 01:29:28 +00:00
|
|
|
|
|
|
|
do_install()
|
|
|
|
{
|
|
|
|
local xslmods="common eclipse epub fo highlighting html htmlhelp \
|
|
|
|
images javahelp lib manpages params profiling \
|
|
|
|
roundtrip slides website xhtml xhtml-1_1"
|
|
|
|
|
|
|
|
cd $wrksrc
|
|
|
|
install -D -m644 catalog.xml \
|
|
|
|
${DESTDIR}/usr/share/xsl/docbook/catalog.xml
|
|
|
|
install -m644 VERSION ${DESTDIR}/usr/share/xsl/docbook
|
|
|
|
for dir in ${xslmods}; do
|
|
|
|
install -d ${DESTDIR}/usr/share/xsl/docbook/${dir}
|
|
|
|
cp -a ${dir}/* ${DESTDIR}/usr/share/xsl/docbook/${dir}/
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
2011-06-16 10:22:55 +00:00
|
|
|
post_stow()
|
2009-03-22 01:29:28 +00:00
|
|
|
{
|
|
|
|
#
|
|
|
|
# Run the trigger to register its XML catalog entries.
|
|
|
|
#
|
2010-04-23 13:30:34 +00:00
|
|
|
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run post-install
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_remove()
|
|
|
|
{
|
|
|
|
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run pre-remove
|
2009-03-22 01:29:28 +00:00
|
|
|
}
|