the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: ocaml
Version: 3.10.2
Revision: 1
Description: Latest implementation of Caml dialect of ML
BuildDepends: tcltk-dev, x11-dev, libncurses5 (>= 5.4-20041023-1006)
Depends: tcltk, x11, libncurses5-shlibs (>= 5.4-20041023-1006)
DescPort: Uses custom configure script.
SetMAKEFLAGS: -j1
NoSetMAKEFLAGS: true
SetMACOSX_DEPLOYMENT_TARGET: 10.4
Source: http://caml.inria.fr/pub/distrib/%n-3.10/%n-%v.tar.bz2
Source2: http://caml.inria.fr/pub/distrib/%n-3.10/%n-3.10-refman.pdf
Source3: http://caml.inria.fr/pub/distrib/%n-3.10/%n-3.10-refman.html.tar.gz
Source4: http://caml.inria.fr/pub/distrib/%n-3.10/%n-3.10-refman.info.tar.gz
Source-MD5: d86f8f8aa4574fa60dd6f89044580307
Source2-MD5: c3e00bc2c4aad3f538b4bcefade98908
Source3-MD5: 663b31c8ea364a531aa325a5b06a2763
Source4-MD5: f80b52b8bc4b10ed557808fc899acf3a
PatchScript: <<
gzip -d ../infoman/ocaml*.gz
cd .. && patch -p1 < %a/%n.patch
<<
CompileScript: <<
./configure -tkdefs -I%p/include -tklibs -L%p/lib -prefix %p -mandir %p/share/man
make world opt opt.opt
<<
InstallScript: <<
make install BINDIR=%i/bin LIBDIR=%i/lib/ocaml MANDIR=%i/share/man
mv %i/lib/ocaml/ld.conf %i/lib/ocaml/ld.conf.orig
sed -e "s|%d||" %i/lib/ocaml/ld.conf.orig > %i/lib/ocaml/ld.conf
rm -f %i/lib/ocaml/ld.conf.orig
# Needed for camlp4lib.a or camlp4fulllib.a?
# ranlib %i/lib/ocaml/camlp4/gramlib.a
(cd emacs; make install-el BINDIR=%i/bin EMACSDIR=%i/share/emacs/site-lisp)
mkdir -p %i/share/info
cp ../infoman/ocaml.info* %i/share/info
mkdir -p %i/share/doc/%n
cp -R ../htmlman %i/share/doc/%n
<<
InfoDocs: ocaml.info
DocFiles: Changes README LICENSE INSTALL ../%n-3.10-refman.pdf
DescDetail: <<
The main novelties compared with its ancestor, Caml Light, are:
1) Full support for objects and classes --
here combined for the first time with ML-style type reconstruction.
2) A powerful module calculus in the style of Standard ML
(but retaining separate compilation).
3) A high-performance native code compiler
(in addition to a Caml Light-style bytecode compiler).
<<
DescPackaging: <<
dmacks overhauled infodoc stuff: patched main file to have dir
header and uncompressed files so that fink's automatic infodoc dpkg
scripts work.
<<
License: OSI-Approved
Homepage: http://caml.inria.fr/ocaml
Maintainer: Brendan Cully
diff -Nurd -x'*~' ocaml-3.08.0.orig/infoman/ocaml.info ocaml-3.08.0/infoman/ocaml.info
--- ocaml-3.08.0.orig/infoman/ocaml.info 2004-07-13 07:27:03.000000000 -0400
+++ ocaml-3.08.0/infoman/ocaml.info 2005-10-11 01:48:20.000000000 -0400
@@ -1,4 +1,10 @@
This file has been translated from LaTeX by HeVeA.
+
+INFO-DIR-SECTION Programming Languages
+START-INFO-DIR-ENTRY
+* ocaml: (ocaml). The Objective Caml compiler and programming environment
+END-INFO-DIR-ENTRY
+
Indirect:
ocaml.info-1: 51
Package: ocaml
Version: 3.10.2
Revision: 2
Description: Latest implementation of Caml dialect of ML
BuildDepends: tcltk-dev, x11-dev, libncurses5 (>= 5.4-20041023-1006)
Depends: tcltk, x11, libncurses5-shlibs (>= 5.4-20041023-1006)
DescPort: Uses custom configure script.
SetMAKEFLAGS: -j1
NoSetMAKEFLAGS: true
SetMACOSX_DEPLOYMENT_TARGET: 10.4
Source: http://caml.inria.fr/pub/distrib/%n-3.10/%n-%v.tar.bz2
Source2: http://caml.inria.fr/pub/distrib/%n-3.10/%n-3.10-refman.pdf
Source3: http://caml.inria.fr/pub/distrib/%n-3.10/%n-3.10-refman.html.tar.gz
Source4: http://caml.inria.fr/pub/distrib/%n-3.10/%n-3.10-refman.info.tar.gz
Source-MD5: d86f8f8aa4574fa60dd6f89044580307
Source2-MD5: c3e00bc2c4aad3f538b4bcefade98908
Source3-MD5: 663b31c8ea364a531aa325a5b06a2763
Source4-MD5: f80b52b8bc4b10ed557808fc899acf3a
PatchScript: <<
gzip -d ../infoman/ocaml*.gz
cd .. && patch -p1 < %a/%n.patch
<<
CompileScript: <<
./configure -tkdefs -I%p/include -tklibs -L%p/lib -prefix %p -mandir %p/share/man
make world opt opt.opt
<<
InstallScript: <<
make install BINDIR=%i/bin LIBDIR=%i/lib/ocaml MANDIR=%i/share/man
mv %i/lib/ocaml/ld.conf %i/lib/ocaml/ld.conf.orig
sed -e "s|%d||" %i/lib/ocaml/ld.conf.orig > %i/lib/ocaml/ld.conf
rm -f %i/lib/ocaml/ld.conf.orig
# Needed for camlp4lib.a or camlp4fulllib.a?
# ranlib %i/lib/ocaml/camlp4/gramlib.a
(cd emacs; make install-el BINDIR=%i/bin EMACSDIR=%i/share/emacs/site-lisp)
mkdir -p %i/share/info
cp ../infoman/ocaml.info* %i/share/info
mkdir -p %i/share/doc/%n
cp -R ../htmlman %i/share/doc/%n
<<
InfoDocs: ocaml.info
DocFiles: Changes README LICENSE INSTALL ../%n-3.10-refman.pdf
DescDetail: <<
The main novelties compared with its ancestor, Caml Light, are:
1) Full support for objects and classes --
here combined for the first time with ML-style type reconstruction.
2) A powerful module calculus in the style of Standard ML
(but retaining separate compilation).
3) A high-performance native code compiler
(in addition to a Caml Light-style bytecode compiler).
<<
DescPackaging: <<
dmacks overhauled infodoc stuff: patched main file to have dir
header and uncompressed files so that fink's automatic infodoc dpkg
scripts work.
<<
License: OSI-Approved
Homepage: http://caml.inria.fr/ocaml
Maintainer: Brendan Cully
diff -u configure
--- a/ocaml-3.10.2/configure
+++ b/ocaml-3.10.2/configure
@@ -306,6 +306,8 @@
# Configure compiler to use in further tests
+bytecccompopts="$CPPFLAGS $bytecclinkopts"
+bytecclinkopts="$LDFLAGS $bytecclinkopts"
cc="$bytecc -O $bytecclinkopts"
export cc cclibs verbose
diff -u infoman/ocaml.info
--- a/infoman/ocaml.info
+++ b/infoman/ocaml.info
@@ -1,4 +1,10 @@ This file has been translated from LaTeX
This file has been translated from LaTeX by HeVeA.
+
+INFO-DIR-SECTION Programming Languages
+START-INFO-DIR-ENTRY
+* ocaml: (ocaml). The Objective Caml compiler and programming environment
+END-INFO-DIR-ENTRY
+
Indirect:
ocaml.info-1: 51