diff options
author | bouyer <bouyer@pkgsrc.org> | 2000-06-21 11:42:46 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2000-06-21 11:42:46 +0000 |
commit | 057d69bd6c7964da23f0b880cf9cbec9a3699f5a (patch) | |
tree | 1ad13507e00cfa9690abfee632af5919bd3afb7f /lang/caml-light | |
parent | 9752bba3bce43265747c0ff84c08549fd9e4b1dd (diff) | |
download | pkgsrc-057d69bd6c7964da23f0b880cf9cbec9a3699f5a.tar.gz |
Initial import of caml-light, another caml implementation.
Diffstat (limited to 'lang/caml-light')
-rw-r--r-- | lang/caml-light/Makefile | 22 | ||||
-rw-r--r-- | lang/caml-light/files/md5 | 3 | ||||
-rw-r--r-- | lang/caml-light/files/patch-sum | 3 | ||||
-rw-r--r-- | lang/caml-light/patches/patch-aa | 37 | ||||
-rw-r--r-- | lang/caml-light/pkg/COMMENT | 1 | ||||
-rw-r--r-- | lang/caml-light/pkg/DESCR | 18 | ||||
-rw-r--r-- | lang/caml-light/pkg/PLIST | 169 |
7 files changed, 253 insertions, 0 deletions
diff --git a/lang/caml-light/Makefile b/lang/caml-light/Makefile new file mode 100644 index 00000000000..96f9863928b --- /dev/null +++ b/lang/caml-light/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/06/21 11:42:46 bouyer Exp $ +# + +DISTNAME= cl74unix +PKGNAME= caml-light-0.74 +CATEGORIES= lang +MASTER_SITES= ftp://ftp.inria.fr/lang/caml-light/ + +MAINTAINER= bouyer@netbsd.org +HOMEPAGE= http://caml.inria.fr/distrib-caml-light-eng.html + +ALL_TARGET= world + +WRKSRC= ${WRKDIR}/cl74/src + +do-configure: + (cd ${WRKSRC}; make configure) + +post-configure: + ${ECHO} '#define HAS_STRERROR' >> ${WRKDIR}/cl74/config/s.h + +.include "../../mk/bsd.pkg.mk" diff --git a/lang/caml-light/files/md5 b/lang/caml-light/files/md5 new file mode 100644 index 00000000000..abee28634b9 --- /dev/null +++ b/lang/caml-light/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/06/21 11:42:47 bouyer Exp $ + +MD5 (cl74unix.tar.gz) = 72c44d8751402f571979ab5d9aa98224 diff --git a/lang/caml-light/files/patch-sum b/lang/caml-light/files/patch-sum new file mode 100644 index 00000000000..ff1b1dc552d --- /dev/null +++ b/lang/caml-light/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/06/21 11:42:47 bouyer Exp $ + +MD5 (patch-aa) = b81824c1273dac7072126d0e848e3197 diff --git a/lang/caml-light/patches/patch-aa b/lang/caml-light/patches/patch-aa new file mode 100644 index 00000000000..07d84412cd8 --- /dev/null +++ b/lang/caml-light/patches/patch-aa @@ -0,0 +1,37 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/06/21 11:42:47 bouyer Exp $ + +--- Makefile.orig Thu Apr 24 16:51:03 1997 ++++ Makefile Mon Jun 19 11:26:56 2000 +@@ -7,7 +7,7 @@ + # Additional options to $(CC). + # If you are using gcc, add -fno-defer-pop. + # This option circumvents a gcc bug on some platforms (680x0, 80386). +-OPTS=-fno-defer-pop ++OPTS= -Dunix -fno-defer-pop + + # Extra libraries that have to be linked with the runtime system. + # The math library "-lm" is linked by default. +@@ -24,19 +24,19 @@ + # not all Unix C preprocessors define it. + # If your cpp is too fussy, make tools/clprepro and use this: + # CPP=../../src/tools/clprepro -Dunix +-CPP=/lib/cpp -P -Dunix ++CPP=cpp -P -C -Dunix + + # The directory where public executables will be installed +-BINDIR=/usr/local/bin ++BINDIR=${PREFIX}/bin + + # The directory where the Caml Light standard library will be installed +-LIBDIR=/usr/local/lib/caml-light ++LIBDIR=${PREFIX}/lib/caml-light + + # The manual section where the manual pages will be installed + MANEXT=1 + + # The directory where the manual pages will be installed +-MANDIR=/usr/local/man/man$(MANEXT) ++MANDIR=${PREFIX}/man/man$(MANEXT) + + # Some "make"s need this to ensure that they call the Bourne shell, + # not the C shell. Seems harmless on most other "make"s. diff --git a/lang/caml-light/pkg/COMMENT b/lang/caml-light/pkg/COMMENT new file mode 100644 index 00000000000..b26d615a102 --- /dev/null +++ b/lang/caml-light/pkg/COMMENT @@ -0,0 +1 @@ +Another implementation of Caml diff --git a/lang/caml-light/pkg/DESCR b/lang/caml-light/pkg/DESCR new file mode 100644 index 00000000000..521ab807b5b --- /dev/null +++ b/lang/caml-light/pkg/DESCR @@ -0,0 +1,18 @@ +The Caml Light system comprises the following parts: + +- An interactive system, based on a read-eval-print loop: the user enters + a phrase, the system compiles it and executes it on the fly, then print the + outcome of evaluation. The interactive system is great for learning the + language and testing programs. +- A batch compiler and linker, camlc, with a command-line interface similar to + the one of C compilers. The compiler produces standalone executable programs + that can later be invoked just as any other command on the system. It + integrates smoothly within the Unix programming environment + (make, Emacs, ...). +- A medium-sized standard library, providing a number of general-purpose + functions and implementations of a few essential data structures + (lists, arrays, hash tables, sets, ...). +- A tool to build libraries of frequently-used program modules. +- A parser generator and a lexical analyzer generator, in the style of lex and + yacc. +- Various programming tools and several interface libraries. diff --git a/lang/caml-light/pkg/PLIST b/lang/caml-light/pkg/PLIST new file mode 100644 index 00000000000..81aa23c8dd4 --- /dev/null +++ b/lang/caml-light/pkg/PLIST @@ -0,0 +1,169 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/06/21 11:42:46 bouyer Exp $ +bin/camlrun +bin/camlc +bin/camllight +bin/camlmktop +bin/camllibr +bin/camllex +bin/camlyacc +man/man1/camlc.1 +man/man1/camllex.1 +man/man1/camllibr.1 +man/man1/camllight.1 +man/man1/camlmktop.1 +man/man1/camlrun.1 +man/man1/camlyacc.1 +lib/caml-light/libcaml.a +lib/caml-light/misc.h +lib/caml-light/alloc.h +lib/caml-light/mlvalues.h +lib/caml-light/config.h +lib/caml-light/memory.h +lib/caml-light/header +lib/caml-light/stdlib.zo +lib/caml-light/string.ml +lib/caml-light/stream.ml +lib/caml-light/stack.ml +lib/caml-light/sort.ml +lib/caml-light/set.ml +lib/caml-light/random.ml +lib/caml-light/queue.ml +lib/caml-light/printf.ml +lib/caml-light/printexc.ml +lib/caml-light/parsing.ml +lib/caml-light/pair.ml +lib/caml-light/map.ml +lib/caml-light/list.ml +lib/caml-light/lexing.ml +lib/caml-light/io.ml +lib/caml-light/int.ml +lib/caml-light/hashtbl.ml +lib/caml-light/genlex.ml +lib/caml-light/gc.ml +lib/caml-light/fvect.ml +lib/caml-light/fstring.ml +lib/caml-light/format.ml +lib/caml-light/float.ml +lib/caml-light/filename.ml +lib/caml-light/fchar.ml +lib/caml-light/exc.ml +lib/caml-light/eq.ml +lib/caml-light/char.ml +lib/caml-light/bool.ml +lib/caml-light/baltree.ml +lib/caml-light/arg.ml +lib/caml-light/vect.mli +lib/caml-light/sys.mli +lib/caml-light/string.mli +lib/caml-light/stream.mli +lib/caml-light/stack.mli +lib/caml-light/sort.mli +lib/caml-light/set.mli +lib/caml-light/ref.mli +lib/caml-light/random.mli +lib/caml-light/queue.mli +lib/caml-light/printf.mli +lib/caml-light/printexc.mli +lib/caml-light/parsing.mli +lib/caml-light/pair.mli +lib/caml-light/obj.mli +lib/caml-light/map.mli +lib/caml-light/list.mli +lib/caml-light/lexing.mli +lib/caml-light/camlcomp +lib/caml-light/io.mli +lib/caml-light/int.mli +lib/caml-light/hashtbl.mli +lib/caml-light/genlex.mli +lib/caml-light/gc.mli +lib/caml-light/fvect.mli +lib/caml-light/fstring.mli +lib/caml-light/format.mli +lib/caml-light/float.mli +lib/caml-light/filename.mli +lib/caml-light/fchar.mli +lib/caml-light/exc.mli +lib/caml-light/eq.mli +lib/caml-light/char.mli +lib/caml-light/bool.mli +lib/caml-light/baltree.mli +lib/caml-light/arg.mli +lib/caml-light/vect.zix +lib/caml-light/string.zix +lib/caml-light/stream.zix +lib/caml-light/stack.zix +lib/caml-light/set.zix +lib/caml-light/sort.zix +lib/caml-light/random.zix +lib/caml-light/queue.zix +lib/caml-light/printf.zix +lib/caml-light/printexc.zix +lib/caml-light/parsing.zix +lib/caml-light/pair.zix +lib/caml-light/map.zix +lib/caml-light/list.zix +lib/caml-light/lexing.zix +lib/caml-light/io.zix +lib/caml-light/int.zix +lib/caml-light/hashtbl.zix +lib/caml-light/genlex.zix +lib/caml-light/gc.zix +lib/caml-light/fvect.zix +lib/caml-light/fstring.zix +lib/caml-light/format.zix +lib/caml-light/float.zix +lib/caml-light/filename.zix +lib/caml-light/fchar.zix +lib/caml-light/exc.zix +lib/caml-light/eq.zix +lib/caml-light/char.zix +lib/caml-light/bool.zix +lib/caml-light/baltree.zix +lib/caml-light/arg.zix +lib/caml-light/vect.zi +lib/caml-light/toplevel.zi +lib/caml-light/sys.zi +lib/caml-light/string.zi +lib/caml-light/stream.zi +lib/caml-light/stack.zi +lib/caml-light/sort.zi +lib/caml-light/set.zi +lib/caml-light/ref.zi +lib/caml-light/random.zi +lib/caml-light/queue.zi +lib/caml-light/printf.zi +lib/caml-light/printexc.zi +lib/caml-light/parsing.zi +lib/caml-light/pair.zi +lib/caml-light/obj.zi +lib/caml-light/map.zi +lib/caml-light/list.zi +lib/caml-light/lexing.zi +lib/caml-light/iparsing.zi +lib/caml-light/io.zi +lib/caml-light/int.zi +lib/caml-light/hashtbl.zi +lib/caml-light/genlex.zi +lib/caml-light/gc.zi +lib/caml-light/fvect.zi +lib/caml-light/fstring.zi +lib/caml-light/format.zi +lib/caml-light/float.zi +lib/caml-light/filename.zi +lib/caml-light/fchar.zi +lib/caml-light/exc.zi +lib/caml-light/eq.zi +lib/caml-light/char.zi +lib/caml-light/bool.zi +lib/caml-light/baltree.zi +lib/caml-light/arg.zi +lib/caml-light/vect.ml +lib/caml-light/camllink +lib/caml-light/camltop +lib/caml-light/toplevel.mli +lib/caml-light/provide +lib/caml-light/expunge +lib/caml-light/toplib.zo +lib/caml-light/topmain.zo +lib/caml-light/camlmsgs.txt +@dirrm lib/caml-light |