BSD Ports

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

SystemPortVersion
FreeBSDtextproc/flex2.6.4_3
NetBSDdevel/flex2.6.4
DragonFlytextproc/flex2.6.4_3
MidnightBSDtextproc/flex2.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.6.4_32.6.4_32.6.4_22.6.4_32.6.4_3
FreeBSD:14:quarterly2.6.4_32.6.4_3n/a2.6.4_32.6.4_3
FreeBSD:15:latest2.6.4_32.6.4_3n/a2.6.4_32.6.4_3
FreeBSD:15:quarterly2.6.4_32.6.4_3n/an/an/a
FreeBSD:16:latest2.6.4_32.6.4_3n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 20
Run dependencies 2

Configuration

Options name: textproc_flex

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
NLSoffNative 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
FileSizeSHA256
flex-2.6.4.tar.gz1.419096e+06e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995
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.