1 | # -*- 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 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup ocaml 1.0 |
---|
6 | name caml-expect |
---|
7 | version 0.0.2 |
---|
8 | categories devel ml |
---|
9 | maintainers googlemail.com:benedikt.meurer |
---|
10 | license LGPL-2.1 |
---|
11 | description Expect-like framework |
---|
12 | long_description This is a simple implementation of `expect` to help building \ |
---|
13 | unitary testing of interactive program. It helps to receive \ |
---|
14 | question and send answers from an interactive process. You \ |
---|
15 | can match the question using a regular expression (Str). You \ |
---|
16 | can also use a timeout to ensure that the process answer in \ |
---|
17 | time. |
---|
18 | |
---|
19 | homepage http://forge.ocamlcore.org/projects/ocaml-expect/ |
---|
20 | platforms darwin |
---|
21 | master_sites http://forge.ocamlcore.org/frs/download.php/475/ |
---|
22 | |
---|
23 | distname ocaml-expect-${version} |
---|
24 | |
---|
25 | checksums md5 723288a1c9078f86e6185e78a6baa577 \ |
---|
26 | sha1 e61d48cdec55c8ab032ea88db371b6f77d0e5063 \ |
---|
27 | rmd160 fb6b6c41cbac7a30b6e6376b93bc31ab65bef2f0 |
---|
28 | |
---|
29 | depends_lib port:caml-extlib \ |
---|
30 | port:caml-ounit \ |
---|
31 | port:caml-pcre |
---|
32 | |
---|
33 | livecheck.type regex |
---|
34 | livecheck.url http://forge.ocamlcore.org/frs/?group_id=177 |
---|
35 | livecheck.regex {>ocaml-expect-(.*)\.tar\.gz} |
---|
36 | |
---|
37 | use_oasis yes |
---|
38 | use_oasis_doc yes |
---|
39 | |
---|
40 | configure.args-append "--destdir ${destroot} --docdir ${prefix}/share/doc/caml-expect" |
---|
41 | |
---|