[94057] trunk/dports/lang/ocaml-devel/Portfile

mww at macports.org mww at macports.org
Thu Jun 7 10:20:06 PDT 2012


Revision: 94057
          https://trac.macports.org/changeset/94057
Author:   mww at macports.org
Date:     2012-06-07 10:20:04 -0700 (Thu, 07 Jun 2012)
Log Message:
-----------
ocaml-devel: version 4.00.0+beta2

Modified Paths:
--------------
    trunk/dports/lang/ocaml-devel/Portfile

Modified: trunk/dports/lang/ocaml-devel/Portfile
===================================================================
--- trunk/dports/lang/ocaml-devel/Portfile	2012-06-07 16:57:32 UTC (rev 94056)
+++ trunk/dports/lang/ocaml-devel/Portfile	2012-06-07 17:20:04 UTC (rev 94057)
@@ -1,53 +1,48 @@
 # $Id$
 
-PortSystem         1.0
+PortSystem        1.0
 
-name               ocaml-devel
-conflicts          ocaml
-svn.revision       11286
-version            3.13.0+dev8-r${svn.revision}
-epoch              1
-set major_vers     [join [lrange [split ${version} .] 0 1] .]
-platforms          darwin
-maintainers        mww openmaintainer
-categories         lang ml
-description        Objective Caml is an implementation of the ML language, BETA version
-license            {QPL LGPL}
-homepage           http://www.ocaml.org/
-fetch.type         svn
-svn.url            http://caml.inria.fr/svn/ocaml/trunk
+name                ocaml
+version             4.00.0+beta2
+set major_vers      4.00
+platforms           darwin
+maintainers         mww openmaintainer
+categories          lang ml
+description         Objective Caml is an implementation of the ML language, BETA development version
+license             {QPL LGPL}
+homepage            http://www.ocaml.org/
+master_sites        http://caml.inria.fr/pub/distrib/ocaml-${major_vers}/ \
+                    ftp://ftp.inria.fr/INRIA/Projects/cristal/ocaml/ocaml-${major_vers}
+checksums           rmd160  345a2ce3a3f163aac402d4e6b56d4f07e70f39d4 \
+                    sha256  dde859f626ab62104e7238a882be8866c31a943c4f548bbebce14f16a1b20663
 
 long_description \
             Objective Caml is an implementation of the ML language, based on \
             the Caml Light dialect extended with a complete class-based object \
-            system and a powerful module system in the style of Standard ML. \
-            This port will install the development version of ocaml 3.13 with \
-            GADT support.
+            system    and a powerful module system in the style of Standard ML.
 
-use_bzip2          yes
+use_bzip2           yes
 
-worksrcdir         trunk
+depends_lib         port:ncurses
 
-depends_lib        port:ncurses
+use_parallel_build  no
+universal_variant   no
 
-use_parallel_build no
-universal_variant  no
+set docdir          ${prefix}/share/doc/${name}
 
-set docdir         ${prefix}/share/doc/${name}-${version}
-
 # Configure.
-configure.pre_args -prefix ${prefix}/lib
-configure.args     -no-tk -cc ${configure.cc} -aspp \"${configure.cc} -c\"
+configure.pre_args  -prefix ${prefix}
+configure.args      -no-tk -cc ${configure.cc} -aspp \"${configure.cc} -c\"
 
 # Building.
-build.target       world.opt
-build.cmd          "unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP && ${build.cmd}"
+build.target        world.opt
+build.cmd           "unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP && ${build.cmd}"
 
 # Install.
-destroot.target    install
-destroot.destdir   BINDIR=${destroot}${prefix}/bin \
-                   LIBDIR=${destroot}${prefix}/lib/ocaml \
-                   MANDIR=${destroot}${prefix}/share/man
+destroot.target     install
+destroot.destdir    BINDIR=${destroot}${prefix}/bin \
+                    LIBDIR=${destroot}${prefix}/lib/ocaml \
+                    MANDIR=${destroot}${prefix}/share/man
 
 post-destroot {
     # Change "ld.conf" to remove ${destroot} in paths.
@@ -66,3 +61,6 @@
     configure.args-delete     -no-tk
 }
 
+livecheck.type      regex
+livecheck.url       http://caml.inria.fr/download.en.html
+livecheck.regex     "ocaml-\[0-9\.]+/ocaml-(\[0-9\.\]+).tar"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120607/17e4b95b/attachment.html>


More information about the macports-changes mailing list