ocaml stable port information

Package: ocaml
Version: 3.10.2
Revision: 1
Distribution: 10.4, 10.5
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.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
PatchFile: %n.patch
PatchFile-MD5: 7ab07f08e3e86c47dd54fae470fbcbe8
PatchScript: <<
gzip -d ../infoman/ocaml*.gz
cd .. && patch -p1 < %{PatchFile}
<<
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

ocaml stable port .patch

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

ocaml _unstable_ port information

Package: ocaml
Version: 3.12.1
Revision: 1
Distribution: 10.6, 10.7
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
Source: http://caml.inria.fr/pub/distrib/%n-3.12/%n-%v.tar.bz2
Source2: http://caml.inria.fr/pub/distrib/%n-3.12/%n-3.12-refman.pdf
Source3: http://caml.inria.fr/pub/distrib/%n-3.12/%n-3.12-refman.html.tar.gz
Source4: http://caml.inria.fr/pub/distrib/%n-3.12/%n-3.12-refman.info.tar.gz
Source-MD5: 227a3daaedb150bf5037a3db01f5bf42
Source2-MD5: 79fe5b86e0d6462e3e944fd8c47603ac
Source3-MD5: 93cd91f525441eb7e94cc49b9b64bab0
Source4-MD5: 8cf24c4f69c6f9c9f9cc1edb9b18f6cb
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 = "i386" ]; then
./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"
else
./configure -tkdefs -I%p/include -tklibs -L%p/lib -prefix %p -mandir %p/share/man
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

(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.12-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 _unstable_ port .patch

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