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