summaryrefslogtreecommitdiff
path: root/devel/flex
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-07-01 09:23:23 +0000
committeragc <agc@pkgsrc.org>1999-07-01 09:23:23 +0000
commit53c7aa65db667180b5db3c2ac08378057905d7d0 (patch)
treeca31bacb27af89c8266984edcfdb07a770dce3a9 /devel/flex
parent3ad1f5f8eba02b71412f55b0edf1ff319275b2b5 (diff)
downloadpkgsrc-53c7aa65db667180b5db3c2ac08378057905d7d0.tar.gz
Initial import of flex, the fast clone of lex(1), the lexical scanner
generator, into the NetBSD packages collection. This package is only for Solaris - it is part of the base NetBSD system.
Diffstat (limited to 'devel/flex')
-rw-r--r--devel/flex/Makefile17
-rw-r--r--devel/flex/files/md53
-rw-r--r--devel/flex/pkg/COMMENT1
-rw-r--r--devel/flex/pkg/DESCR10
-rw-r--r--devel/flex/pkg/PLIST6
5 files changed, 37 insertions, 0 deletions
diff --git a/devel/flex/Makefile b/devel/flex/Makefile
new file mode 100644
index 00000000000..343eefac0d3
--- /dev/null
+++ b/devel/flex/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/07/01 09:23:23 agc Exp $
+#
+
+DISTNAME= flex-2.5.4a
+CATEGORIES= lang
+MASTER_SITES= ${MASTER_SITE_GNU:=flex/}
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE=
+
+NOT_FOR_PLATFORM= NetBSD-*-* # In NetBSD base system
+
+WRKSRC= ${WRKDIR}/flex-2.5.4
+
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/flex/files/md5 b/devel/flex/files/md5
new file mode 100644
index 00000000000..a619c6444a7
--- /dev/null
+++ b/devel/flex/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/07/01 09:23:24 agc Exp $
+
+MD5 (flex-2.5.4a.tar.gz) = bd8753d0b22e1f4ec87a553a73021adf
diff --git a/devel/flex/pkg/COMMENT b/devel/flex/pkg/COMMENT
new file mode 100644
index 00000000000..61e82d90a9e
--- /dev/null
+++ b/devel/flex/pkg/COMMENT
@@ -0,0 +1 @@
+fast clone of lex(1), the lexical scanner generator
diff --git a/devel/flex/pkg/DESCR b/devel/flex/pkg/DESCR
new file mode 100644
index 00000000000..f2e2c905235
--- /dev/null
+++ b/devel/flex/pkg/DESCR
@@ -0,0 +1,10 @@
+flex is a tool for generating scanners: programs which recognized
+lexical patterns in text. flex reads the given 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 as
+output a C source file, lex.yy.c, which defines a routine yylex().
+This file is compiled and linked with the -lfl library to produce an
+executable. When the executable is run, it analyzes its input for
+occurrences of the regular expressions. Whenever it finds one, it
+executes the corresponding C code.
diff --git a/devel/flex/pkg/PLIST b/devel/flex/pkg/PLIST
new file mode 100644
index 00000000000..8a50c2ab7f8
--- /dev/null
+++ b/devel/flex/pkg/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/07/01 09:23:24 agc Exp $
+bin/flex
+bin/flex++
+include/FlexLexer.h
+lib/libfl.a
+man/man1/flex.1