2011-06-16 14:37:40 +00:00
|
|
|
# Template file for 'opensp'
|
|
|
|
pkgname=opensp
|
|
|
|
version=1.5.2
|
|
|
|
wrksrc="OpenSP-${version}"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/openjade/OpenSP-$version.tar.gz"
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-06-16 14:37:40 +00:00
|
|
|
configure_args="--enable-http --enable-default-catalog=/usr/share/sgml/catalog"
|
2011-11-14 17:12:47 +00:00
|
|
|
revision=1
|
2011-06-16 14:37:40 +00:00
|
|
|
short_desc="SGML parser, successor to "sp""
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-06-17 05:24:59 +00:00
|
|
|
homepage="http://openjade.sourceforge.net/"
|
|
|
|
license="MIT"
|
2011-06-16 14:37:40 +00:00
|
|
|
checksum=57f4898498a368918b0d49c826aa434bb5b703d2c3b169beb348016ab25617ce
|
|
|
|
long_desc="
|
2011-06-17 05:24:59 +00:00
|
|
|
This package is a collection of SGML/XML tools called OpenSP. It is a fork
|
|
|
|
from James Clark's SP suite.
|
|
|
|
|
|
|
|
These tools are used to parse, validate, and normalize SGML and XML files.
|
|
|
|
The central programs included in this package are 'onsgmls', which replaces
|
|
|
|
sgmls, 'ospam', 'ospent', 'osgmlnorm', and 'osx'. "
|
2011-06-16 14:37:40 +00:00
|
|
|
|
|
|
|
keep_libtool_archives=yes
|
|
|
|
subpackages="opensp-devel"
|
2011-06-17 05:24:59 +00:00
|
|
|
export sgml_entries="CATALOG /usr/share/OpenSP/catalog --"
|
2011-06-16 14:37:40 +00:00
|
|
|
|
|
|
|
Add_dependency build gettext
|
|
|
|
Add_dependency build xmlto
|
2011-06-17 05:24:59 +00:00
|
|
|
Add_dependency full xmlcatmgr
|
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
# Some programs expect 'nsgmls'... make it a symlink.
|
|
|
|
cd ${DESTDIR}/usr/bin && ln -s onsgmls nsgmls
|
|
|
|
}
|
|
|
|
|
|
|
|
post_stow()
|
|
|
|
{
|
|
|
|
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run post-install
|
|
|
|
}
|
|
|
|
|
|
|
|
pre_remove()
|
|
|
|
{
|
|
|
|
cd ${XBPS_MASTERDIR} && ${XBPS_TRIGGERSDIR}/xml-catalog run pre-remove
|
|
|
|
}
|