1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= SGML/XML parser toolkit and DSSSL engine
9 HOMEPAGE= http://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:407:manifests/plist.single]
52 @xmlcatmgr share/sgml/openjade/catalog
67 share/man/man1/openjade.1.gz
79 [FILE:332:patches/patch-GroveApp.h]
80 --- spgrove/GroveApp.h.orig Sun May 2 21:57:37 1999
81 +++ spgrove/GroveApp.h Tue Aug 5 11:27:44 2003
86 -#include "ParserApp.h"
87 +#include <OpenSP/ParserApp.h>
88 #include "GroveBuilder.h"
89 -#include "HashTable.h"
90 +#include <OpenSP/HashTable.h>
93 namespace SP_NAMESPACE {
96 [FILE:1132:patches/patch-GroveBuilder.cxx]
97 --- spgrove/GroveBuilder.cxx.orig Sun Nov 17 03:01:12 2002
98 +++ spgrove/GroveBuilder.cxx Tue Aug 5 11:27:44 2003
100 // FIXME location for SgmlDocument node.
103 -#include "Boolean.h"
104 +#include <OpenSP/Boolean.h>
106 -#include "Resource.h"
110 +#include <OpenSP/Resource.h>
111 +#include <OpenSP/Ptr.h>
112 +#include <OpenSP/xnew.h>
113 +#include <OpenSP/Event.h>
114 #include "GroveBuilder.h"
115 -#include "ErrorCountEventHandler.h"
116 -#include "OutputCharStream.h"
117 -#include "MessageFormatter.h"
120 -#include "Attribute.h"
122 +#include <OpenSP/ErrorCountEventHandler.h>
123 +#include <OpenSP/OutputCharStream.h>
124 +#include <OpenSP/MessageFormatter.h>
125 +#include <OpenSP/Dtd.h>
126 +#include <OpenSP/Syntax.h>
127 +#include <OpenSP/Attribute.h>
128 +#include <OpenSP/Vector.h>
135 +#include <OpenSP/macros.h>
138 #pragma warning ( disable : 4250 ) // inherits via dominance
141 [FILE:346:patches/patch-Makefile.lib.in]
142 --- Makefile.lib.in.orig 2002-01-22 11:57:53 UTC
147 $(mkinstalldirs) $(DESTDIR)$(libdir)
148 - $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) lib$(LIB).la $(DESTDIR)$(libdir)
149 + $(LIBTOOL) --mode=install $(INSTALL) $(STRIP) lib$(LIB).la $(DESTDIR)$(libdir)
152 depend.temp: $(GENSRCS)
155 [FILE:882:patches/patch-Makefile.prog.in]
156 --- Makefile.prog.in.orig Tue Jan 22 20:57:53 2002
157 +++ Makefile.prog.in Sun Aug 22 05:48:16 2004
160 ALL_LIBS = $(XLIBS) $(LIBS)
162 - echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
163 + echo 'LT_LIBS='`echo "$(ALL_LIBS)" | sed -e "s/\.a/.la/g" -e "s,[^ ]*libosp\.la[^ ]*,,"` "\\" >Makefile.lt
164 + echo " " `echo "$(ALL_LIBS)" | awk '{print $$4}'` >> Makefile.lt
165 +# echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
167 PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
170 -test -d $(DESTDIR)$(bindir) || \
171 (mkdir $(DESTDIR)$(bindir); chmod 755 $(DESTDIR)$(bindir))
172 -rm -f $(DESTDIR)$(bindir)/$(PROG)
173 - $(LIBTOOL) --mode=install $(INSTALL) $(PROG) $(DESTDIR)$(bindir)
174 + $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(bindir)
177 depend.temp: $(GENSRCS)
180 [FILE:552:patches/patch-Node.h]
181 --- grove/Node.h.orig Mon Oct 21 06:47:24 2002
182 +++ grove/Node.h Tue Aug 5 11:27:44 2003
189 +#include <OpenSP/IList.h>
192 #ifdef BUILD_LIBGROVE
197 -#ifdef SP_WCHAR_T_USHORT
198 -typedef wchar_t GroveChar;
200 +#if UINT_MAX >= 0xffffffffL /* 2^32 - 1 */
201 typedef unsigned int GroveChar;
203 +typedef unsigned long GroveChar;
205 #else /* not SP_MULTI_BYTE */
206 typedef unsigned char GroveChar;
209 [FILE:640:patches/patch-TeXFOTBuilder.cxx]
210 --- jade/TeXFOTBuilder.cxx.orig 2011-09-24 14:17:02.000000000 +0000
211 +++ jade/TeXFOTBuilder.cxx 2011-09-24 14:19:42.000000000 +0000
213 value.convertString(nic_.placement);
215 ExtensionFlowObj *copy() const { return new PageFloatFlowObj(*this); }
217 + PageFloatFlowObj() {}
222 fotb.endPageFootnote();
224 ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); }
226 + PageFootnoteFlowObj() {}
229 //////////////////////////////////////////////////////////////////////
232 [FILE:1440:patches/patch-TransformFOTBuilder.cxx]
233 --- jade/TransformFOTBuilder.cxx.orig 2011-09-24 14:20:28.000000000 +0000
234 +++ jade/TransformFOTBuilder.cxx 2011-09-24 14:22:32.000000000 +0000
237 class EntityRefFlowObj : public TransformExtensionFlowObj {
239 + EntityRefFlowObj() {}
240 void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
241 fotb.entityRef(name_);
245 class ProcessingInstructionFlowObj : public TransformExtensionFlowObj {
247 + ProcessingInstructionFlowObj() {}
248 void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
249 fotb.processingInstruction(data_);
254 ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); }
256 + EmptyElementFlowObj() {}
263 ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); }
265 + ElementFlowObj() {}
270 value.convertString(systemId_);
272 ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); }
274 + EntityFlowObj() {};
281 ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); }
283 + DocumentTypeFlowObj() {}
285 DocumentTypeNIC nic_;
289 [FILE:534:patches/patch-configure]
290 --- configure.orig Sun Dec 1 17:18:40 2002
291 +++ configure Fri Feb 28 03:26:00 2003
292 @@ -4899,6 +4899,8 @@
296 +if false; then # begin <wchar.h>-disabling hack
298 echo "$as_me:$LINENO: checking for towupper" >&5
299 echo $ECHO_N "checking for towupper... $ECHO_C" >&6
300 if test "${ac_cv_func_towupper+set}" = set; then
301 @@ -4970,6 +4972,8 @@
305 +fi # end <wchar.h>-disabling hack
307 echo "$as_me:$LINENO: checking for gettext" >&5
308 echo $ECHO_N "checking for gettext... $ECHO_C" >&6
309 if test "${ac_cv_func_gettext+set}" = set; then
312 [FILE:744:patches/patch-msggen]
313 Use Getopt::Std in place of getopts.pl.
314 https://bugs.gentoo.org/show_bug.cgi?id=420083
319 # See the file COPYING for copying permission.
324 # Package and version.
325 $package = 'openjade';
338 $field[0] =~ /^[IWQXE][0-9]$/ || &error("invalid first field");;
339 $type[$num] = substr($field[0], 0, 1);
340 - $argc = int(substr($field[0], 1, 1));
341 + $argc = substr($field[0], 1, 1);
343 $nargs[$num] = $argc;
344 $field[1] =~ /^[a-zA-Z_][a-zA-Z0-9_]+$/ || &error("invalid tag");