# -*- 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 PortSystem 1.0 PortGroup ocaml 1.1 PortGroup github 1.0 github.setup garrigue labltk 8.06.12 revision 0 checksums rmd160 f49c69916e31af46b8a5e3d8602f309f227f05bb \ sha256 14e0347cb12390212b67ea3078c7ae6b9f551464ef7cea8057d69c9a15060370 \ size 372215 name ocaml-labltk categories graphics devel ocaml license {LGPL-2.1 OpenSSLException} maintainers nomaintainer description OCaml interface to the Tcl/Tk GUI framework long_description LablTk is an interface to the Tcl/Tk GUI framework. It \ allows to develop GUI applications in a speedy and type \ safe way. A legacy Camltk interface is included. The \ OCamlBrowser library viewer is also part of this project. homepage https://garrigue.github.io/labltk/ github.tarball_from archive patchfiles-append implicit-int.patch patchfiles-append ranlib.patch # in searching for headers and libraries, search ${prefix} first patchfiles-append patch-configure.diff post-patch { reinplace "s|__MACPORTS_PREFIX__|${prefix}|g" ${worksrcpath}/configure } depends_lib-append port:tcl \ port:tk configure.pre_args --libdir ${prefix}/lib/ocaml \ --tk-no-x11 \ --tkdefs -I${prefix}/include \ --tklibs -L${prefix}/lib \ --verbose use_parallel_build no pre-destroot { xinstall -m 0755 -d ${destroot}${prefix}/lib/ocaml/stublibs } build.target-append opt destroot.destdir INSTALLDIR=${destroot}${prefix}/lib/ocaml/labltk \ INSTALLBINDIR=${destroot}${prefix}/bin \ STUBLIBDIR=${destroot}${prefix}/lib/ocaml/stublibs