2011-06-16 16:37:40 +02:00
|
|
|
# Template file for 'openjade'
|
|
|
|
pkgname=openjade
|
|
|
|
version=1.3.2
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-$version.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-06-16 16:37:40 +02:00
|
|
|
configure_args="
|
|
|
|
--datadir=/usr/share/sgml/openjade
|
|
|
|
--enable-default-catalog=/usr/share/sgml/catalog
|
|
|
|
--enable-splibdir=/usr/lib"
|
|
|
|
short_desc="SGML/XML parser toolkit and DSSSL engine, successor to "jade""
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://openjade.sourceforge.net/"
|
|
|
|
license="MIT"
|
|
|
|
checksum=1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1
|
|
|
|
long_desc="
|
|
|
|
OpenJade is an implementation of the ISO/IEC 10179:1996 standard DSSSL
|
|
|
|
language. It is based on the James Clark implementation of DSSSL named
|
|
|
|
Jade. OpenJade is now developed and maintained by the OpenJade team."
|
|
|
|
|
|
|
|
subpackages="${pkgname}-devel"
|
|
|
|
export sgml_entries="CATALOG /usr/share/sgml/openjade/catalog --"
|
|
|
|
|
|
|
|
Add_dependency run libgcc
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run libstdc++
|
|
|
|
Add_dependency run opensp
|
2011-07-03 00:15:04 +02:00
|
|
|
Add_dependency build perl ">=0"
|
2011-06-16 16:37:40 +02:00
|
|
|
Add_dependency build gettext
|
|
|
|
Add_dependency build opensp-devel
|
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2011-06-17 07:25:25 +02:00
|
|
|
cd ${DESTDIR}/usr/bin && ln -s openjade jade
|
|
|
|
|
2011-06-16 16:37:40 +02:00
|
|
|
install -d ${DESTDIR}/usr/share/licenses/${pkgname}
|
|
|
|
install -d ${DESTDIR}/usr/share/sgml/openjade/{jade,}doc
|
|
|
|
|
2011-06-17 07:25:25 +02:00
|
|
|
cp -a ${wrksrc}/dsssl/* ${DESTDIR}/usr/share/sgml/${pkgname}
|
2011-06-16 16:37:40 +02:00
|
|
|
cp -a ${wrksrc}/pubtext ${DESTDIR}/usr/share/sgml/${pkgname}
|
|
|
|
cp -a ${wrksrc}/doc/*.htm ${DESTDIR}/usr/share/sgml/${pkgname}/doc
|
|
|
|
cp -a ${wrksrc}/jadedoc/copying.txt \
|
|
|
|
${DESTDIR}/usr/share/licenses/${pkgname}
|
|
|
|
cp -a ${wrksrc}/jadedoc/images ${DESTDIR}/usr/share/sgml/${pkgname}/jadedoc
|
|
|
|
}
|
|
|
|
|
|
|
|
post_stow()
|
|
|
|
{
|
|
|
|
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run post-install
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_remove()
|
|
|
|
{
|
|
|
|
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run pre-remove
|
|
|
|
}
|