Added openjade-1.3.2 and opensp-1.5.2 build templates.

This commit is contained in:
Juan RP 2011-06-16 16:37:40 +02:00
parent 22ccb2f478
commit 215bc7f5e2
11 changed files with 160 additions and 0 deletions

1
srcpkgs/openjade-devel Symbolic link
View File

@ -0,0 +1 @@
openjade

2
srcpkgs/openjade/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=">=1.5.2"
api_depends="${abi_depends}"

View File

@ -0,0 +1,16 @@
# Template file for 'opensp-devel'.
#
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run libstdc++-devel
Add_dependency run opensp
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
}

View File

@ -0,0 +1,17 @@
$NetBSD: patch-jade_TeXFOTBuilder.cxx,v 1.1 2011/04/22 07:27:45 adam Exp $
Fix building with Clang.
--- jade/TeXFOTBuilder.cxx.orig 2011-04-22 07:00:24.000000000 +0000
+++ jade/TeXFOTBuilder.cxx
@@ -1873,8 +1873,8 @@ static OutputByteStream &operator<<(Outp
FOTBuilder *makeTeXFOTBuilder(OutputByteStream *os, Messenger *mgr,
const FOTBuilder::Extension *&ext)
{
- static const TeXFOTBuilder::PageFloatFlowObj pageFloat;
- static const TeXFOTBuilder::PageFootnoteFlowObj pageFootnote;
+ static TeXFOTBuilder::PageFloatFlowObj pageFloat;
+ static TeXFOTBuilder::PageFootnoteFlowObj pageFootnote;
static const FOTBuilder::Extension extensions[] = {
{
"UNREGISTERED::Sebastian Rahtz//Flow Object Class::page-float",

View File

@ -0,0 +1,25 @@
$NetBSD: patch-jade_TransformFOTBuilder.cxx,v 1.1 2011/04/22 07:27:45 adam Exp $
Fix building with Clang.
--- jade/TransformFOTBuilder.cxx.orig 2011-04-22 07:04:25.000000000 +0000
+++ jade/TransformFOTBuilder.cxx
@@ -248,12 +248,12 @@ FOTBuilder *makeTransformFOTBuilder(CmdL
const Vector<StringC> &options,
const FOTBuilder::Extension *&ext)
{
- static const TransformFOTBuilder::ProcessingInstructionFlowObj pi;
- static const TransformFOTBuilder::ElementFlowObj element;
- static const TransformFOTBuilder::EmptyElementFlowObj emptyElement;
- static const TransformFOTBuilder::EntityFlowObj entity;
- static const TransformFOTBuilder::EntityRefFlowObj entityRef;
- static const TransformFOTBuilder::DocumentTypeFlowObj documentType;
+ static TransformFOTBuilder::ProcessingInstructionFlowObj pi;
+ static TransformFOTBuilder::ElementFlowObj element;
+ static TransformFOTBuilder::EmptyElementFlowObj emptyElement;
+ static TransformFOTBuilder::EntityFlowObj entity;
+ static TransformFOTBuilder::EntityRefFlowObj entityRef;
+ static TransformFOTBuilder::DocumentTypeFlowObj documentType;
static const FOTBuilder::Extension extensions[] = {
{
"UNREGISTERED::James Clark//Flow Object Class::processing-instruction",

51
srcpkgs/openjade/template Normal file
View File

@ -0,0 +1,51 @@
# Template file for 'openjade'
pkgname=openjade
version=1.3.2
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-$version.tar.gz"
build_style=gnu_configure
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
Add_dependency build gettext
Add_dependency build opensp-devel
post_install()
{
install -d ${DESTDIR}/usr/share/licenses/${pkgname}
install -d ${DESTDIR}/usr/share/sgml/openjade/{jade,}doc
cp -a ${wrksrc}/dsssl ${DESTDIR}/usr/share/sgml/${pkgname}
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
}

1
srcpkgs/opensp-devel Symbolic link
View File

@ -0,0 +1 @@
opensp

2
srcpkgs/opensp/depends Normal file
View File

@ -0,0 +1,2 @@
abi_depends=">=1.5.2"
api_depends="${abi_depends}"

View File

@ -0,0 +1,18 @@
# Template file for 'opensp-devel'.
#
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run glibc-devel
Add_dependency run libstdc++-devel
Add_dependency run opensp
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
}

23
srcpkgs/opensp/template Normal file
View File

@ -0,0 +1,23 @@
# Template file for 'opensp'
pkgname=opensp
version=1.5.2
wrksrc="OpenSP-${version}"
distfiles="${SOURCEFORGE_SITE}/openjade/OpenSP-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-http --enable-default-catalog=/usr/share/sgml/catalog"
short_desc="SGML parser, successor to "sp""
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=57f4898498a368918b0d49c826aa434bb5b703d2c3b169beb348016ab25617ce
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."
keep_libtool_archives=yes
subpackages="opensp-devel"
Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency build gettext
Add_dependency build xmlto

View File

@ -807,3 +807,7 @@ libmutter.so mutter mutter-devel
libvte2_90.so vte3 vte3-devel
libgnome-media-profiles-3.0.so libgnome-media-profiles libgnome-media-profiles-devel
libpipeline.so libpipeline libpipeline-devel
libosp.so opensp opensp-devel
libogrove.so openjade openjade-devel
libospgrove.so openjade openjade-devel
libostyle.so openjade openjade-devel