1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= SGML/XML parser toolkit and DSSSL engine
9 HOMEPAGE= https://www.netfolder.com/
13 SITES[main]= SF/openjade/openjade/1.3.2
14 DISTFILE[1]= openjade-1.3.2.tar.gz:main
16 SPKGS[standard]= single
18 OPTIONS_AVAILABLE= none
19 OPTIONS_STANDARD= none
21 BUILDRUN_DEPENDS= OpenSP:single:standard
22 RUN_DEPENDS= xmlcatmgr:single:standard
24 USES= gmake libtool perl fbsd10fix
27 CONFIGURE_ARGS= --enable-default-catalog={{PREFIX}}/share/sgml/catalog
28 --datadir={{PREFIX}}/share/sgml/openjade
31 MAKE_ENV= STRIP="{{STRIP}}"
33 INSTALL_TARGET= install install-man
34 PLIST_SUB= XMLCATMGR={{LOCALBASE}}/bin/xmlcatmgr
35 CATALOG_PORTS_SGML={{PREFIX}}/share/sgml/catalog.ports
38 ${FIND} ${WRKSRC}/dsssl -depth -maxdepth 1 -type f \
39 -exec ${INSTALL_DATA} {} ${STAGEDIR}/${PREFIX}/share/sgml/openjade \;
41 [FILE:213:descriptions/desc.single]
42 OpenJade is an implementation of the ISO/IEC 10179:1996 standard DSSSL
43 language. It is based on the James Clark implementation of DSSSL named
44 Jade. OpenJade is now developed and maintained by the OpenJade team.
48 1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1 894834 openjade-1.3.2.tar.gz
51 [FILE:430:manifests/plist.single]
52 %%EXCLUDE-DARWIN%%lib/
67 share/man/man1/openjade.1.gz
77 @xmlcatmgr share/sgml/openjade/catalog
80 [FILE:332:patches/patch-GroveApp.h]
81 --- spgrove/GroveApp.h.orig Sun May 2 21:57:37 1999
82 +++ spgrove/GroveApp.h Tue Aug 5 11:27:44 2003
87 -#include "ParserApp.h"
88 +#include <OpenSP/ParserApp.h>
89 #include "GroveBuilder.h"
90 -#include "HashTable.h"
91 +#include <OpenSP/HashTable.h>
94 namespace SP_NAMESPACE {
97 [FILE:1132:patches/patch-GroveBuilder.cxx]
98 --- spgrove/GroveBuilder.cxx.orig Sun Nov 17 03:01:12 2002
99 +++ spgrove/GroveBuilder.cxx Tue Aug 5 11:27:44 2003
101 // FIXME location for SgmlDocument node.
104 -#include "Boolean.h"
105 +#include <OpenSP/Boolean.h>
107 -#include "Resource.h"
111 +#include <OpenSP/Resource.h>
112 +#include <OpenSP/Ptr.h>
113 +#include <OpenSP/xnew.h>
114 +#include <OpenSP/Event.h>
115 #include "GroveBuilder.h"
116 -#include "ErrorCountEventHandler.h"
117 -#include "OutputCharStream.h"
118 -#include "MessageFormatter.h"
121 -#include "Attribute.h"
123 +#include <OpenSP/ErrorCountEventHandler.h>
124 +#include <OpenSP/OutputCharStream.h>
125 +#include <OpenSP/MessageFormatter.h>
126 +#include <OpenSP/Dtd.h>
127 +#include <OpenSP/Syntax.h>
128 +#include <OpenSP/Attribute.h>
129 +#include <OpenSP/Vector.h>
136 +#include <OpenSP/macros.h>
139 #pragma warning ( disable : 4250 ) // inherits via dominance
142 [FILE:346:patches/patch-Makefile.lib.in]
143 --- Makefile.lib.in.orig 2002-01-22 11:57:53 UTC
148 $(mkinstalldirs) $(DESTDIR)$(libdir)
149 - $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) lib$(LIB).la $(DESTDIR)$(libdir)
150 + $(LIBTOOL) --mode=install $(INSTALL) $(STRIP) lib$(LIB).la $(DESTDIR)$(libdir)
153 depend.temp: $(GENSRCS)
156 [FILE:882:patches/patch-Makefile.prog.in]
157 --- Makefile.prog.in.orig Tue Jan 22 20:57:53 2002
158 +++ Makefile.prog.in Sun Aug 22 05:48:16 2004
161 ALL_LIBS = $(XLIBS) $(LIBS)
163 - echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
164 + echo 'LT_LIBS='`echo "$(ALL_LIBS)" | sed -e "s/\.a/.la/g" -e "s,[^ ]*libosp\.la[^ ]*,,"` "\\" >Makefile.lt
165 + echo " " `echo "$(ALL_LIBS)" | awk '{print $$4}'` >> Makefile.lt
166 +# echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
168 PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
171 -test -d $(DESTDIR)$(bindir) || \
172 (mkdir $(DESTDIR)$(bindir); chmod 755 $(DESTDIR)$(bindir))
173 -rm -f $(DESTDIR)$(bindir)/$(PROG)
174 - $(LIBTOOL) --mode=install $(INSTALL) $(PROG) $(DESTDIR)$(bindir)
175 + $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(bindir)
178 depend.temp: $(GENSRCS)
181 [FILE:552:patches/patch-Node.h]
182 --- grove/Node.h.orig Mon Oct 21 06:47:24 2002
183 +++ grove/Node.h Tue Aug 5 11:27:44 2003
190 +#include <OpenSP/IList.h>
193 #ifdef BUILD_LIBGROVE
198 -#ifdef SP_WCHAR_T_USHORT
199 -typedef wchar_t GroveChar;
201 +#if UINT_MAX >= 0xffffffffL /* 2^32 - 1 */
202 typedef unsigned int GroveChar;
204 +typedef unsigned long GroveChar;
206 #else /* not SP_MULTI_BYTE */
207 typedef unsigned char GroveChar;
210 [FILE:640:patches/patch-TeXFOTBuilder.cxx]
211 --- jade/TeXFOTBuilder.cxx.orig 2011-09-24 14:17:02.000000000 +0000
212 +++ jade/TeXFOTBuilder.cxx 2011-09-24 14:19:42.000000000 +0000
214 value.convertString(nic_.placement);
216 ExtensionFlowObj *copy() const { return new PageFloatFlowObj(*this); }
218 + PageFloatFlowObj() {}
223 fotb.endPageFootnote();
225 ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); }
227 + PageFootnoteFlowObj() {}
230 //////////////////////////////////////////////////////////////////////
233 [FILE:1440:patches/patch-TransformFOTBuilder.cxx]
234 --- jade/TransformFOTBuilder.cxx.orig 2011-09-24 14:20:28.000000000 +0000
235 +++ jade/TransformFOTBuilder.cxx 2011-09-24 14:22:32.000000000 +0000
238 class EntityRefFlowObj : public TransformExtensionFlowObj {
240 + EntityRefFlowObj() {}
241 void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
242 fotb.entityRef(name_);
246 class ProcessingInstructionFlowObj : public TransformExtensionFlowObj {
248 + ProcessingInstructionFlowObj() {}
249 void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
250 fotb.processingInstruction(data_);
255 ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); }
257 + EmptyElementFlowObj() {}
264 ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); }
266 + ElementFlowObj() {}
271 value.convertString(systemId_);
273 ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); }
275 + EntityFlowObj() {};
282 ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); }
284 + DocumentTypeFlowObj() {}
286 DocumentTypeNIC nic_;
290 [FILE:522:patches/patch-configure]
291 --- configure.orig 2002-12-01 16:18:40 UTC
293 @@ -4899,6 +4899,8 @@ _ACEOF
297 +if false; then # begin <wchar.h>-disabling hack
299 echo "$as_me:$LINENO: checking for towupper" >&5
300 echo $ECHO_N "checking for towupper... $ECHO_C" >&6
301 if test "${ac_cv_func_towupper+set}" = set; then
302 @@ -4970,6 +4972,8 @@ _ACEOF
306 +fi # end <wchar.h>-disabling hack
308 echo "$as_me:$LINENO: checking for gettext" >&5
309 echo $ECHO_N "checking for gettext... $ECHO_C" >&6
310 if test "${ac_cv_func_gettext+set}" = set; then
313 [FILE:744:patches/patch-msggen]
314 Use Getopt::Std in place of getopts.pl.
315 https://bugs.gentoo.org/show_bug.cgi?id=420083
320 # See the file COPYING for copying permission.
325 # Package and version.
326 $package = 'openjade';
339 $field[0] =~ /^[IWQXE][0-9]$/ || &error("invalid first field");;
340 $type[$num] = substr($field[0], 0, 1);
341 - $argc = int(substr($field[0], 1, 1));
342 + $argc = substr($field[0], 1, 1);
344 $nargs[$num] = $argc;
345 $field[1] =~ /^[a-zA-Z_][a-zA-Z0-9_]+$/ || &error("invalid tag");