Port details |
- flex Fast lexical analyzer generator
- 2.6.4_3 textproc =35 2.6.4_3Version of this port present on the latest quarterly branch.
- Maintainer: mandree@FreeBSD.org
- Port Added: 2006-08-13 15:57:21
- Last Update: 2024-01-23 21:51:25
- Commit Hash: 2f9710a
- People watching this port, also watch:: tiff, fontconfig, m4, bison, libgcrypt
- Also Listed In: devel
- License: BSD3CLAUSE
- WWW:
- https://github.com/westes/flex
- 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- 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
- gettext-runtime>=0.22_1 : devel/gettext-runtime
- 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
- devel/cbmc
- devel/cdecl
- devel/creduce
- 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_3:
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: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.6.4_3 23 Jan 2024 21:51:25 |
Muhammad Moinur Rahman (bofh) |
textproc/flex: Impelled to share/man
Approved by: portmgr (blanket) |
07 Sep 2022 21:58:51 |
Stefan Eßer (se) |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
2.6.4_2 07 Sep 2022 21:10:59 |
Stefan Eßer (se) |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
2.6.4_2 14 Oct 2021 11:02:06 |
Stefan Eßer (se) |
textproc/flex: Add CPE information
Approved by: portmgr (blanket) |
2.6.4_2 05 Aug 2021 12:07:23 |
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 |
2.6.4_2 07 Apr 2021 08:09:01 |
Mathieu Arnold (mat) |
One more small cleanup, forgotten yesterday.
Reported by: lwhsu |
2.6.4_2 06 Apr 2021 14:31:07 |
Mathieu Arnold (mat) |
Remove # $FreeBSD$ from Makefiles. |
2.6.4_2 22 Mar 2020 23:12:35 |
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 |
2.6.4_1 21 Dec 2019 18:23:20 |
mandree |
Take maintainership. |
2.6.4_1 04 Nov 2019 21:21:04 |
rene |
Returns johans's ports to the pool after safekeeping his commit bit. |
2.6.4_1 10 Nov 2018 18:12:58 |
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 |
2.6.4 23 Jun 2018 17:48:52 |
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) |
2.6.1 20 Apr 2018 09:03:45 |
amdmi3 |
- Add LICENSE
- Switch to options helpers
- Update WWW
Approved by: portmgr blanket |
2.6.1 28 Jul 2017 21:45:20 |
jkim |
Set MAKEINFO to the full path of makeinfo when USES=makeinfo is set.
PR: 221027
Reviewed by: mat
Approved by: portmgr (antoine) |
2.6.1 21 Oct 2016 12:51:41 |
mat |
${RM} already has -f.
PR: 213570
Submitted by: mat
Exp-run by: antoine
Sponsored by: Absolight |
2.6.1 01 Apr 2016 14:25:18 |
mat |
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight |
2.6.1 10 Mar 2016 21:46:53 |
johans |
Update flex to 2.6.1 |
2.6.0 18 Nov 2015 08:08:44 |
johans |
Update to flex 2.6.0
Announcement: http://sourceforge.net/p/flex/mailman/message/34626590/
Add port examples |
2.5.39_2 15 Nov 2014 16:26:33 |
antoine |
Cleanup plist |
2.5.39_2 01 Sep 2014 07:26:15 |
tijl |
Add USES=libtool |
2.5.39_1 20 Aug 2014 00:25:18 |
grembo |
Remove deletion of LC_MESSAGES directories that are owned by devel/gettext
Reviewed by: bdrewery
Approved by: bdrewery |
2.5.39_1 25 Jun 2014 08:58:09 |
bapt |
Fix build on system built WITHOUT_INFO
With hat: portmgr |
2.5.39_1 05 May 2014 15:51:04 |
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 |
2.5.39 28 Mar 2014 08:56:42 |
johans |
Update to flex 2.5.39 |
2.5.38_2 21 Feb 2014 09:35:23 |
johans |
Disable installation of shared libraries.
These cause problems with several ports.
PR: ports/186790
Submitted by: Matthew Rezny <matthew@reztek.cz> and others |
2.5.38_1 16 Feb 2014 15:55:37 |
johans |
Add missing .la files to plist
Reported by: miwi |
2.5.38 13 Feb 2014 18:21:10 |
johans |
Update to flex 2.5.38 |
2.5.37_1 13 Jan 2014 05:41:30 |
johans |
Avoid running ranlib again during installation phase,
this fixes packaging as a regular user
Submitted by: antoine |
2.5.37_1 11 Jan 2014 20:47:00 |
johans |
Enable stage support + minor cleanups |
2.5.37_1 20 Sep 2013 23:17:32 |
bapt |
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc) |
2.5.37_1 11 Jul 2013 04:54:06 |
johans |
Add GNU m4 as run dependency of flex
Submitted by: antoine |
2.5.37 27 Apr 2013 18:25:25 |
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 |
2.5.37 26 Apr 2013 10:44:29 |
ak |
- Convert USE_GETTEXT to USES (part 4)
Approved by: portmgr (bapt) |
2.5.37 08 Mar 2013 11:32:12 |
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 |
2.5.37 02 Sep 2012 11:48:12 |
johans |
- Update flex to 2.5.37
- Reduce Makefile header |
2.5.36 23 Jul 2012 20:54:13 |
johans |
Update flex to 2.5.36 (bugfix release) |
2.5.35_4 27 Jun 2012 19:52:13 |
johans |
Convert to new options framework |
2.5.35_4 03 Jul 2011 14:40:25 |
ohauer |
-remove MD5 |
2.5.35_4 31 May 2010 02:01:56 |
ade |
Bounce PORTREVISION for gettext-related ports. Have fun, ya'll. |
2.5.35_3 26 Feb 2010 11:35:01 |
johans |
Fix build breakage caused by missing -E in previous commit. Oops.
Feature safe: yes |
2.5.35_3 26 Feb 2010 08:12:39 |
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 |
2.5.35_3 23 Feb 2010 18:07:14 |
johans |
Update my mail address to @FreeBSD.org
Feature safe: yes |
2.5.35_3 27 Dec 2009 23:26:17 |
johans |
- Enable NLS
- Claim maintainership |
2.5.35_2 07 Dec 2009 19:12:01 |
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> |
2.5.35_1 22 Aug 2009 00:37:17 |
amdmi3 |
- Switch SourceForge ports to the new File Release System: categories starting
with T,U,V |
2.5.35_1 05 Jan 2009 08:35:39 |
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) |
2.5.35 07 Sep 2008 00:19:05 |
linimon |
Reset infofarmer due to maintainer-timeouts and no response to email.
Hat: portmgr |
2.5.35 28 Feb 2008 13:24:48 |
sat |
- Update to 2.5.35 |
2.5.34 13 Dec 2007 09:22:30 |
sat |
- Update to 2.5.34 |
2.5.33_1 17 Oct 2007 10:13:01 |
ade |
Migration from bison 1.x to 2.x
PR: 117086
Tested by: -exp runs |
2.5.33 13 Aug 2006 15:30:22 |
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. |