48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
# Template file for 'docbook-dsssl'
|
|
pkgname=docbook-dsssl
|
|
version=1.79
|
|
distfiles="${SOURCEFORGE_SITE}/docbook/$pkgname-$version.tar.bz2"
|
|
build_style=custom-install
|
|
short_desc="DSSSL stylesheets for the DocBook DTD"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://www.docbook.org/"
|
|
license="MIT"
|
|
checksum=2f329e120bee9ef42fbdd74ddd60e05e49786c5a7953a0ff4c680ae6bdf0e2bc
|
|
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
|
|
Add_dependency full docbook-xml ">=4.2"
|
|
|
|
export sgml_entries="CATALOG /usr/share/sgml/docbook/dsssl/modular/catalog --"
|
|
|
|
do_install()
|
|
{
|
|
rm -rf ${wrksrc}/docsrc
|
|
install -d ${DESTDIR}/usr/share/sgml/docbook/dsssl/modular
|
|
cp -rp ${wrksrc}/* ${DESTDIR}/usr/share/sgml/docbook/dsssl/modular
|
|
}
|
|
|
|
post_stow()
|
|
{
|
|
#
|
|
# Run the trigger to register its XML catalog entries.
|
|
#
|
|
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run post-install
|
|
}
|
|
|
|
pre_remove()
|
|
{
|
|
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run pre-remove
|
|
}
|