Ravenports generated: 28 Sep 2022 13:54
[ravenports.git] / bucket_60 / flex
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               flex
4 VERSION=                2.6.4
5 REVISION=               2
6 KEYWORDS=               textproc
7 VARIANTS=               standard ravensys
8 SDESC[ravensys]=        Fast lexical analyzer generator for raven sysroot
9 SDESC[standard]=        Fast lexical analyzer generator
10 HOMEPAGE=               https://github.com/westes/flex
11 CONTACT=                nobody
12
13 DOWNLOAD_GROUPS=        main
14 SITES[main]=            https://github.com/westes/flex/releases/download/v2.6.4/
15 DISTFILE[1]=            flex-2.6.4.tar.gz:main
16 DF_INDEX=               1
17 SPKGS[ravensys]=        primary
18 SPKGS[standard]=        complete
19                         primary
20                         examples
21                         nls
22
23 OPTIONS_AVAILABLE=      RAVENSYS
24 OPTIONS_STANDARD=       none
25 VOPTS[ravensys]=        RAVENSYS=ON
26
27 BUILD_DEPENDS=          help2man:single:standard
28 BUILDRUN_DEPENDS=       m4:primary:standard
29
30 USES=                   cpe bison gmake libtool
31
32 LICENSE=                BSD2CLAUSE:primary
33 LICENSE_FILE=           BSD2CLAUSE:{{WRKSRC}}/COPYING
34 LICENSE_SCHEME=         solo
35
36 INFO=                   primary:flex
37 CPE_VENDOR=             flex_project
38 FPC_EQUIVALENT=         textproc/flex
39 INFO_SUBDIR=            .
40
41 MUST_CONFIGURE=         gnu
42 CONFIGURE_ARGS=         --includedir={{PREFIX}}/include/flex
43 CONFIGURE_ENV=          M4={{LOCALBASE}}/bin/gm4
44
45 INSTALL_TARGET=         install-strip
46 SOVERSION=              2.0.0
47
48 VAR_OPSYS[netbsd]=      CONFIGURE_ENV=ac_cv_func_reallocarray=no
49
50 [RAVENSYS].DESCRIPTION=                 For ravensys-root - built without NLS
51 [RAVENSYS].CONFIGURE_ARGS_OFF=          --enable-nls
52                                         --enable-shared
53 [RAVENSYS].CONFIGURE_ARGS_ON=           --disable-nls
54                                         --disable-shared
55 [RAVENSYS].USES_OFF=                    gettext-runtime
56
57 post-patch:
58         ${REINPLACE_CMD} -Ee 's/tests//' \
59                 -e '/mode=compile ..CC/s/\\$$/-fPIC -DPIC &/' \
60                 ${WRKSRC}/Makefile.in
61
62 post-install-RAVENSYS-OFF:
63         ${MKDIR} ${STAGEDIR}${STD_EXAMPLESDIR}
64         (cd ${WRKSRC}/examples \
65                 && ${COPYTREE_SHARE} . ${STAGEDIR}${STD_EXAMPLESDIR})
66         ${RM} ${STAGEDIR}${STD_EXAMPLESDIR}/Makefile.am
67
68 post-install:
69         ${RM} -r ${STAGEDIR}${STD_DOCDIR}
70
71 [FILE:717:descriptions/desc.primary]
72 Flex is a tool for generating scanners. A scanner, sometimes called a
73 tokenizer, is a program which recognizes lexical patterns in text. The
74 flex program reads user-specified input files, or its standard input
75 if no file names are given, for a description of a scanner to generate.
76 The description is in the form of pairs of regular expressions and C
77 code, called rules. Flex generates a C source file named, "lex.yy.c",
78 which defines the function yylex(). The file "lex.yy.c" can be compiled
79 and linked to produce an executable. When the executable is run, it
80 analyzes its input for occurrences of text matching the regular
81 expressions for each rule. Whenever it finds a match, it executes the
82 corresponding C code.
83
84
85 [FILE:96:distinfo]
86 e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995      1419096 flex-2.6.4.tar.gz
87
88
89 [FILE:158:manifests/plist.primary]
90 %%RAVENSYS-OFF%%lib/
91  libfl.so
92  libfl.so.%%SOMAJOR%%
93  libfl.so.%%SOVERSION%%
94 bin/
95  flex
96  flex++
97 include/flex/FlexLexer.h
98 lib/libfl.a
99 share/man/man1/flex.1.gz
100
101
102 [FILE:851:manifests/plist.nls]
103 share/locale/ca/LC_MESSAGES/flex.mo
104 share/locale/da/LC_MESSAGES/flex.mo
105 share/locale/de/LC_MESSAGES/flex.mo
106 share/locale/en@boldquot/LC_MESSAGES/flex.mo
107 share/locale/en@quot/LC_MESSAGES/flex.mo
108 share/locale/eo/LC_MESSAGES/flex.mo
109 share/locale/es/LC_MESSAGES/flex.mo
110 share/locale/fi/LC_MESSAGES/flex.mo
111 share/locale/fr/LC_MESSAGES/flex.mo
112 share/locale/ga/LC_MESSAGES/flex.mo
113 share/locale/hr/LC_MESSAGES/flex.mo
114 share/locale/ko/LC_MESSAGES/flex.mo
115 share/locale/nl/LC_MESSAGES/flex.mo
116 share/locale/pl/LC_MESSAGES/flex.mo
117 share/locale/pt_BR/LC_MESSAGES/flex.mo
118 share/locale/ro/LC_MESSAGES/flex.mo
119 share/locale/ru/LC_MESSAGES/flex.mo
120 share/locale/sr/LC_MESSAGES/flex.mo
121 share/locale/sv/LC_MESSAGES/flex.mo
122 share/locale/tr/LC_MESSAGES/flex.mo
123 share/locale/vi/LC_MESSAGES/flex.mo
124 share/locale/zh_CN/LC_MESSAGES/flex.mo
125 share/locale/zh_TW/LC_MESSAGES/flex.mo
126