1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
9 SDESC[standard]= SGML/XML parser toolkit and DSSSL engine
10 HOMEPAGE= https://www.netfolder.com/
14 SITES[main]= SF/openjade/openjade/1.3.2
15 DISTFILE[1]= openjade-1.3.2.tar.gz:main
17 SPKGS[standard]= single
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILDRUN_DEPENDS= OpenSP:single:standard
23 RUN_DEPENDS= xmlcatmgr:single:standard
25 USES= gmake libtool perl
28 CONFIGURE_ARGS= --enable-default-catalog={{PREFIX}}/share/sgml/catalog
29 --datadir={{PREFIX}}/share/sgml/openjade
32 MAKE_ENV= STRIP="{{STRIP}}"
34 INSTALL_TARGET= install install-man
35 PLIST_SUB= XMLCATMGR={{LOCALBASE}}/bin/xmlcatmgr
36 CATALOG_PORTS_SGML={{PREFIX}}/share/sgml/catalog.ports
39 ${FIND} ${WRKSRC}/dsssl -depth -maxdepth 1 -type f \
40 -exec ${INSTALL_DATA} {} ${STAGEDIR}/${PREFIX}/share/sgml/openjade \;
42 [FILE:213:descriptions/desc.single]
43 OpenJade is an implementation of the ISO/IEC 10179:1996 standard DSSSL
44 language. It is based on the James Clark implementation of DSSSL named
45 Jade. OpenJade is now developed and maintained by the OpenJade team.
49 1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1 894834 openjade-1.3.2.tar.gz
52 [FILE:430:manifests/plist.single]
53 %%EXCLUDE-DARWIN%%lib/
68 share/man/man1/openjade.1.gz
78 @xmlcatmgr share/sgml/openjade/catalog
81 [FILE:332:patches/patch-GroveApp.h]
82 --- spgrove/GroveApp.h.orig Sun May 2 21:57:37 1999
83 +++ spgrove/GroveApp.h Tue Aug 5 11:27:44 2003
88 -#include "ParserApp.h"
89 +#include <OpenSP/ParserApp.h>
90 #include "GroveBuilder.h"
91 -#include "HashTable.h"
92 +#include <OpenSP/HashTable.h>
95 namespace SP_NAMESPACE {
98 [FILE:1132:patches/patch-GroveBuilder.cxx]
99 --- spgrove/GroveBuilder.cxx.orig Sun Nov 17 03:01:12 2002
100 +++ spgrove/GroveBuilder.cxx Tue Aug 5 11:27:44 2003
102 // FIXME location for SgmlDocument node.
105 -#include "Boolean.h"
106 +#include <OpenSP/Boolean.h>
108 -#include "Resource.h"
112 +#include <OpenSP/Resource.h>
113 +#include <OpenSP/Ptr.h>
114 +#include <OpenSP/xnew.h>
115 +#include <OpenSP/Event.h>
116 #include "GroveBuilder.h"
117 -#include "ErrorCountEventHandler.h"
118 -#include "OutputCharStream.h"
119 -#include "MessageFormatter.h"
122 -#include "Attribute.h"
124 +#include <OpenSP/ErrorCountEventHandler.h>
125 +#include <OpenSP/OutputCharStream.h>
126 +#include <OpenSP/MessageFormatter.h>
127 +#include <OpenSP/Dtd.h>
128 +#include <OpenSP/Syntax.h>
129 +#include <OpenSP/Attribute.h>
130 +#include <OpenSP/Vector.h>
137 +#include <OpenSP/macros.h>
140 #pragma warning ( disable : 4250 ) // inherits via dominance
143 [FILE:346:patches/patch-Makefile.lib.in]
144 --- Makefile.lib.in.orig 2002-01-22 11:57:53 UTC
149 $(mkinstalldirs) $(DESTDIR)$(libdir)
150 - $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) lib$(LIB).la $(DESTDIR)$(libdir)
151 + $(LIBTOOL) --mode=install $(INSTALL) $(STRIP) lib$(LIB).la $(DESTDIR)$(libdir)
154 depend.temp: $(GENSRCS)
157 [FILE:882:patches/patch-Makefile.prog.in]
158 --- Makefile.prog.in.orig Tue Jan 22 20:57:53 2002
159 +++ Makefile.prog.in Sun Aug 22 05:48:16 2004
162 ALL_LIBS = $(XLIBS) $(LIBS)
164 - echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
165 + echo 'LT_LIBS='`echo "$(ALL_LIBS)" | sed -e "s/\.a/.la/g" -e "s,[^ ]*libosp\.la[^ ]*,,"` "\\" >Makefile.lt
166 + echo " " `echo "$(ALL_LIBS)" | awk '{print $$4}'` >> Makefile.lt
167 +# echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
169 PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
172 -test -d $(DESTDIR)$(bindir) || \
173 (mkdir $(DESTDIR)$(bindir); chmod 755 $(DESTDIR)$(bindir))
174 -rm -f $(DESTDIR)$(bindir)/$(PROG)
175 - $(LIBTOOL) --mode=install $(INSTALL) $(PROG) $(DESTDIR)$(bindir)
176 + $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(bindir)
179 depend.temp: $(GENSRCS)
182 [FILE:552:patches/patch-Node.h]
183 --- grove/Node.h.orig Mon Oct 21 06:47:24 2002
184 +++ grove/Node.h Tue Aug 5 11:27:44 2003
191 +#include <OpenSP/IList.h>
194 #ifdef BUILD_LIBGROVE
199 -#ifdef SP_WCHAR_T_USHORT
200 -typedef wchar_t GroveChar;
202 +#if UINT_MAX >= 0xffffffffL /* 2^32 - 1 */
203 typedef unsigned int GroveChar;
205 +typedef unsigned long GroveChar;
207 #else /* not SP_MULTI_BYTE */
208 typedef unsigned char GroveChar;
211 [FILE:640:patches/patch-TeXFOTBuilder.cxx]
212 --- jade/TeXFOTBuilder.cxx.orig 2011-09-24 14:17:02.000000000 +0000
213 +++ jade/TeXFOTBuilder.cxx 2011-09-24 14:19:42.000000000 +0000
215 value.convertString(nic_.placement);
217 ExtensionFlowObj *copy() const { return new PageFloatFlowObj(*this); }
219 + PageFloatFlowObj() {}
224 fotb.endPageFootnote();
226 ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); }
228 + PageFootnoteFlowObj() {}
231 //////////////////////////////////////////////////////////////////////
234 [FILE:1440:patches/patch-TransformFOTBuilder.cxx]
235 --- jade/TransformFOTBuilder.cxx.orig 2011-09-24 14:20:28.000000000 +0000
236 +++ jade/TransformFOTBuilder.cxx 2011-09-24 14:22:32.000000000 +0000
239 class EntityRefFlowObj : public TransformExtensionFlowObj {
241 + EntityRefFlowObj() {}
242 void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
243 fotb.entityRef(name_);
247 class ProcessingInstructionFlowObj : public TransformExtensionFlowObj {
249 + ProcessingInstructionFlowObj() {}
250 void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
251 fotb.processingInstruction(data_);
256 ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); }
258 + EmptyElementFlowObj() {}
265 ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); }
267 + ElementFlowObj() {}
272 value.convertString(systemId_);
274 ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); }
276 + EntityFlowObj() {};
283 ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); }
285 + DocumentTypeFlowObj() {}
287 DocumentTypeNIC nic_;
291 [FILE:1624:patches/patch-configure]
292 --- configure.orig 2002-12-01 16:18:40 UTC
294 @@ -4899,6 +4899,8 @@ _ACEOF
298 +if false; then # begin <wchar.h>-disabling hack
300 echo "$as_me:$LINENO: checking for towupper" >&5
301 echo $ECHO_N "checking for towupper... $ECHO_C" >&6
302 if test "${ac_cv_func_towupper+set}" = set; then
303 @@ -4970,6 +4972,8 @@ _ACEOF
307 +fi # end <wchar.h>-disabling hack
309 echo "$as_me:$LINENO: checking for gettext" >&5
310 echo $ECHO_N "checking for gettext... $ECHO_C" >&6
311 if test "${ac_cv_func_gettext+set}" = set; then
312 @@ -6085,7 +6089,7 @@ darwin* | rhapsody*)
317 +freebsd* | dragonfly* | midnight*)
318 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
321 @@ -7919,9 +7923,6 @@ else
322 whole_archive_flag_spec='-all_load $convenience'
329 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
330 # support. Future versions do this automatically, but an explicit c++rt0.o
331 @@ -7943,7 +7944,7 @@ else
334 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
336 + freebsd* | dragonfly* | midnight*)
337 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
338 hardcode_libdir_flag_spec='-R$libdir'
340 @@ -8342,11 +8343,7 @@ darwin* | rhapsody*)
341 shlibpath_var=DYLD_LIBRARY_PATH
349 +freebsd* | dragonfly* | midnight*)
350 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
351 version_type=freebsd-$objformat
352 case $version_type in
355 [FILE:744:patches/patch-msggen]
356 Use Getopt::Std in place of getopts.pl.
357 https://bugs.gentoo.org/show_bug.cgi?id=420083
362 # See the file COPYING for copying permission.
367 # Package and version.
368 $package = 'openjade';
381 $field[0] =~ /^[IWQXE][0-9]$/ || &error("invalid first field");;
382 $type[$num] = substr($field[0], 0, 1);
383 - $argc = int(substr($field[0], 1, 1));
384 + $argc = substr($field[0], 1, 1);
386 $nargs[$num] = $argc;
387 $field[1] =~ /^[a-zA-Z_][a-zA-Z0-9_]+$/ || &error("invalid tag");