Revision: 96030 https://trac.macports.org/changeset/96030 Author: mww@macports.org Date: 2012-07-29 04:42:36 -0700 (Sun, 29 Jul 2012) Log Message: ----------- ocaml3: re-add version 3 of OCaml as compatibility version Modified Paths: -------------- trunk/dports/lang/ocaml3/Portfile Added Paths: ----------- trunk/dports/lang/ocaml3/ Modified: trunk/dports/lang/ocaml3/Portfile =================================================================== --- trunk/dports/lang/ocaml/Portfile 2012-06-24 21:00:12 UTC (rev 94598) +++ trunk/dports/lang/ocaml3/Portfile 2012-07-29 11:42:36 UTC (rev 96030) @@ -2,17 +2,19 @@ PortSystem 1.0 -name ocaml -epoch 1 +name ocaml3 version 3.12.1 -revision 7 # When updating ocaml, also update camlp5 to a compatible version (c.f. #26769, #20219, #18292) set major_vers [join [lrange [split ${version} .] 0 1] .] platforms darwin -maintainers mww openmaintainer categories lang ml +license {QPL LGPL} description Objective Caml is an implementation of the ML language -license {QPL LGPL} +maintainers mww openmaintainer +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. 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} @@ -20,11 +22,7 @@ sha1 29b44117b116b1a5bc54a8b4514af483793a769f \ rmd160 61d38c0785491c8790ac02ab78fb2f26ea490fc1 -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. - +distname ocaml-${version} use_bzip2 yes depends_lib port:ncurses port:xorg-libX11 @@ -39,7 +37,8 @@ # Configure. configure.pre_args -prefix ${prefix} configure.args -no-tk -cc ${configure.cc} -aspp \"${configure.cc} -c\" \ - -x11include \"${prefix}/include\" -x11lib \"${prefix}/lib\" + -x11include \"${prefix}/include\" -x11lib \"${prefix}/lib\" \ + -bindir ${prefix}/libexec/${name} -libdir ${prefix}/lib/${name} # Building. build.target world.opt @@ -47,15 +46,16 @@ # Install. destroot.target install -destroot.destdir BINDIR=${destroot}${prefix}/bin \ - LIBDIR=${destroot}${prefix}/lib/ocaml \ +destroot.destdir BINDIR=${destroot}${prefix}/libexec/${name} \ + LIBDIR=${destroot}${prefix}/lib/${name} \ MANDIR=${destroot}${prefix}/share/man post-destroot { # Change "ld.conf" to remove ${destroot} in paths. - reinplace "s:${destroot}::g" ${destroot}${prefix}/lib/ocaml/ld.conf + reinplace "s:${destroot}::g" ${destroot}${prefix}/lib/${name}/ld.conf xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} Changes LICENSE README ${destroot}${docdir} + delete ${destroot}${prefix}/share/man } # Variants. @@ -70,4 +70,4 @@ livecheck.type regex livecheck.url http://caml.inria.fr/download.en.html -livecheck.regex "ocaml-\[0-9\.]+/ocaml-(\[0-9\.\]+).tar" +livecheck.regex "ocaml-\[0-9\.]+/ocaml-(3\[0-9\.\]+).tar"
participants (1)
-
mww@macports.org