summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-04-27 10:52:27 +0000
committeragc <agc@pkgsrc.org>2001-04-27 10:52:27 +0000
commitd4f6c724366927f68d70f9ce52719b4120517fbf (patch)
treed648ae1f0c985ee50a7791600d9715ea7f864b33 /textproc
parent1d3036d9460fa2d6a066ea3b9b162e72fe1a65d8 (diff)
downloadpkgsrc-d4f6c724366927f68d70f9ce52719b4120517fbf.tar.gz
Initial import of openjade into the packages collection.
Provided in PR 12646 by Kogule, Ryo (kogule@mars.dti.ne.jp). 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.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/openjade/Makefile45
-rw-r--r--textproc/openjade/distinfo7
-rw-r--r--textproc/openjade/patches/patch-aa18
-rw-r--r--textproc/openjade/patches/patch-ab29
-rw-r--r--textproc/openjade/patches/patch-ac14
-rw-r--r--textproc/openjade/pkg/DESCR3
-rw-r--r--textproc/openjade/pkg/PLIST90
7 files changed, 206 insertions, 0 deletions
diff --git a/textproc/openjade/Makefile b/textproc/openjade/Makefile
new file mode 100644
index 00000000000..75656b8d503
--- /dev/null
+++ b/textproc/openjade/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/27 10:52:27 agc Exp $
+# FreeBSD Id: ports/textproc/openjade/Makefile,v 1.30 2001/03/04 21:39:19 lioux Exp
+
+DISTNAME= openjade-1.3
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openjade/}
+
+MAINTAINER= kogule@mars.dti.ne.jp
+HOMEPAGE= http://openjade.sourceforge.net/
+COMMENT= SGML/XML parser toolkit and DSSSL engine, successor to "jade"
+
+BUILD_DEPENDS+= perl>=5.6.0:../../lang/perl5:build
+
+CONFLICTS+= opensp-*
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+
+CONFIGURE_ENV+= CXXFLAGS="${CFLAGS}"
+CONFIGURE_ARGS+= --enable-default-catalog=${OPENJADE_DATA_DIR}/catalog \
+ --datadir=${OPENJADE_DATA_DIR}
+
+OPENJADE_DATA_DIR= ${PREFIX}/share/sgml/openjade
+OPENJADE_DOC_DIR= ${PREFIX}/share/doc/openjade
+
+# People say this software is not optimization safe.
+CFLAGS= -O0
+
+# Building with Shared Libraries cannot handle MessageReporterMessages'
+# static member variables under NetBSD 1.5.
+CONFIGURE_ARGS+= --disable-shared
+
+post-install:
+ ${INSTALL_DATA_DIR} ${OPENJADE_DATA_DIR}/pubtext
+ ${INSTALL_DATA} ${WRKSRC}/dsssl/* ${OPENJADE_DATA_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/pubtext/* ${OPENJADE_DATA_DIR}/pubtext
+
+ ${INSTALL_DATA_DIR} ${OPENJADE_DOC_DIR}/doc
+ ${INSTALL_DATA_DIR} ${OPENJADE_DOC_DIR}/jadedoc/images
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${OPENJADE_DOC_DIR}/doc
+ ${INSTALL_DATA} ${WRKSRC}/jadedoc/copying.txt ${OPENJADE_DOC_DIR}/jadedoc
+ ${INSTALL_DATA} ${WRKSRC}/jadedoc/*.htm ${OPENJADE_DOC_DIR}/jadedoc
+ ${INSTALL_DATA} ${WRKSRC}/jadedoc/images/* ${OPENJADE_DOC_DIR}/jadedoc/images
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/openjade/distinfo b/textproc/openjade/distinfo
new file mode 100644
index 00000000000..eac643bb9eb
--- /dev/null
+++ b/textproc/openjade/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/04/27 10:52:27 agc Exp $
+
+SHA1 (openjade-1.3.tar.gz) = 971b43152272e3add4534255c441628538a416e3
+Size (openjade-1.3.tar.gz) = 1165688 bytes
+SHA1 (patch-aa) = 28a3262a6f40668a35feb96525135efd3d50a819
+SHA1 (patch-ab) = fd8cb20d1c7bb76738d45398a4f2ce5d6d7616fa
+SHA1 (patch-ac) = 1742175ec89ea8e796b4e874a488225850cf78e1
diff --git a/textproc/openjade/patches/patch-aa b/textproc/openjade/patches/patch-aa
new file mode 100644
index 00000000000..5498291b548
--- /dev/null
+++ b/textproc/openjade/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 10:52:27 agc Exp $
+
+--- style/LangObj.cxx~ Fri Jul 2 07:49:58 1999
++++ style/LangObj.cxx Tue May 16 12:59:00 2000
+@@ -12,11 +12,11 @@
+ #include <string.h>
+ #include <ctype.h>
+ #include <string.h>
+-#include <wchar.h>
+-#include <wctype.h>
+
+ #ifdef SP_HAVE_LOCALE
+ #include <locale.h>
++#include <wchar.h>
++#include <wctype.h>
+ #endif
+
+ #ifdef DSSSL_NAMESPACE
diff --git a/textproc/openjade/patches/patch-ab b/textproc/openjade/patches/patch-ab
new file mode 100644
index 00000000000..b8580609682
--- /dev/null
+++ b/textproc/openjade/patches/patch-ab
@@ -0,0 +1,29 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/04/27 10:52:27 agc Exp $
+
+--- configure.orig Wed Sep 1 16:25:58 1999
++++ configure Tue May 16 15:39:23 2000
+@@ -1943,15 +1943,15 @@
+ rm -f conftest*
+ fi
+
+-if eval "test \"`echo '$ac_cv_func_'setlocale`\" = yes"; then
+- echo "$ac_t""yes" 1>&6
+- cat >> confdefs.h <<\EOF
+-#define SP_HAVE_LOCALE 1
+-EOF
+-
+-else
+- echo "$ac_t""no" 1>&6
+-fi
++# if eval "test \"`echo '$ac_cv_func_'setlocale`\" = yes"; then
++# echo "$ac_t""yes" 1>&6
++# cat >> confdefs.h <<\EOF
++# #define SP_HAVE_LOCALE 1
++# EOF
++#
++# else
++# echo "$ac_t""no" 1>&6
++# fi
+
+ echo $ac_n "checking for gettext""... $ac_c" 1>&6
+ echo "configure:1958: checking for gettext" >&5
diff --git a/textproc/openjade/patches/patch-ac b/textproc/openjade/patches/patch-ac
new file mode 100644
index 00000000000..35429ac229b
--- /dev/null
+++ b/textproc/openjade/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1.1.1 2001/04/27 10:52:27 agc Exp $
+
+--- style/Interpreter.cxx.orig Thu Oct 1 07:14:54 1998
++++ style/Interpreter.cxx
+@@ -184,7 +184,8 @@
+ };
+ size_t nUnits = dsssl2() ? SIZEOF(units) : SIZEOF(units) - 1;
+ for (size_t i = 0; i < nUnits; i++) {
+- Unit *unit = lookupUnit(makeStringC(units[i].name));
++ StringC temp = makeStringC(units[i].name); /* temp var to work around */
++ Unit *unit = lookupUnit(temp); /* compiler prob(?) */
+ long n = unitsPerInch_ * units[i].numer;
+ if (n % units[i].denom == 0)
+ unit->setValue(long(n / units[i].denom));
diff --git a/textproc/openjade/pkg/DESCR b/textproc/openjade/pkg/DESCR
new file mode 100644
index 00000000000..66efca1f00e
--- /dev/null
+++ b/textproc/openjade/pkg/DESCR
@@ -0,0 +1,3 @@
+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.
diff --git a/textproc/openjade/pkg/PLIST b/textproc/openjade/pkg/PLIST
new file mode 100644
index 00000000000..4e6dc0509af
--- /dev/null
+++ b/textproc/openjade/pkg/PLIST
@@ -0,0 +1,90 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/27 10:52:27 agc Exp $
+bin/onsgmls
+bin/openjade
+bin/osgmlnorm
+bin/ospam
+bin/ospent
+bin/osx
+lib/libosp.la
+lib/libosp.a
+lib/libogrove.la
+lib/libogrove.a
+lib/libospgrove.la
+lib/libospgrove.a
+lib/libostyle.la
+lib/libostyle.a
+share/sgml/openjade/ChangeLog
+share/sgml/openjade/Makefile.jadetex
+share/sgml/openjade/builtins.dsl
+share/sgml/openjade/catalog
+share/sgml/openjade/demo.dsl
+share/sgml/openjade/demo.sgm
+share/sgml/openjade/dsssl.dtd
+share/sgml/openjade/extensions.dsl
+share/sgml/openjade/fot.dtd
+share/sgml/openjade/jadetex.dtx
+share/sgml/openjade/jadetex.ini
+share/sgml/openjade/jadetex.ins
+share/sgml/openjade/pdfjadetex.ini
+share/sgml/openjade/style-sheet.dtd
+share/sgml/openjade/unicode.sty
+share/sgml/openjade/pubtext/HTML32.dcl
+share/sgml/openjade/pubtext/HTML32.dtd
+share/sgml/openjade/pubtext/HTML32.soc
+share/sgml/openjade/pubtext/HTML4-f.dtd
+share/sgml/openjade/pubtext/HTML4-s.dtd
+share/sgml/openjade/pubtext/HTML4.dcl
+share/sgml/openjade/pubtext/HTML4.dtd
+share/sgml/openjade/pubtext/HTML4.soc
+share/sgml/openjade/pubtext/HTMLlat1.ent
+share/sgml/openjade/pubtext/HTMLspec.ent
+share/sgml/openjade/pubtext/HTMLsym.ent
+share/sgml/openjade/pubtext/ISOlat1.ent
+share/sgml/openjade/pubtext/ISOlat1.sgm
+share/sgml/openjade/pubtext/html-1.dtd
+share/sgml/openjade/pubtext/html-1s.dtd
+share/sgml/openjade/pubtext/html-s.dtd
+share/sgml/openjade/pubtext/html.dcl
+share/sgml/openjade/pubtext/html.dtd
+share/sgml/openjade/pubtext/html.soc
+share/sgml/openjade/pubtext/xml.dcl
+share/sgml/openjade/pubtext/xml.soc
+share/doc/openjade/doc/archform.htm
+share/doc/openjade/doc/build.htm
+share/doc/openjade/doc/catalog.htm
+share/doc/openjade/doc/charset.htm
+share/doc/openjade/doc/features.htm
+share/doc/openjade/doc/generic.htm
+share/doc/openjade/doc/ideas.htm
+share/doc/openjade/doc/index.htm
+share/doc/openjade/doc/new.htm
+share/doc/openjade/doc/nsgmls.htm
+share/doc/openjade/doc/sgmldecl.htm
+share/doc/openjade/doc/sgmlnorm.htm
+share/doc/openjade/doc/sgmlsout.htm
+share/doc/openjade/doc/spam.htm
+share/doc/openjade/doc/spent.htm
+share/doc/openjade/doc/sx.htm
+share/doc/openjade/doc/sysdecl.htm
+share/doc/openjade/doc/sysid.htm
+share/doc/openjade/doc/xml.htm
+share/doc/openjade/jadedoc/autoconf.htm
+share/doc/openjade/jadedoc/contributors.htm
+share/doc/openjade/jadedoc/copying.txt
+share/doc/openjade/jadedoc/dsssl2.htm
+share/doc/openjade/jadedoc/index.htm
+share/doc/openjade/jadedoc/mif.htm
+share/doc/openjade/jadedoc/rtf.htm
+share/doc/openjade/jadedoc/tex.htm
+share/doc/openjade/jadedoc/transform.htm
+share/doc/openjade/jadedoc/xmlfo.htm
+share/doc/openjade/jadedoc/images/background.gif
+share/doc/openjade/jadedoc/images/dsssltitle.gif
+share/doc/openjade/jadedoc/images/space.gif
+share/doc/openjade/jadedoc/images/top-of-page.gif
+@dirrm share/sgml/openjade/pubtext
+@dirrm share/sgml/openjade
+@dirrm share/doc/openjade/doc
+@dirrm share/doc/openjade/jadedoc/images
+@dirrm share/doc/openjade/jadedoc
+@dirrm share/doc/openjade