1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name ocaml-duppy |
---|
6 | version 0.1.2 |
---|
7 | categories devel ml |
---|
8 | maintainers toots@rastageeks.org |
---|
9 | description Advanced scheduler for OCaml |
---|
10 | long_description Duppy is an event scheduler written for OCaml. \ |
---|
11 | It allows the user to execute tasks according to \ |
---|
12 | some events on unix sockets, or a given delay. \ |
---|
13 | Several threaded queues can proceed tasks in parallel. \ |
---|
14 | Tasks are processed according to an abstract notion of priority. |
---|
15 | homepage http://www.rastageeks.org/duppy.html |
---|
16 | platforms darwin |
---|
17 | master_sites sourceforge:savonet |
---|
18 | |
---|
19 | checksums md5 97e5154a8054fde1751c315a5aabaadb \ |
---|
20 | sha1 407fe40d816a145f0682004a80c9fae0c38cfcd3 \ |
---|
21 | rmd160 313dd2193e855cb843abd4de5c2709317675a6b9 |
---|
22 | |
---|
23 | depends_lib bin:camlc.opt:ocaml \ |
---|
24 | bin:ocamlfind:caml-findlib \ |
---|
25 | port:caml-pcre |
---|
26 | |
---|
27 | proc ocamlfind_destdir {} { |
---|
28 | # only bother calculating this darn thing once |
---|
29 | variable ocamlfind_destdir {} |
---|
30 | variable destroot |
---|
31 | variable prefix |
---|
32 | if {![string length $ocamlfind_destdir]} { |
---|
33 | set ocamlfind_destdir ${destroot}[exec ${prefix}/bin/ocamlfind printconf destdir] |
---|
34 | } |
---|
35 | return $ocamlfind_destdir |
---|
36 | } |
---|
37 | |
---|
38 | pre-destroot { |
---|
39 | system "mkdir -p [ocamlfind_destdir]" |
---|
40 | reinplace "s#\$(OCAMLFIND_INSTFLAGS)# -ldconf ignore -destdir '[ocamlfind_destdir]'#g" ${worksrcpath}/src/OCamlMakefile |
---|
41 | } |
---|
42 | |
---|