Commits
Marcus Calhoun-Lopez authored 29db6729f74
1 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 2 | PortSystem 1.0 |
3 3 | PortGroup ocaml 1.1 |
4 4 | |
5 5 | name ocaml-labltk |
6 6 | # warning: master_sites may change for each version update |
7 7 | version 8.06.5 |
8 - | revision 1 |
8 + | revision 2 |
9 9 | categories graphics devel ocaml |
10 10 | license {LGPL-2.1 OpenSSLException} |
11 11 | maintainers nomaintainer |
12 12 | description OCaml interface to the Tcl/Tk GUI framework |
13 13 | long_description LablTk is an interface to the Tcl/Tk GUI framework. It \ |
14 14 | allows to develop GUI applications in a speedy and type \ |
15 15 | safe way. A legacy Camltk interface is included. The \ |
16 16 | OCamlBrowser library viewer is also part of this project. |
17 17 | |
18 18 | distname labltk-${version} |
25 25 | checksums rmd160 1927fc13439bfeaec4e37c5c28adfd75ad9ccf6a \ |
26 26 | sha256 92ff3358cd28d6b0c60d17367a875cd895741dbebae20ba310ee4d1e7c31fd71 \ |
27 27 | size 370149 |
28 28 | |
29 29 | # in searching for headers and libraries, search ${prefix} first |
30 30 | patchfiles-append patch-configure.diff |
31 31 | post-patch { |
32 32 | reinplace "s|__MACPORTS_PREFIX__|${prefix}|g" ${worksrcpath}/configure |
33 33 | } |
34 34 | |
35 - | depends_lib-append port:tk |
35 + | depends_lib-append port:tcl \ |
36 + | port:tk |
36 37 | |
37 38 | configure.pre_args -libdir ${prefix}/lib/ocaml \ |
38 39 | --verbose \ |
39 40 | --tk-no-x11 \ |
40 41 | -tklibs -L${prefix}/lib -tkdefs -I${prefix}/include |
41 42 | |
42 43 | use_parallel_build no |
43 44 | |
44 45 | pre-destroot { |
45 46 | xinstall -m 755 -d ${destroot}${prefix}/lib/ocaml/stublibs |