Ravenports generated: 01 Jun 2017 11:45
[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
34 INFO=                   primary:flex
35 FPC_EQUIVALENT=         textproc/flex
36 INFO_SUBDIR=            .
37
38 MUST_CONFIGURE=         gnu
39 CONFIGURE_ARGS=         --includedir={{PREFIX}}/include/flex
40                         --disable-shared
41 CONFIGURE_ENV=          M4={{LOCALBASE}}/bin/gm4
42
43 INSTALL_TARGET=         install-strip
44
45 [NLS].CONFIGURE_ENABLE_BOTH=            nls
46 [NLS].USES_ON=                          gettext-runtime
47
48 post-patch:
49         ${REINPLACE_CMD} -Ee 's/tests//' \
50                 -e '/mode=compile ..CC/s/\\$$/-fPIC -DPIC &/' \
51                 ${WRKSRC}/Makefile.in
52
53 post-install-NLS-ON:
54         ${RM} -r ${STAGEDIR}${STD_EXAMPLESDIR}
55
56 post-install:
57         ${MKDIR} ${STAGEDIR}${STD_EXAMPLESDIR}
58         (cd ${WRKSRC}/examples \
59                 && ${COPYTREE_SHARE} . ${STAGEDIR}${STD_EXAMPLESDIR})
60         ${RM} ${STAGEDIR}${STD_EXAMPLESDIR}/Makefile.am
61         ${RM} -r ${STAGEDIR}${STD_DOCDIR}
62
63 [FILE:717:descriptions/desc.primary]
64 Flex is a tool for generating scanners. A scanner, sometimes called a
65 tokenizer, is a program which recognizes lexical patterns in text. The
66 flex program reads user-specified input files, or its standard input
67 if no file names are given, for a description of a scanner to generate.
68 The description is in the form of pairs of regular expressions and C
69 code, called rules. Flex generates a C source file named, "lex.yy.c",
70 which defines the function yylex(). The file "lex.yy.c" can be compiled
71 and linked to produce an executable. When the executable is run, it
72 analyzes its input for occurrences of text matching the regular
73 expressions for each rule. Whenever it finds a match, it executes the
74 corresponding C code.
75
76
77 [FILE:96:distinfo]
78 3c43f9e658e45e8aae3cf69fa11803d60550865f023852830d557c5f0623c13b      1446361 flex-2.6.1.tar.gz
79
80
81 [FILE:96:manifests/plist.primary.standard]
82 bin/
83  flex
84  flex++
85 include/flex/FlexLexer.h
86 lib/
87  libfl.a
88  libfl_pic.a
89 share/man/man1/flex.1.gz
90
91
92 [FILE:947:manifests/plist.primary.nls]
93 bin/
94  flex
95  flex++
96 include/flex/FlexLexer.h
97 lib/
98  libfl.a
99  libfl_pic.a
100 share/man/man1/flex.1.gz
101 share/locale/ca/LC_MESSAGES/flex.mo
102 share/locale/da/LC_MESSAGES/flex.mo
103 share/locale/de/LC_MESSAGES/flex.mo
104 share/locale/en@boldquot/LC_MESSAGES/flex.mo
105 share/locale/en@quot/LC_MESSAGES/flex.mo
106 share/locale/eo/LC_MESSAGES/flex.mo
107 share/locale/es/LC_MESSAGES/flex.mo
108 share/locale/fi/LC_MESSAGES/flex.mo
109 share/locale/fr/LC_MESSAGES/flex.mo
110 share/locale/ga/LC_MESSAGES/flex.mo
111 share/locale/hr/LC_MESSAGES/flex.mo
112 share/locale/ko/LC_MESSAGES/flex.mo
113 share/locale/nl/LC_MESSAGES/flex.mo
114 share/locale/pl/LC_MESSAGES/flex.mo
115 share/locale/pt_BR/LC_MESSAGES/flex.mo
116 share/locale/ro/LC_MESSAGES/flex.mo
117 share/locale/ru/LC_MESSAGES/flex.mo
118 share/locale/sr/LC_MESSAGES/flex.mo
119 share/locale/sv/LC_MESSAGES/flex.mo
120 share/locale/tr/LC_MESSAGES/flex.mo
121 share/locale/vi/LC_MESSAGES/flex.mo
122 share/locale/zh_CN/LC_MESSAGES/flex.mo
123 share/locale/zh_TW/LC_MESSAGES/flex.mo
124