FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

I am looking for an LTO tape library. Do you have one to spare?
Port details
flex 2.5.39_1 textproc on this many watch lists=37 search for ports that depend on this port
Fast lexical analyzer generator
Maintained by: johans@FreeBSD.org search for ports maintained by this maintainer
Port Added: 13 Aug 2006 15:57:21
License: not specified in port


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/
SVNWeb : Main Web Site : Distfiles Availability : PortsMon

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Required To Build:
  1. misc/help2man
  2. devel/m4
  3. devel/bison
  4. devel/gmake
  5. print/texinfo-lite
Required To Run:
  1. devel/m4
  2. print/texinfo-lite
Required Libraries:
  1. devel/gettext
  2. converters/libiconv

This port is required by:

for Build * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

To install the port: cd /usr/ports/textproc/flex/ && make install clean
To add the package: pkg install textproc/flex


Configuration Options
===> The following configuration options are available for flex-2.5.39_1:
     DOCS=on: Build and/or install documentation
     NLS=on: Native Language Support
===> Use 'make config' to modify these settings

Master Sites:
  1. http://aarnet.dl.sourceforge.net/project/flex/
  2. http://distcache.FreeBSD.org/ports-distfiles/
  3. http://downloads.sourceforge.net/project/flex/
  4. http://freefr.dl.sourceforge.net/project/flex/
  5. http://garr.dl.sourceforge.net/project/flex/
  6. http://heanet.dl.sourceforge.net/project/flex/
  7. http://hivelocity.dl.sourceforge.net/project/flex/
  8. http://ignum.dl.sourceforge.net/project/flex/
  9. http://internode.dl.sourceforge.net/project/flex/
  10. http://iweb.dl.sourceforge.net/project/flex/
  11. http://jaist.dl.sourceforge.net/project/flex/
  12. http://kaz.dl.sourceforge.net/project/flex/
  13. http://kent.dl.sourceforge.net/project/flex/
  14. http://master.dl.sourceforge.net/project/flex/
  15. http://nchc.dl.sourceforge.net/project/flex/
  16. http://ncu.dl.sourceforge.net/project/flex/
  17. http://netcologne.dl.sourceforge.net/project/flex/
  18. http://sunet.dl.sourceforge.net/project/flex/
  19. http://superb-dca3.dl.sourceforge.net/project/flex/
  20. http://switch.dl.sourceforge.net/project/flex/
  21. http://tenet.dl.sourceforge.net/project/flex/
  22. http://ufpr.dl.sourceforge.net/project/flex/
  23. http://waix.dl.sourceforge.net/project/flex/

Number of commits found: 30

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
25 Jun 2014 08:58:09
Original commit files touched by this commit  2.5.39_1
Revision:359209
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  2.5.39_1
Revision:353028
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  2.5.39
Revision:349396
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  2.5.38_2
Revision:345345
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  2.5.38_1
Revision:344588
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  2.5.38
Revision:344136
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  2.5.37_1
Revision:339569
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  2.5.37_1
Revision:339454
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  2.5.37_1
Revision:327773
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  2.5.37_1
Revision:322739
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  2.5.37
Revision:316683
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  2.5.37
Revision:316596
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  2.5.37
Revision:313635
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  2.5.37
Revision:303545
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: 30

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
bugzilla44Jul 25
apache22Jul 24
apache22-event-mpmJul 24
apache22-itk-mpmJul 24
apache22-peruser-mpmJul 24
apache22-worker-mpmJul 24
firefoxJul 23
firefox-develJul 23
firefox-esrJul 23
firefox10Jul 23
firefox15Jul 23
firefox3Jul 23
firefox3-develJul 23
firefox35Jul 23
firefox36Jul 23

11 vulnerabilities affecting 32 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds


Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 24408
Broken 180
Deprecated 862
Ignore 515
Forbidden 16
Restricted 263
No CDROM 102
Vulnerable 27
Expired 1
Set to expire 849
Interactive 13
new 24 hours 2
new 48 hours4
new 7 days14
new fortnight45
new month104

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.