notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
FreshPorts needs to find a new hosting provide willing to take a 2U chassis and host it free of charge. This is part of the FreshPorts project. Preferably in the Austin area. This is not a primary server, but it used for development.
Port details
flex Fast lexical analyzer generator
2.6.4_2 textproc on this many watch lists=33 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Version of this port present on the latest quarterly branch.
Maintainer: mandree@FreeBSD.org search for ports maintained by this maintainer
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:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (34 items)
Collapse this list.
  1. /usr/local/share/licenses/flex-2.6.4_2/catalog.mk
  2. /usr/local/share/licenses/flex-2.6.4_2/LICENSE
  3. /usr/local/share/licenses/flex-2.6.4_2/BSD3CLAUSE
  4. bin/flex
  5. bin/flex++
  6. include/flex/FlexLexer.h
  7. lib/libfl.a
  8. man/man1/flex.1.gz
  9. share/locale/ca/LC_MESSAGES/flex.mo
  10. share/locale/da/LC_MESSAGES/flex.mo
  11. share/locale/de/LC_MESSAGES/flex.mo
  12. share/locale/en@boldquot/LC_MESSAGES/flex.mo
  13. share/locale/en@quot/LC_MESSAGES/flex.mo
  14. share/locale/eo/LC_MESSAGES/flex.mo
  15. share/locale/es/LC_MESSAGES/flex.mo
  16. share/locale/fi/LC_MESSAGES/flex.mo
  17. share/locale/fr/LC_MESSAGES/flex.mo
  18. share/locale/ga/LC_MESSAGES/flex.mo
  19. share/locale/hr/LC_MESSAGES/flex.mo
  20. share/locale/ko/LC_MESSAGES/flex.mo
  21. share/locale/nl/LC_MESSAGES/flex.mo
  22. share/locale/pl/LC_MESSAGES/flex.mo
  23. share/locale/pt_BR/LC_MESSAGES/flex.mo
  24. share/locale/ro/LC_MESSAGES/flex.mo
  25. share/locale/ru/LC_MESSAGES/flex.mo
  26. share/locale/sr/LC_MESSAGES/flex.mo
  27. share/locale/sv/LC_MESSAGES/flex.mo
  28. share/locale/tr/LC_MESSAGES/flex.mo
  29. share/locale/vi/LC_MESSAGES/flex.mo
  30. share/locale/zh_CN/LC_MESSAGES/flex.mo
  31. share/locale/zh_TW/LC_MESSAGES/flex.mo
  32. @owner
  33. @group
  34. @mode
Collapse this list.
Dependency lines:
  • flex>0:textproc/flex
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:
Packages (timestamps in pop-ups are UTC):
flex
ABIlatestquarterly
FreeBSD:11:aarch642.6.42.6.4_2
FreeBSD:11:amd642.6.4_22.6.4_2
FreeBSD:11:armv62.6.12.6.4_2
FreeBSD:11:i3862.6.4_22.6.4_2
FreeBSD:11:mips--
FreeBSD:11:mips642.6.12.6.4_2
FreeBSD:12:aarch642.6.42.6.4_2
FreeBSD:12:amd642.6.4_22.6.4_2
FreeBSD:12:armv62.6.42.6.4_2
FreeBSD:12:armv72.6.42.6.4_2
FreeBSD:12:i3862.6.4_22.6.4_2
FreeBSD:12:mips--
FreeBSD:12:mips642.6.42.6.4_2
FreeBSD:12:powerpc64-2.6.4_2
FreeBSD:13:aarch642.6.4_22.6.4_2
FreeBSD:13:amd642.6.4_22.6.4_2
FreeBSD:13:armv62.6.4_22.6.4_2
FreeBSD:13:armv72.6.4_22.6.4_2
FreeBSD:13:i3862.6.4_22.6.4_2
FreeBSD:13:mips--
FreeBSD:13:mips642.6.4_22.6.4_2
FreeBSD:13:powerpc642.6.4_22.6.4_2
FreeBSD:14:aarch642.6.4_2-
FreeBSD:14:amd642.6.4_2-
FreeBSD:14:armv62.6.4_2-
FreeBSD:14:armv72.6.4_2-
FreeBSD:14:i3862.6.4_2-
FreeBSD:14:mips--
FreeBSD:14:mips642.6.4_2-
FreeBSD:14:powerpc642.6.4_2-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. help2man : misc/help2man
  2. gmake>=4.3 : devel/gmake
  3. makeinfo : print/texinfo
  4. msgfmt : devel/gettext-tools
Runtime dependencies:
  1. indexinfo : print/indexinfo
Library dependencies:
  1. libintl.so : devel/gettext-runtime
This port is required by:
for Build
  1. cad/cascade-compiler
  2. databases/mdbtools
  3. databases/slony1v2
  4. databases/virtuoso
  5. devel/cdecl
  6. devel/ghidra
  7. devel/ispc
Expand this list (56 items / 49 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. devel/kdevelop-pg-qt
  3. devel/libmatheval
  4. devel/netsurf-buildsystem
  5. devel/nsgenbind
  6. editors/libreoffice
  7. emulators/wine
  8. emulators/wine-devel
  9. emulators/wine-proton
  10. games/dreamchess
  11. graphics/qgis
  12. graphics/qgis-ltr
  13. lang/basic256
  14. lang/maude
  15. lang/parrot
  16. mail/filtermail
  17. math/openturns
  18. multimedia/libaacs
  19. net/daq
  20. net/libpcap
  21. net-mgmt/docsis
  22. science/rdkit
  23. security/openvas
  24. security/pkcs11-tools
  25. security/snort3
  26. security/zeek
  27. sysutils/grub2-bhyve
  28. sysutils/grub2-efi
  29. sysutils/grub2-pcbsd
  30. textproc/confetti
  31. textproc/libcue
  32. textproc/libwapcaplet
  33. Collapse this list.

Deleted ports which required this port:

Expand this list of 18 deleted ports
  1. devel/kBuild-devel*
  2. devel/kdevelop-pg-qt-kde4*
  3. devel/ruby-langscan*
  4. dns/knot*
  5. dns/knot1*
  6. editors/libreoffice6*
  7. emulators/wine-compholio*
  8. emulators/wine-staging*
  9. graphics/ender*
  10. lang/hiphop-php*
  11. lang/qore*
  12. lang/rakudo*
  13. mail/libmapi*
  14. math/abakus*
  15. net/opensips*
  16. sysutils/grub2*
  17. www/egueb*
  18. www/webkit-qt5*
  19. Collapse this list of deleted ports.
* - 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:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/westes/flex/releases/download/v2.6.4/
Collapse this list.

Number of commits found: 48

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
14 Oct 2021 11:02:06
 files touched by this commit commit hash:ceea17788aa3235a4b7bc41eb39cf44ae118600c  2.6.4_2
Stefan E├čer (se) search for other commits by this committer
textproc/flex: Add CPE information

Approved by:	portmgr (blanket)
05 Aug 2021 12:07:23
 files touched by this commit commit hash:828ef20174745ff612b26c16e17a40f458854ab2  2.6.4_2
Matthias Andree (mandree) search for other commits by this committer
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
 files touched by this commit commit hash:cf118ccf875508b9a1c570044c93cfcc82bd455c  2.6.4_2
Mathieu Arnold (mat) search for other commits by this committer
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  2.6.4_2
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
22 Mar 2020 23:12:35
Original commit files touched by this commit Revision:528943  2.6.4_2
mandree search for other commits by this committer
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
Original commit files touched by this commit Revision:520576  2.6.4_1
mandree search for other commits by this committer
Take maintainership.
04 Nov 2019 21:21:04
Original commit files touched by this commit Revision:516744  2.6.4_1
rene search for other commits by this committer
Returns johans's ports to the pool after safekeeping his commit bit.
10 Nov 2018 18:12:58
Original commit files touched by this commit Revision:484628  2.6.4_1
bapt search for other commits by this committer
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
Original commit files touched by this commit Revision:473146  2.6.4
yuri search for other commits by this committer
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
Original commit files touched by this commit Revision:467814  2.6.1
amdmi3 search for other commits by this committer
- Add LICENSE
- Switch to options helpers
- Update WWW

Approved by:	portmgr blanket
28 Jul 2017 21:45:20
Original commit files touched by this commit Revision:446854  2.6.1
jkim search for other commits by this committer
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
Original commit files touched by this commit Revision:424411  2.6.1  Sanity Test Failure
mat search for other commits by this committer
${RM} already has -f.

PR:		213570
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
01 Apr 2016 14:25:18
Original commit files touched by this commit Revision:412349  2.6.1
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.

With hat:	portmgr
Sponsored by:	Absolight
10 Mar 2016 21:46:53
Original commit files touched by this commit Revision:410797  2.6.1
johans search for other commits by this committer
Update flex to 2.6.1
18 Nov 2015 08:08:44
Original commit files touched by this commit Revision:401847  2.6.0
johans search for other commits by this committer
Update to flex 2.6.0
Announcement: http://sourceforge.net/p/flex/mailman/message/34626590/
Add port examples
15 Nov 2014 16:26:33
Original commit files touched by this commit Revision:372605  2.5.39_2
antoine search for other commits by this committer
Cleanup plist
01 Sep 2014 07:26:15
Original commit files touched by this commit Revision:366840  2.5.39_2
tijl search for other commits by this committer
Add USES=libtool
20 Aug 2014 00:25:18
Original commit files touched by this commit Revision:365430  2.5.39_1
grembo search for other commits by this committer
Remove deletion of LC_MESSAGES directories that are owned by devel/gettext

Reviewed by:	bdrewery
Approved by:	bdrewery
25 Jun 2014 08:58:09
Original commit files touched by this commit Revision:359209  2.5.39_1
bapt search for other commits by this committer
Fix build on system built WITHOUT_INFO

With hat:	portmgr
05 May 2014 15:51:04
Original commit files touched by this commit Revision:353028  2.5.39_1
johans search for other commits by this committer
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
Original commit files touched by this commit Revision:349396  2.5.39
johans search for other commits by this committer
Update to flex 2.5.39
21 Feb 2014 09:35:23
Original commit files touched by this commit Revision:345345  2.5.38_2
johans search for other commits by this committer
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
Original commit files touched by this commit Revision:344588  2.5.38_1
johans search for other commits by this committer
Add missing .la files to plist

Reported by:	miwi
13 Feb 2014 18:21:10
Original commit files touched by this commit Revision:344136  2.5.38
johans search for other commits by this committer
Update to flex 2.5.38
13 Jan 2014 05:41:30
Original commit files touched by this commit Revision:339569  2.5.37_1
johans search for other commits by this committer
Avoid running ranlib again during installation phase,
this fixes packaging as a regular user

Submitted by:	antoine
11 Jan 2014 20:47:00
Original commit files touched by this commit Revision:339454  2.5.37_1
johans search for other commits by this committer
Enable stage support + minor cleanups
20 Sep 2013 23:17:32
Original commit files touched by this commit Revision:327773  2.5.37_1
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc)
11 Jul 2013 04:54:06
Original commit files touched by this commit Revision:322739  2.5.37_1
johans search for other commits by this committer
Add GNU m4 as run dependency of flex

Submitted by:	antoine
27 Apr 2013 18:25:25
Original commit files touched by this commit Revision:316683  2.5.37
mva search for other commits by this committer
- 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
Original commit files touched by this commit Revision:316596  2.5.37
ak search for other commits by this committer
- Convert USE_GETTEXT to USES (part 4)

Approved by:	portmgr (bapt)
08 Mar 2013 11:32:12
Original commit files touched by this commit Revision:313635  2.5.37
bapt search for other commits by this committer
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
Original commit files touched by this commit Revision:303545  2.5.37
johans search for other commits by this committer
- Update flex to 2.5.37
- Reduce Makefile header
23 Jul 2012 20:54:13
Original commit files touched by this commit   2.5.36
johans search for other commits by this committer
Update flex to 2.5.36 (bugfix release)
27 Jun 2012 19:52:13
Original commit files touched by this commit   2.5.35_4
johans search for other commits by this committer
Convert to new options framework
03 Jul 2011 14:40:25
Original commit files touched by this commit   2.5.35_4
ohauer search for other commits by this committer
-remove MD5
31 May 2010 02:01:56
Original commit files touched by this commit   2.5.35_4
ade search for other commits by this committer
Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
26 Feb 2010 11:35:01
Original commit files touched by this commit   2.5.35_3
johans search for other commits by this committer
Fix build breakage caused by missing -E in previous commit. Oops.

Feature safe:   yes
26 Feb 2010 08:12:39
Original commit files touched by this commit   2.5.35_3
johans search for other commits by this committer
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
Original commit files touched by this commit   2.5.35_3
johans search for other commits by this committer
Update my mail address to @FreeBSD.org

Feature safe:   yes
27 Dec 2009 23:26:17
Original commit files touched by this commit   2.5.35_3
johans search for other commits by this committer
- Enable NLS
- Claim maintainership
07 Dec 2009 19:12:01
Original commit files touched by this commit   2.5.35_2
johans search for other commits by this committer
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
Original commit files touched by this commit   2.5.35_1
amdmi3 search for other commits by this committer
- Switch SourceForge ports to the new File Release System: categories starting
with T,U,V
05 Jan 2009 08:35:39
Original commit files touched by this commit   2.5.35_1
makc search for other commits by this committer
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
Original commit files touched by this commit   2.5.35
linimon search for other commits by this committer
Reset infofarmer due to maintainer-timeouts and no response to email.

Hat:    portmgr
28 Feb 2008 13:24:48
Original commit files touched by this commit   2.5.35
sat search for other commits by this committer
- Update to 2.5.35
13 Dec 2007 09:22:30
Original commit files touched by this commit   2.5.34
sat search for other commits by this committer
- Update to 2.5.34
17 Oct 2007 10:13:01
Original commit files touched by this commit   2.5.33_1
ade search for other commits by this committer
Migration from bison 1.x to 2.x

PR:             117086
Tested by:      -exp runs
13 Aug 2006 15:30:22
Original commit files touched by this commit   2.5.33
sat search for other commits by this committer
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.

Number of commits found: 48