source: trunk/dports/lang/ocaml-lua/Portfile

Last change on this file was 137992, checked in by mww@…, 2 years ago

inc. revision to rebuild library dependents of ocaml (ocaml update to version 4.02.2)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 137992 2015-06-24 16:17:51Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           ocaml 1.0
5
6name                ocaml-lua
7version             1.0
8revision            3
9categories          lang devel ml
10platforms           darwin
11license             Permissive
12maintainers         mww openmaintainer
13description         OCaml bindings to Lua API
14long_description    \
15    This library provides OCaml bindings to Lua API which allows the \
16    application to exchange data with Lua programs and also to extend Lua with \
17    OCaml functions.
18
19homepage            http://ocaml-lua.forge.ocamlcore.org/
20master_sites        http://forge.ocamlcore.org/frs/download.php/992/
21distname            ocaml-lua-v1.0
22checksums           rmd160  0e5a9529e99f18f3dbeee572899995cf2c23283b \
23                    sha256  299150ae522e0bdc0d43b4ad10e80d9d90d19572b0afba4040bb47e95ea8486b
24
25depends_lib         port:ocaml port:ocaml-findlib port:lua
26
27use_oasis           yes
28use_oasis_doc       yes
29
30patch {
31    reinplace "s|-llua|-L${prefix}/lib -llua|g" ${worksrcpath}/myocamlbuild.ml
32}
33
34configure.args-append "--override docdir ${destroot}${prefix}/share/doc/${name}" --disable-lua51
35
36livecheck.type      regex
37livecheck.url       https://forge.ocamlcore.org/frs/?group_id=167
38livecheck.regex     ocaml-lua-v(\[0-9.\]+)${extract.suffix}
39
Note: See TracBrowser for help on using the repository browser.