source: trunk/dports/devel/ocaml-ancient/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.4 KB
Line 
1# $Id: Portfile 137992 2015-06-24 16:17:51Z ryandesign@macports.org $
2
3PortSystem          1.0
4name                ocaml-ancient
5version             0.9.0
6revision            5
7categories          devel ml
8maintainers         mww openmaintainer
9license             LGPL-2.1
10description         Mark objects as 'ancient' so they are taken out of the OCaml heap
11long_description    ${description}
12homepage            http://git.et.redhat.com/?p=ocaml-ancient.git
13platforms           darwin
14
15master_sites        http://www.ocaml-programming.de/godi-backup/
16distname            ancient-${version}
17
18checksums           md5     a5529e09f3c96247f362b7640e710157 \
19                    sha1    be60cddcc3047cd34fa452d816d5ab13edd6ea54 \
20                    rmd160  96c3ef4f3c6d8f303ebbc3bc60ae336db23a3fb2
21patchfiles          patch-ancient_c.c.diff patch-Makefile.diff
22
23depends_lib         port:ocaml port:ocaml-findlib
24
25use_parallel_build  no
26
27configure.dir       ${worksrcpath}/mmalloc
28
29build {
30   system -W ${worksrcpath}/mmalloc "make all"
31   system -W ${worksrcpath} "CFLAGS='-I${prefix}/lib/ocaml' make all"
32}
33
34destroot {
35   set ocamlfind_destdir ${destroot}${prefix}/lib/ocaml/site-lib
36   xinstall -m 755 -d "${ocamlfind_destdir}/stublibs"
37   system -W ${worksrcpath} "ocamlfind install -destdir ${ocamlfind_destdir} -ldconf ignore ancient ancient.cmi *.mli *.cma ancient.cmx *.cmxa *.a *.so mmalloc/*.a META"
38}
39
40livecheck.type      regex
41livecheck.url       http://www.ocaml-programming.de/godi-backup/
42livecheck.regex     "ancient-(.*?).tar.gz"
Note: See TracBrowser for help on using the repository browser.