[87167] trunk/dports/lang/ocaml/Portfile
mww at macports.org
mww at macports.org
Sat Nov 12 11:04:25 PST 2011
Revision: 87167
http://trac.macports.org/changeset/87167
Author: mww at macports.org
Date: 2011-11-12 11:04:25 -0800 (Sat, 12 Nov 2011)
Log Message:
-----------
ocaml: fix whitespaces; fix livecheck;
Modified Paths:
--------------
trunk/dports/lang/ocaml/Portfile
Modified: trunk/dports/lang/ocaml/Portfile
===================================================================
--- trunk/dports/lang/ocaml/Portfile 2011-11-12 19:00:35 UTC (rev 87166)
+++ trunk/dports/lang/ocaml/Portfile 2011-11-12 19:04:25 UTC (rev 87167)
@@ -1,28 +1,28 @@
# $Id$
-PortSystem 1.0
+PortSystem 1.0
-name ocaml
-version 3.12.1
+name ocaml
+version 3.12.1
revision 2
# 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
-description Objective Caml is an implementation of the ML language
-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}
+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
+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 md5 227a3daaedb150bf5037a3db01f5bf42 \
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.
+ 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.
use_bzip2 yes
@@ -34,18 +34,18 @@
set docdir ${prefix}/share/doc/${name}
# Configure.
-configure.pre_args -prefix ${prefix}
-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.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.
@@ -56,14 +56,14 @@
# Variants.
variant profile description {Enable profiling} {
- configure.env-append CC="gcc -pg"
+ 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
+ depends_lib-append port:tcl port:tk
+ configure.args-delete -no-tk
}
-livecheck.type regex
-livecheck.url http://caml.inria.fr/news.en.rss
-livecheck.regex "<title>Objective Caml (.*) released"
+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/20111112/bb7d4e94/attachment.html>
More information about the macports-changes
mailing list