Ravenports generated: 02 Jan 2019 10:14
[ravenports.git] / bucket_66 / opentoken
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               opentoken
4 VERSION=                6.0b
5 KEYWORDS=               textproc ada
6 VARIANTS=               standard
7 SDESC[standard]=        Lexical analyser and parser for the Ada language
8 HOMEPAGE=               http://stephe-leake.org/ada/opentoken.html
9 CONTACT=                John_Marino[draco@marino.st]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            http://stephe-leake.org/ada/
13 DISTFILE[1]=            opentoken-6.0b.tar.bz2:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 USES=                   gprbuild ada:single
21
22 DISTNAME=               org.opentoken-6.0b
23
24 LICENSE=                GMGPL3:single
25 LICENSE_TERMS=          single:{{WRKDIR}}/TERMS
26 LICENSE_FILE=           GMGPL3:stock
27 LICENSE_AWK=            TERMS:"^with "
28 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/opentoken.ads
29 LICENSE_SCHEME=         solo
30
31 FPC_EQUIVALENT=         textproc/opentoken
32
33 BUILD_WRKSRC=           {{WRKSRC}}/build/release
34
35 PLIST_SUB=              OTLIBVER={{OTLIBVER}}
36
37 do-build:
38         (cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \
39                 gprbuild -p -P opentoken_lib )
40
41 do-install:
42         ${MKDIR} ${STAGEDIR}${PREFIX}/lib/gnat \
43                 ${STAGEDIR}${PREFIX}/lib/opentoken \
44                 ${STAGEDIR}${PREFIX}/include/opentoken
45         ${INSTALL_DATA} ${BUILD_WRKSRC}/lib/*.ali \
46                 ${STAGEDIR}${PREFIX}/lib/opentoken
47         ${INSTALL_LIB} ${BUILD_WRKSRC}/lib/libopentoken.so.${OTLIBVER} \
48                 ${STAGEDIR}${PREFIX}/lib/opentoken/${FINALLIB}
49         (cd ${STAGEDIR}${PREFIX}/lib/opentoken && \
50                 ${LN} -s ${FINALLIB} libopentoken.${LIBEXT})
51         ${INSTALL_DATA} ${WRKSRC}/*.ad[bs] \
52                 ${WRKSRC}/Language_Lexers/*.ad[bs] \
53                 ${STAGEDIR}${PREFIX}/include/opentoken
54         ${INSTALL_DATA} ${FILESDIR}/opentoken.gpr \
55                 ${STAGEDIR}${PREFIX}/lib/gnat
56
57 [FILE:469:descriptions/desc.single]
58 OpenToken is a facility for performing token analysis and parsing within
59 the Ada language. It is designed to provide all the functionality of a
60 traditional lexical analyzer/parser generator, such as lex/yacc. But due
61 to the magic of inheritance and runtime polymorphism it is implemented
62 entirely in Ada as withed-in code. No precompilation step is required, and
63 no messy tool-generated source code is created. The tradeoff is that the
64 grammar is generated at runtime.
65
66
67 [FILE:101:distinfo]
68 785b469fcd8e3a6a69598a6288b50e5de210694ebdd0a38fc853b7392639fca8       237958 opentoken-6.0b.tar.bz2
69
70
71 [FILE:6415:manifests/plist.single]
72 include/opentoken/
73  ada_lexer.adb
74  ada_lexer.ads
75  html_lexer-basic.ads
76  html_lexer-tags.ads
77  html_lexer-task_safe.adb
78  html_lexer-task_safe.ads
79  html_lexer-task_unsafe.adb
80  html_lexer-task_unsafe.ads
81  html_lexer.adb
82  html_lexer.ads
83  java_lexer.ads
84  m3_lexer.ads
85  opentoken-production-list-print.adb
86  opentoken-production-list-print.ads
87  opentoken-production-list.adb
88  opentoken-production-list.ads
89  opentoken-production-parser-lalr-generator.adb
90  opentoken-production-parser-lalr-generator.ads
91  opentoken-production-parser-lalr-parser.adb
92  opentoken-production-parser-lalr-parser.ads
93  opentoken-production-parser-lalr-parser_lists.adb
94  opentoken-production-parser-lalr-parser_lists.ads
95  opentoken-production-parser-lalr.adb
96  opentoken-production-parser-lalr.ads
97  opentoken-production-parser-lrk_item.adb
98  opentoken-production-parser-lrk_item.ads
99  opentoken-production-parser.adb
100  opentoken-production-parser.ads
101  opentoken-production-print.adb
102  opentoken-production-print.ads
103  opentoken-production.adb
104  opentoken-production.ads
105  opentoken-recognizer-based_integer.adb
106  opentoken-recognizer-based_integer.ads
107  opentoken-recognizer-based_integer_ada_style.adb
108  opentoken-recognizer-based_integer_ada_style.ads
109  opentoken-recognizer-based_integer_java_style.adb
110  opentoken-recognizer-based_integer_java_style.ads
111  opentoken-recognizer-based_integer_real_ada.adb
112  opentoken-recognizer-based_integer_real_ada.ads
113  opentoken-recognizer-based_real_ada_style.adb
114  opentoken-recognizer-based_real_ada_style.ads
115  opentoken-recognizer-bracketed_comment.adb
116  opentoken-recognizer-bracketed_comment.ads
117  opentoken-recognizer-character_set.adb
118  opentoken-recognizer-character_set.ads
119  opentoken-recognizer-csv_field.adb
120  opentoken-recognizer-csv_field.ads
121  opentoken-recognizer-end_of_file.adb
122  opentoken-recognizer-end_of_file.ads
123  opentoken-recognizer-escape_sequence.adb
124  opentoken-recognizer-escape_sequence.ads
125  opentoken-recognizer-extended_digits.adb
126  opentoken-recognizer-extended_digits.ads
127  opentoken-recognizer-graphic_character.adb
128  opentoken-recognizer-graphic_character.ads
129  opentoken-recognizer-html_entity.adb
130  opentoken-recognizer-html_entity.ads
131  opentoken-recognizer-identifier.adb
132  opentoken-recognizer-identifier.ads
133  opentoken-recognizer-integer.adb
134  opentoken-recognizer-integer.ads
135  opentoken-recognizer-keyword.adb
136  opentoken-recognizer-keyword.ads
137  opentoken-recognizer-line_comment.adb
138  opentoken-recognizer-line_comment.ads
139  opentoken-recognizer-nothing.adb
140  opentoken-recognizer-nothing.ads
141  opentoken-recognizer-octal_escape.adb
142  opentoken-recognizer-octal_escape.ads
143  opentoken-recognizer-real.adb
144  opentoken-recognizer-real.ads
145  opentoken-recognizer-separator.adb
146  opentoken-recognizer-separator.ads
147  opentoken-recognizer-string.adb
148  opentoken-recognizer-string.ads
149  opentoken-recognizer.ads
150  opentoken-text_feeder-counted_gnat_os_lib.adb
151  opentoken-text_feeder-counted_gnat_os_lib.ads
152  opentoken-text_feeder-string.adb
153  opentoken-text_feeder-string.ads
154  opentoken-text_feeder-text_io.adb
155  opentoken-text_feeder-text_io.ads
156  opentoken-text_feeder.ads
157  opentoken-token-enumerated-analyzer.adb
158  opentoken-token-enumerated-analyzer.ads
159  opentoken-token-enumerated-identifier.adb
160  opentoken-token-enumerated-identifier.ads
161  opentoken-token-enumerated-integer.adb
162  opentoken-token-enumerated-integer.ads
163  opentoken-token-enumerated-list.adb
164  opentoken-token-enumerated-list.ads
165  opentoken-token-enumerated-nonterminal.adb
166  opentoken-token-enumerated-nonterminal.ads
167  opentoken-token-enumerated-real.adb
168  opentoken-token-enumerated-real.ads
169  opentoken-token-enumerated-string.adb
170  opentoken-token-enumerated-string.ads
171  opentoken-token-enumerated.adb
172  opentoken-token-enumerated.ads
173  opentoken-token-linked_list.adb
174  opentoken-token-linked_list.ads
175  opentoken-token-list.ads
176  opentoken-token-list_mixin.adb
177  opentoken-token-list_mixin.ads
178  opentoken-token-selection.ads
179  opentoken-token-selection_mixin.adb
180  opentoken-token-selection_mixin.ads
181  opentoken-token-sequence.ads
182  opentoken-token-sequence_mixin.adb
183  opentoken-token-sequence_mixin.ads
184  opentoken-token.adb
185  opentoken-token.ads
186  opentoken.adb
187  opentoken.ads
188  run_ada_lexer.adb
189 lib/gnat/opentoken.gpr
190 lib/opentoken/
191  ada_lexer.ali
192  html_lexer-basic.ali
193  html_lexer-tags.ali
194  html_lexer-task_safe.ali
195  html_lexer-task_unsafe.ali
196  html_lexer.ali
197  java_lexer.ali
198  libopentoken.so
199  libopentoken.so.%%OTLIBVER%%
200  m3_lexer.ali
201  opentoken-production-list-print.ali
202  opentoken-production-list.ali
203  opentoken-production-parser-lalr-generator.ali
204  opentoken-production-parser-lalr-parser.ali
205  opentoken-production-parser-lalr-parser_lists.ali
206  opentoken-production-parser-lalr.ali
207  opentoken-production-parser-lrk_item.ali
208  opentoken-production-parser.ali
209  opentoken-production-print.ali
210  opentoken-production.ali
211  opentoken-recognizer-based_integer.ali
212  opentoken-recognizer-based_integer_ada_style.ali
213  opentoken-recognizer-based_integer_java_style.ali
214  opentoken-recognizer-based_integer_real_ada.ali
215  opentoken-recognizer-based_real_ada_style.ali
216  opentoken-recognizer-bracketed_comment.ali
217  opentoken-recognizer-character_set.ali
218  opentoken-recognizer-csv_field.ali
219  opentoken-recognizer-end_of_file.ali
220  opentoken-recognizer-escape_sequence.ali
221  opentoken-recognizer-extended_digits.ali
222  opentoken-recognizer-graphic_character.ali
223  opentoken-recognizer-html_entity.ali
224  opentoken-recognizer-identifier.ali
225  opentoken-recognizer-integer.ali
226  opentoken-recognizer-keyword.ali
227  opentoken-recognizer-line_comment.ali
228  opentoken-recognizer-nothing.ali
229  opentoken-recognizer-octal_escape.ali
230  opentoken-recognizer-real.ali
231  opentoken-recognizer-separator.ali
232  opentoken-recognizer-string.ali
233  opentoken-recognizer.ali
234  opentoken-text_feeder-counted_gnat_os_lib.ali
235  opentoken-text_feeder-string.ali
236  opentoken-text_feeder-text_io.ali
237  opentoken-text_feeder.ali
238  opentoken-token-enumerated-analyzer.ali
239  opentoken-token-enumerated-identifier.ali
240  opentoken-token-enumerated-integer.ali
241  opentoken-token-enumerated-list.ali
242  opentoken-token-enumerated-nonterminal.ali
243  opentoken-token-enumerated-real.ali
244  opentoken-token-enumerated-string.ali
245  opentoken-token-enumerated.ali
246  opentoken-token-linked_list.ali
247  opentoken-token-list.ali
248  opentoken-token-list_mixin.ali
249  opentoken-token-selection.ali
250  opentoken-token-selection_mixin.ali
251  opentoken-token-sequence.ali
252  opentoken-token-sequence_mixin.ali
253  opentoken-token.ali
254  opentoken.ali
255  run_ada_lexer.ali
256
257
258 [FILE:317:patches/patch-build_common.gpr]
259 --- build/common.gpr.orig       2015-05-10 19:22:40 UTC
260 +++ build/common.gpr
261 @@ -41,7 +41,7 @@ project Common is
262           "-O2",
263           "-gnat2012",
264           "-gnatfnoqQ",
265 -         "-gnatwaeL",
266 +         "-gnatwaL",
267           "-fstack-check");
268  
269        --  The project file syntax does not let us set a variable in a
270
271
272 [FILE:381:patches/patch-build_release_opentoken.gpr]
273 --- build/release/opentoken.gpr.orig    2015-05-10 19:22:40 UTC
274 +++ build/release/opentoken.gpr
275 @@ -19,7 +19,6 @@ project OpenToken is
276     package Compiler is
277        for Default_Switches ("Ada") use
278          Common.Compiler.Release_Switches &
279 -        Common.Compiler.Style_Checks &
280          Common.Compiler'Default_Switches ("Ada");
281  
282        -- gnat pro 7.3.1 complains without this
283
284
285 [FILE:537:patches/patch-opentoken-production-parser-lalr-parser__lists.adb]
286 --- opentoken-production-parser-lalr-parser_lists.adb.orig      2015-05-10 19:22:40 UTC
287 +++ opentoken-production-parser-lalr-parser_lists.adb
288 @@ -484,7 +484,8 @@ package body OpenToken.Production.Parser
289     is
290        pragma Unreferenced (Container);
291     begin
292 -      return (Element => Position.Item'Access);
293 +      --  WORKAROUND: gcc 6 reports an error for 'Access here; this passes all tests
294 +      return (Element => Position.Item'Unrestricted_Access);
295     end Constant_Reference;
296  
297     type List_Access_Constant is access constant List;
298
299
300 [FILE:238:files/opentoken.gpr]
301 project OpenToken is
302    for Languages use ("ada");
303    for Library_Name use "opentoken";
304    for Source_Dirs use ("../../include/opentoken");
305    for Library_Dir use  "../../lib/opentoken";
306    for Externally_Built use "true";
307 end OpenToken;
308
309
310 [FILE:135:files/special.mk]
311 OTLIBVER=       5.0.0
312
313 .if "${OPSYS}" == "Darwin"
314 FINALLIB=       libopentoken.${OTLIBVER}.dylib
315 .else
316 FINALLIB=       libopentoken.so.${OTLIBVER}
317 .endif