textproc/flex 2.6.4_3 FreeBSD
Fast lexical analyzer generator
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD3CLAUSE
- Categories
- textproc, devel
- Package size
- 301.5 KiB, 1277.0 KiB installed
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.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | textproc/flex | 2.6.4_3 |
| NetBSD | devel/flex | 2.6.4 |
| DragonFly | textproc/flex | 2.6.4_3 |
| MidnightBSD | textproc/flex | 2.6.4 |
Install
Binary package:
pkg install flex
From the ports tree:
cd /usr/ports/textproc/flex/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= flex>0:textproc/flex
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 2.6.4_3 | 2.6.4_3 | 2.6.4_2 | 2.6.4_3 | 2.6.4_3 |
| FreeBSD:14:quarterly | 2.6.4_3 | 2.6.4_3 | n/a | 2.6.4_3 | 2.6.4_3 |
| FreeBSD:15:latest | 2.6.4_3 | 2.6.4_3 | n/a | 2.6.4_3 | 2.6.4_3 |
| FreeBSD:15:quarterly | 2.6.4_3 | 2.6.4_3 | n/a | n/a | n/a |
| FreeBSD:16:latest | 2.6.4_3 | 2.6.4_3 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
help2man: misc/help2man
The full lists below include those, and their dependencies in turn.
Build dependencies 20
- converters/libiconv
- converters/p5-Text-Unidecode
- devel/gettext-runtime
- devel/gettext-tools
- devel/gmake
- devel/libffi
- devel/libtextstyle
- devel/libunistring
- devel/p5-Locale-gettext
- devel/p5-Locale-libintl
- devel/readline
- lang/perl5.42
- lang/python312
- math/mpdecimal
- misc/help2man
- print/indexinfo
- print/texinfo
- textproc/expat2
- textproc/libxml2
- textproc/p5-Unicode-EastAsianWidth
Run dependencies 2
Required by 34
- cad/cascade-compiler
- cad/xschem
- databases/mdbtools
- databases/slony1v2
- devel/cbmc
- devel/cdecl
- devel/creduce
- devel/ispc
- devel/kdevelop-pg-qt
- devel/libmatheval
- devel/netsurf-buildsystem
- devel/nsgenbind
- emulators/wine
- emulators/wine-devel
- emulators/wine-proton
- games/dreamchess
- lang/basic256
- lang/maude
- math/igraph
- math/openturns
- math/py-igraph
- multimedia/libaacs
- net-mgmt/docsis
- net/daq
- net/libpcap
- science/rdkit
- security/openvas
- security/pkcs11-tools
- security/zeek
- sysutils/grub2-bhyve
- sysutils/grub2-efi
- sysutils/grub2-pcbsd
- textproc/libcue
- textproc/libwapcaplet
Configuration
Options name: textproc_flex
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
| EXAMPLES | off | Build and/or install examples |
| NLS | off | Native Language Support |
- USES
- bison:alias cpe gmake libtool makeinfo
- Service scripts
- none
Files
Manual pages 1
- flex(1)
pkg-plist 28
- bin/flex
- bin/flex++
- include/flex/FlexLexer.h
- lib/libfl.a
- share/man/man1/flex.1.gz
- share/locale/ca/LC_MESSAGES/flex.mo
- share/locale/da/LC_MESSAGES/flex.mo
- share/locale/de/LC_MESSAGES/flex.mo
- share/locale/en@boldquot/LC_MESSAGES/flex.mo
- share/locale/en@quot/LC_MESSAGES/flex.mo
- share/locale/eo/LC_MESSAGES/flex.mo
- share/locale/es/LC_MESSAGES/flex.mo
- share/locale/fi/LC_MESSAGES/flex.mo
- share/locale/fr/LC_MESSAGES/flex.mo
- share/locale/ga/LC_MESSAGES/flex.mo
- share/locale/hr/LC_MESSAGES/flex.mo
- share/locale/ko/LC_MESSAGES/flex.mo
- share/locale/nl/LC_MESSAGES/flex.mo
- share/locale/pl/LC_MESSAGES/flex.mo
- share/locale/pt_BR/LC_MESSAGES/flex.mo
- share/locale/ro/LC_MESSAGES/flex.mo
- share/locale/ru/LC_MESSAGES/flex.mo
- share/locale/sr/LC_MESSAGES/flex.mo
- share/locale/sv/LC_MESSAGES/flex.mo
- share/locale/tr/LC_MESSAGES/flex.mo
- share/locale/vi/LC_MESSAGES/flex.mo
- share/locale/zh_CN/LC_MESSAGES/flex.mo
- share/locale/zh_TW/LC_MESSAGES/flex.mo
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| flex-2.6.4.tar.gz | 1.419096e+06 | e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 |
Master sites 1
- https://github.com/westes/flex/releases/download/v2.6.4/
Commit history 0
No commits in the history this site was built from.