[62875] trunk/dports/lang/ocaml

mww at macports.org mww at macports.org
Wed Jan 20 10:01:56 PST 2010


Revision: 62875
          http://trac.macports.org/changeset/62875
Author:   mww at macports.org
Date:     2010-01-20 10:01:54 -0800 (Wed, 20 Jan 2010)
Log Message:
-----------
version 3.11.2; move reference manual to own port instead of being a variant of this port

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

Removed Paths:
-------------
    trunk/dports/lang/ocaml/files/

Modified: trunk/dports/lang/ocaml/Portfile
===================================================================
--- trunk/dports/lang/ocaml/Portfile	2010-01-20 18:00:20 UTC (rev 62874)
+++ trunk/dports/lang/ocaml/Portfile	2010-01-20 18:01:54 UTC (rev 62875)
@@ -3,45 +3,30 @@
 PortSystem		1.0
 
 name 			ocaml
-version			3.11.1
-revision 		2
+version			3.11.2
 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
 homepage		http://www.ocaml.org/
-master_sites	http://caml.inria.fr/pub/distrib/ocaml-${major_vers}/
-checksums       ocaml-${version}.tar.bz2 \
-					md5 fe011781f37f6b41fe08e0706969a89e \
-					sha1 570feab47b34b29f866ecadcc16153d5a4a4f6a1 \
-					rmd160 991147354a85b975a86ce2dffafce669c9338db5 \
-				ocaml-3.11-refman.html.tar.gz \
-					md5 bfb4ed960974159f4224014a979baf6d \
-					sha1 97159cf3d4ea64d0ca03f04997fdfc00982d22b0 \
-					rmd160 8d77630ee0c3dcdae1ef142a59eb876271f1c335
+master_sites	http://caml.inria.fr/pub/distrib/ocaml-${major_vers}/ \
+                ftp://ftp.inria.fr/INRIA/Projects/cristal/ocaml/ocaml-${major_vers}
+checksums           md5     4601a7aea66444d61704de8de46c52c6 \
+                    sha1    59053ce0078da2367f4ce61da886d22c6e86a46d \
+                    rmd160  a407e579b7fa134fc8126c5c5b544dd60cedecb1
 
 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.
 
-use_bzip2			yes
-use_parallel_build	no
+use_bzip2           yes
+use_parallel_build  no
 universal_variant   no
 
-set doc_distname	${name}-${major_vers}-refman
-set docdir			${prefix}/share/doc/${name}-${version}
+set docdir          ${prefix}/share/doc/${name}-${version}
 
-# Patchfiles.
-patchfiles		   patch-asmcomp-amd64-emit.mlp.diff \
-	patch-asmcomp-amd64-proc.ml.diff \
-	patch-asmcomp-emitaux.ml.diff \
-	patch-asmcomp-emitaux.mli.diff \
-	patch-asmcomp-i386-emit.mlp.diff \
-	patch-configure.diff \
-	patch-Makefile.common.diff
-
 # Configure.
 configure.pre_args	-prefix ${prefix}
 configure.args		-no-tk -cc ${configure.cc} -aspp \"${configure.cc} -c\"
@@ -57,8 +42,10 @@
 					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
+    # 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.
@@ -67,25 +54,6 @@
 	configure.args-delete 	-no-tk
 }
 
-variant doc description {Install extra documentation} {
-	extract.only        ${distfiles}
-	distfiles-append    ${doc_distname}.html.tar.gz
-
-	post-extract {
-		system "tar xzvf ${distpath}/${doc_distname}.html.tar.gz -C ${workpath}"
-	}
-
-	post-destroot {
-		xinstall -d ${destroot}${docdir}
-		xinstall -m 0644 -W ${worksrcpath} Changes LICENSE README ${destroot}${docdir}
-		xinstall -d ${destroot}${docdir}/html/libref
-		eval xinstall -m 0644 [glob ${workpath}/htmlman/libref/*] \
-			${destroot}${docdir}/html/libref
-		eval xinstall -m 0644 [glob ${workpath}/htmlman/*.*] \
-			${destroot}${docdir}/html
-	}
-}
-
 livecheck.type	regex
 livecheck.url	http://caml.inria.fr/news.en.rss
 livecheck.regex	"<title>Objective Caml (.*) released"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100120/15c0de89/attachment.html>


More information about the macports-changes mailing list