Skip to content
Permalink
Browse files

ocaml users of the world rejoice, for the port has been resurrected.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@2413 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jean-Pierre Mouilleseaux
Jean-Pierre Mouilleseaux committed Apr 5, 2003
1 parent 1e4c2c4 commit e15725ca19eb2e4d1be5e7a190aec8a7cb50a27a
Showing with 17 additions and 8 deletions.
  1. +17 −8 lang/ocaml/Portfile
@@ -1,9 +1,9 @@
# $Id: Portfile,v 1.4 2003/03/03 06:57:42 mij Exp $
# $Id: Portfile,v 1.5 2003/04/05 20:26:09 jpm Exp $

PortSystem 1.0
name ocaml
version 3.06
revision 0
revision 1
categories lang
maintainers jpm@opendarwin.org
description Latest implementation of the Caml dialect of ML
@@ -17,17 +17,26 @@ long_description \
Light-style bytecode compiler).
homepage http://caml.inria.fr/ocaml
platforms darwin
master_sites http://caml.inria.fr/distrib/ocaml-3.06/
checksums md5 51530ed183b511ce19fed325c8ab1b43
patchfiles patches
master_sites http://caml.inria.fr/distrib/${distname}/
checksums \
${distname}${extract.sufx} md5 51530ed183b511ce19fed325c8ab1b43
patchfiles #the darwin variant this var to be forward declared
configure {
cd ${worksrcpath}
system "./configure -no-tk -bindir ${prefix}/bin -libdir ${prefix}/lib/ocaml \
-mandir ${prefix}/man/man1 -prefix ${prefix}"
system "./configure --no-tk --tk-no-x11 --bindir ${prefix}/bin \
--libdir ${prefix}/lib/ocaml --mandir ${prefix}/man/man1 \
--prefix ${prefix}"
}
build.target world opt
include contents
install.args BINDIR=${destroot}/${prefix}/bin \
LIBDIR=${destroot}/${prefix}/lib MANDIR=${destroot}/${prefix}/man/man1

variant darwin {
patch_sites http://caml.inria.fr/caml-macosx-howto/
patchfiles ocaml-3.06-macosx-5.patch
checksums-append \
${patchfiles} md5 dcb64e73b0aff37170bd2358c7138b3f
}
#variant tk {
# depends_lib lib:libtk8:tk
# configure {

0 comments on commit e15725c

Please sign in to comment.
You can’t perform that action at this time.