[146364] trunk/dports/devel

takeshi at macports.org takeshi at macports.org
Sun Mar 6 04:47:13 PST 2016


Revision: 146364
          https://trac.macports.org/changeset/146364
Author:   takeshi at macports.org
Date:     2016-03-06 04:47:13 -0800 (Sun, 06 Mar 2016)
Log Message:
-----------
ocaml-camlidl: add to MacPorts

Added Paths:
-----------
    trunk/dports/devel/ocaml-camlidl/
    trunk/dports/devel/ocaml-camlidl/Portfile

Added: trunk/dports/devel/ocaml-camlidl/Portfile
===================================================================
--- trunk/dports/devel/ocaml-camlidl/Portfile	                        (rev 0)
+++ trunk/dports/devel/ocaml-camlidl/Portfile	2016-03-06 12:47:13 UTC (rev 146364)
@@ -0,0 +1,53 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+set realname        camlidl
+name                ocaml-${realname}
+version             1.05
+categories          devel ml
+platforms           darwin
+license             {QPL LGPL}
+maintainers         takeshi openmaintainers
+description         stub code generator and COM binding for Objective Caml
+long_description \
+    CamlIDL comprises two parts: \
+    * A stub code generator that generates the C stub code required for the Caml/C interface, \
+      based on an MIDL specification. (MIDL stands for Microsoft's Interface Description Language \
+      it looks like C header files with some extra annotations, plus a notion of object interfaces \
+      that look like C++ classes without inheritance.) \
+    * A (currently small) library of functions and tools to import COM components in Caml applications, \
+      and export Caml code as COM components.
+homepage            http://caml.inria.fr/pub/old_caml_site/camlidl/
+master_sites        http://caml.inria.fr/pub/old_caml_site/distrib/bazar-ocaml/
+distname            ${realname}-${version}
+depends_build       port:ocaml
+  
+checksums           rmd160 2b103dc407986fc29501fd2b2b41ec212b28dd10 \
+                    sha256 857ed5bd3b2f99c62813070e1a5b4b6375e837c6815f4ad956baeb6f8c660311
+
+universal_variant   no
+use_configure       no
+
+pre-build {
+    file rename ${worksrcpath}/config/Makefile.unix ${worksrcpath}/config/Makefile
+}
+
+build.args          CPP=/usr/bin/cpp \
+                    CAMLLIB=${prefix}/lib/ocaml \
+                    OCAMLC="${prefix}/bin/ocamlc -g" \
+                    OCAMLOPT=${prefix}/bin/ocamlopt \
+                    OCAMLYACC="${prefix}/bin/ocamlyacc -v" \
+                    OCAMLLEX=${prefix}/bin/ocamllex \
+                    OCAMLDEP=${prefix}/bin/ocamldep \
+                    CFLAGS=${configure.cflags}
+
+pre-destroot {
+    xinstall -d -m 755 ${destroot}${prefix}/lib/ocaml
+    xinstall -d -m 755 ${destroot}${prefix}/lib/ocaml/caml
+}
+
+destroot.args       BINDIR=${destroot}${prefix}/bin \
+                    CAMLLIB=${prefix}/lib/ocaml \
+                    OCAMLLIB=${destroot}${prefix}/lib/ocaml


Property changes on: trunk/dports/devel/ocaml-camlidl/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160306/96865aa2/attachment.html>


More information about the macports-changes mailing list