ocaml-10.6 stable port information

Package: ocaml
Version: 3.11.1
Revision: 1
Distribution: 10.6
Description: Latest implementation of Caml dialect of ML
BuildDepends: tcltk-dev, x11-dev, libncurses5 (>= 5.4-20041023-1006), fink (>= 0.24.12)
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.11/%n-%v.tar.bz2
Source2: http://caml.inria.fr/pub/distrib/%n-3.11/%n-3.11-refman.pdf
Source3: http://caml.inria.fr/pub/distrib/%n-3.11/%n-3.11-refman.html.tar.gz
Source4: http://caml.inria.fr/pub/distrib/%n-3.11/%n-3.11-refman.info.tar.gz
Source-MD5: fe011781f37f6b41fe08e0706969a89e
Source2-MD5: 798c2702f20bd3199726441771538a07
Source3-MD5: bfb4ed960974159f4224014a979baf6d
Source4-MD5: 50fc2a3e3a38db78bd03d169379155de
PatchFile: %n-%v.patch
PatchFile-MD5: 37ed1a21a282337c629c84a6f08f2160
PatchScript: <<
# fink's sed (at least 4.2-1) chokes on accented characters here
/usr/bin/sed -i .bak -e 's,sed,/usr/bin/sed,' ocamldoc/remove_DEBUG
gzip -d ../infoman/ocaml*.gz
cd .. && patch -p1 < %{PatchFile}
<<
CompileScript: <<
#! /bin/sh -ex
if [ %m = "x86_64" ]; then
./configure -tkdefs -I%p/include -tklibs -L%p/lib -prefix %p -mandir %p/share/man -cc "gcc -m64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5"
else
./configure -tkdefs -I%p/include -tklibs -L%p/lib -prefix %p -mandir %p/share/man -as "as -arch i386"
fi
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.11-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

ocaml-10.6 _unstable_ port information

Package: ocaml
Version: 3.11.2
Revision: 1
Distribution: 10.6
Description: Latest implementation of Caml dialect of ML
BuildDepends: tcltk-dev, x11-dev, libncurses5 (>= 5.4-20041023-1006), fink (>= 0.24.12)
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.11/%n-%v.tar.bz2
Source2: http://caml.inria.fr/pub/distrib/%n-3.11/%n-3.11-refman.pdf
Source3: http://caml.inria.fr/pub/distrib/%n-3.11/%n-3.11-refman.html.tar.gz
Source4: http://caml.inria.fr/pub/distrib/%n-3.11/%n-3.11-refman.info.tar.gz
Source-MD5: 4601a7aea66444d61704de8de46c52c6
Source2-MD5: 798c2702f20bd3199726441771538a07
Source3-MD5: bfb4ed960974159f4224014a979baf6d
Source4-MD5: 50fc2a3e3a38db78bd03d169379155de
PatchFile: %n.patch
PatchFile-MD5: 37ed1a21a282337c629c84a6f08f2160
PatchScript: <<
# fink's sed (at least 4.2-1) chokes on accented characters here
/usr/bin/sed -i .bak -e 's,sed,/usr/bin/sed,' ocamldoc/remove_DEBUG
gzip -d ../infoman/ocaml*.gz
cd .. && patch -p1 < %{PatchFile}
<<
CompileScript: <<
#! /bin/sh -ex
if [ %m = "x86_64" ]; then
./configure -tkdefs -I%p/include -tklibs -L%p/lib -prefix %p -mandir %p/share/man -cc "gcc -m64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5"
else
./configure -tkdefs -I%p/include -tklibs -L%p/lib -prefix %p -mandir %p/share/man -cc "gcc -m32" -as "as -arch i386" -aspp "gcc -m32 -c"
fi
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.11-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