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 | |
---|
7 | name libCUDF |
---|
8 | version development-version |
---|
9 | epoch 1 |
---|
10 | categories devel ml |
---|
11 | platforms darwin |
---|
12 | maintainers gwmail.gwu.edu:egall |
---|
13 | license LGPL-3+ |
---|
14 | |
---|
15 | description ${name} is a library to manipulate so called CUDF documents. |
---|
16 | |
---|
17 | long_description ${description} A CUDF \ |
---|
18 | (Common Upgradeability Description Format) document describes an \ |
---|
19 | \"upgrade scenario\", as faced by package managers in popular \ |
---|
20 | package-based FOSS (Free and Open Source Software) distributions. |
---|
21 | |
---|
22 | homepage http://www.mancoosi.org/cudf/ |
---|
23 | |
---|
24 | fetch.type git |
---|
25 | git.url git://scm.gforge.inria.fr/cudf/cudf.git |
---|
26 | |
---|
27 | depends_lib-append port:camlp5 \ |
---|
28 | port:ocaml-findlib \ |
---|
29 | port:ocaml-extlib |
---|
30 | |
---|
31 | use_configure no |
---|
32 | |
---|
33 | use_parallel_build no |
---|
34 | |
---|
35 | build.target-append opt |
---|
36 | |
---|
37 | post-destroot { |
---|
38 | eval xinstall [glob ${destroot}/usr/bin/*] ${destroot}${prefix}/bin |
---|
39 | eval file delete [glob ${destroot}/usr/bin/*] |
---|
40 | } |
---|
41 | |
---|
42 | variant tests description {Run the test suite} { |
---|
43 | depends_build-append port:ocaml-ounit |
---|
44 | test.run yes |
---|
45 | test.cmd make |
---|
46 | test.target-append test |
---|
47 | post-build { |
---|
48 | system -W ${worksrcpath} "${test.cmd} ${test.target}" |
---|
49 | } |
---|
50 | } |
---|