Port details |
- flex Fast lexical analyzer generator
- 2.6.4_2 textproc
=33 Version of this port present on the latest quarterly branch. - Maintainer: mandree@FreeBSD.org
 - Port Added: 2006-08-13 15:57:21
- Last Update: 2021-10-14 11:02:06
- Commit Hash: ceea177
- People watching this port, also watch:: bison, fontconfig, libgcrypt, m4, glib
- Also Listed In: devel
- License: BSD3CLAUSE
- Description:
- Flex is a tool for generating scanners. A scanner, sometimes called a
tokenizer, is a program which recognizes lexical patterns in text. The
flex program reads user-specified input files, or its standard input
if no file names are given, for a description of a scanner to generate.
The description is in the form of pairs of regular expressions and C
code, called rules. Flex generates a C source file named, "lex.yy.c",
which defines the function yylex(). The file "lex.yy.c" can be compiled
and linked to produce an executable. When the executable is run, it
analyzes its input for occurrences of text matching the regular
expressions for each rule. Whenever it finds a match, it executes the
corresponding C code.
WWW: https://github.com/westes/flex
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/textproc/flex/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/flex
- pkg install flex
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: flex
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1529775608
SHA256 (flex-2.6.4.tar.gz) = e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995
SIZE (flex-2.6.4.tar.gz) = 1419096
- Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- help2man : misc/help2man
- gmake>=4.3 : devel/gmake
- makeinfo : print/texinfo
- msgfmt : devel/gettext-tools
- Runtime dependencies:
-
- indexinfo : print/indexinfo
- Library dependencies:
-
- libintl.so : devel/gettext-runtime
- This port is required by:
- for Build
-
- cad/cascade-compiler
- databases/mdbtools
- databases/slony1v2
- databases/virtuoso
- devel/cdecl
- devel/ghidra
- devel/ispc
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
- Configuration Options:
- ===> The following configuration options are available for flex-2.6.4_2:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
NLS=on: Native Language Support
===> Use 'make config' to modify these settings
- Options name:
- textproc_flex
- USES:
- bison:alias cpe gmake libtool makeinfo gettext iconv
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
14 Oct 2021 11:02:06 2.6.4_2 |
Stefan Eßer (se)  |
textproc/flex: Add CPE information
Approved by: portmgr (blanket) |
05 Aug 2021 12:07:23 2.6.4_2 |
Matthias Andree (mandree)  |
textproc/flex: set *_FOR_BUILD variables...
...to unbreak the build when ax_prog_cc_for_build.m4 hunts a host
compiler in path, pushing CC aside.
PR: 257622
Reported by: Evgeniy Khramtsov |
07 Apr 2021 08:09:01 2.6.4_2 |
Mathieu Arnold (mat)  |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
06 Apr 2021 14:31:07 2.6.4_2 |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
22 Mar 2020 23:12:35
2.6.4_2 |
mandree  |
textproc/flex: Remove GNU m4 and GNU bison requisites
...bapt@ reports this port works perfectly with base yacc and m4.
Submitted by: bapt@ (Baptiste Daroussin)
Differential Revision: https://reviews.freebsd.org/D24016 |
21 Dec 2019 18:23:20
2.6.4_1 |
mandree  |
Take maintainership. |
04 Nov 2019 21:21:04
2.6.4_1 |
rene  |
Returns johans's ports to the pool after safekeeping his commit bit. |
10 Nov 2018 18:12:58
2.6.4_1 |
bapt  |
Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.
Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.
Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them
Bump revision of all impacted ports
PR: 232907
exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D17816 |
23 Jun 2018 17:48:52
2.6.4 |
yuri  |
textproc/flex: Update 2.6.1 -> 2.6.4
Changelog:
https://github.com/westes/flex/releases/tag/v2.6.4
PR: 226546
Approved by: johans@FreeBSD.org (maintainer timeout; 103 days) |
20 Apr 2018 09:03:45
2.6.1 |
amdmi3  |
- Add LICENSE
- Switch to options helpers
- Update WWW
Approved by: portmgr blanket |
28 Jul 2017 21:45:20
2.6.1 |
jkim  |
Set MAKEINFO to the full path of makeinfo when USES=makeinfo is set.
PR: 221027
Reviewed by: mat
Approved by: portmgr (antoine) |
21 Oct 2016 12:51:41
2.6.1  |
mat  |
${RM} already has -f.
PR: 213570
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight |
01 Apr 2016 14:25:18
2.6.1 |
mat  |
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight |
10 Mar 2016 21:46:53
2.6.1 |
johans  |
Update flex to 2.6.1 |
18 Nov 2015 08:08:44
2.6.0 |
johans  |
Update to flex 2.6.0
Announcement: http://sourceforge.net/p/flex/mailman/message/34626590/
Add port examples |
15 Nov 2014 16:26:33
2.5.39_2 |
antoine  |
Cleanup plist |
01 Sep 2014 07:26:15
2.5.39_2 |
tijl  |
Add USES=libtool |
20 Aug 2014 00:25:18
2.5.39_1 |
grembo  |
Remove deletion of LC_MESSAGES directories that are owned by devel/gettext
Reviewed by: bdrewery
Approved by: bdrewery |
25 Jun 2014 08:58:09
2.5.39_1 |
bapt  |
Fix build on system built WITHOUT_INFO
With hat: portmgr |
05 May 2014 15:51:04
2.5.39_1 |
johans  |
Make sure static library libfl_pic.a contains position independent code.
This fixes compilation of ports that insist on linking this library
into a shared object file (specifically devel/libmatheval).
While here, remove unused ranlib patch lines.
PR: ports/189323
Submitted by: tijl |
28 Mar 2014 08:56:42
2.5.39 |
johans  |
Update to flex 2.5.39 |
21 Feb 2014 09:35:23
2.5.38_2 |
johans  |
Disable installation of shared libraries.
These cause problems with several ports.
PR: ports/186790
Submitted by: Matthew Rezny <matthew@reztek.cz> and others |
16 Feb 2014 15:55:37
2.5.38_1 |
johans  |
Add missing .la files to plist
Reported by: miwi |
13 Feb 2014 18:21:10
2.5.38 |
johans  |
Update to flex 2.5.38 |
13 Jan 2014 05:41:30
2.5.37_1 |
johans  |
Avoid running ranlib again during installation phase,
this fixes packaging as a regular user
Submitted by: antoine |
11 Jan 2014 20:47:00
2.5.37_1 |
johans  |
Enable stage support + minor cleanups |
20 Sep 2013 23:17:32
2.5.37_1 |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc) |
11 Jul 2013 04:54:06
2.5.37_1 |
johans  |
Add GNU m4 as run dependency of flex
Submitted by: antoine |
27 Apr 2013 18:25:25
2.5.37 |
mva  |
- Convert USE_ICONV=yes to USES=iconv
- Change USE_GNOME=pkgconfig|gnomehack to USES=pathfix|pkgconfig and
USE_GETTEXT=yes to USES=gettext while here |
26 Apr 2013 10:44:29
2.5.37 |
ak  |
- Convert USE_GETTEXT to USES (part 4)
Approved by: portmgr (bapt) |
08 Mar 2013 11:32:12
2.5.37 |
bapt  |
Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build
it brings bison as a run dependency in case it is set the following way:
USES= bison:run
it brings bison both as a run and build dependency in case it the set the
following way:
USES= bison:both
While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix |
02 Sep 2012 11:48:12
2.5.37 |
johans  |
- Update flex to 2.5.37
- Reduce Makefile header |
23 Jul 2012 20:54:13
2.5.36 |
johans  |
Update flex to 2.5.36 (bugfix release) |
27 Jun 2012 19:52:13
2.5.35_4 |
johans  |
Convert to new options framework |
03 Jul 2011 14:40:25
2.5.35_4 |
ohauer  |
-remove MD5 |
31 May 2010 02:01:56
2.5.35_4 |
ade  |
Bounce PORTREVISION for gettext-related ports. Have fun, ya'll. |
26 Feb 2010 11:35:01
2.5.35_3 |
johans  |
Fix build breakage caused by missing -E in previous commit. Oops.
Feature safe: yes |
26 Feb 2010 08:12:39
2.5.35_3 |
johans  |
Fix port installation for the INSTALL_AS_USER case.
This doesn't affect regular (root) installs.
PR: ports/143933
Submitted by: gerald
Feature safe: yes |
23 Feb 2010 18:07:14
2.5.35_3 |
johans  |
Update my mail address to @FreeBSD.org
Feature safe: yes |
27 Dec 2009 23:26:17
2.5.35_3 |
johans  |
- Enable NLS
- Claim maintainership |
07 Dec 2009 19:12:01
2.5.35_2 |
johans  |
Install additional info file.
The flex man page is very brief and points to this info file.
PR: ports/139163
Submitted by: Anonymous <swell.k@gmail.com> |
22 Aug 2009 00:37:17
2.5.35_1 |
amdmi3  |
- Switch SourceForge ports to the new File Release System: categories starting
with T,U,V |
05 Jan 2009 08:35:39
2.5.35_1 |
makc  |
install flex header to include/flex, thus resolve build problem for those, who
use system flex (e.g. ports/126520)
Submitted by: Andy Fawcett via irc
Approved by: miwi (mentor) |
07 Sep 2008 00:19:05
2.5.35 |
linimon  |
Reset infofarmer due to maintainer-timeouts and no response to email.
Hat: portmgr |
28 Feb 2008 13:24:48
2.5.35 |
sat  |
- Update to 2.5.35 |
13 Dec 2007 09:22:30
2.5.34 |
sat  |
- Update to 2.5.34 |
17 Oct 2007 10:13:01
2.5.33_1 |
ade  |
Migration from bison 1.x to 2.x
PR: 117086
Tested by: -exp runs |
13 Aug 2006 15:30:22
2.5.33 |
sat  |
Add port textproc/flex:
Flex is a tool for generating scanners. A scanner, sometimes called a
tokenizer, is a program which recognizes lexical patterns in text. The
flex program reads user-specified input files, or its standard input
if no file names are given, for a description of a scanner to generate.
The description is in the form of pairs of regular expressions and C
code, called rules. Flex generates a C source file named, "lex.yy.c",
which defines the function yylex(). The file "lex.yy.c" can be compiled
and linked to produce an executable. When the executable is run, it
analyzes its input for occurrences of text matching the regular
expressions for each rule. Whenever it finds a match, it executes the
corresponding C code.
WWW: http://flex.sourceforge.net/
Note that there's flex 2.5.4 in the base system. This port provides
a newer version for programs that require it, textproc/xxdiff for one. |