[95924] trunk/dports/lang/ocaml-devel/Portfile
mww at macports.org
mww at macports.org
Thu Jul 26 10:55:55 PDT 2012
Revision: 95924
https://trac.macports.org/changeset/95924
Author: mww at macports.org
Date: 2012-07-26 10:55:54 -0700 (Thu, 26 Jul 2012)
Log Message:
-----------
ocaml-devel: mark as obsolete (v4.0 has just been released)
Modified Paths:
--------------
trunk/dports/lang/ocaml-devel/Portfile
Modified: trunk/dports/lang/ocaml-devel/Portfile
===================================================================
--- trunk/dports/lang/ocaml-devel/Portfile 2012-07-26 17:53:43 UTC (rev 95923)
+++ trunk/dports/lang/ocaml-devel/Portfile 2012-07-26 17:55:54 UTC (rev 95924)
@@ -1,73 +1,12 @@
# $Id$
PortSystem 1.0
+replaced_by ocaml
+PortGroup obsolete 1.0
name ocaml-devel
conflicts ocaml
version 4.00.0+beta2
-revision 4
-set major_vers 4.00
-platforms darwin
-maintainers mww openmaintainer
+revision 5
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.
-
-# http://caml.inria.fr/mantis/view.php?id=5643
-patchfiles configure-cfi-detect.diff debuginfo-is-none.diff
-
-use_bzip2 yes
-distname ocaml-${version}
-
-depends_lib port:ncurses port:xorg-libX11
-
-use_parallel_build no
-universal_variant no
-
-set docdir ${prefix}/share/doc/${name}
-
-# Configure.
-configure.pre_args -prefix ${prefix}
-configure.args -no-tk -cc ${configure.cc} -aspp \"${configure.cc} -c\" -as \"${configure.cc} -c\" \
- -x11include \"${prefix}/include\" -x11lib \"${prefix}/lib\"
-
-# Building.
-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
-
-post-destroot {
- # Change "ld.conf" to remove ${destroot} in paths.
- reinplace "s:${destroot}::g" ${destroot}${prefix}/lib/ocaml/ld.conf
- xinstall -d ${destroot}${docdir}
- xinstall -m 0644 -W ${worksrcpath} Changes LICENSE README ${destroot}${docdir}
-}
-
-# Variants.
-variant profile description {Enable profiling} {
- configure.env-append CC="gcc -pg"
-}
-
-variant labltk description {Include TK bindings and ocamlbrowser} {
- depends_lib-append port:tcl port:tk
- 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/20120726/123e1f15/attachment-0001.html>
More information about the macports-changes
mailing list