mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Version updates required for 5.5: - ocaml-merlin to 5.8-505 - ocaml-camlp4 to 5.5+1 - ocaml-js_of_ocaml to 6.4.0 - ocaml-batteries to 3.11.0 Removed ocaml-ppx_tools which is dead upstream and superseded by ppxlib. Signed-off-by: Paul Guyot <pguyot@kallisys.net>
48 lines
1.8 KiB
Tcl
48 lines
1.8 KiB
Tcl
# -*- 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.16
|
|
revision 1
|
|
checksums rmd160 b3649b6e321d575bbb342648cc7c684e669c915a \
|
|
sha256 f816031d6fa024a7ff8cf768205ff24c528ae2c69eca86ad7d7b5ddab4e16022 \
|
|
size 385188
|
|
|
|
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.
|
|
|
|
homepage https://garrigue.github.io/labltk/
|
|
github.tarball_from archive
|
|
|
|
# The legacy OCamlBrowser tool needs a large port to OCaml 5.5's restructured
|
|
# typedtree and has no upstream 5.5 fix; build only the Tk library.
|
|
patchfiles-append patch-no-ocamlbrowser.diff
|
|
|
|
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 library libraryopt
|
|
destroot.destdir INSTALLDIR=${destroot}${prefix}/lib/ocaml/labltk \
|
|
INSTALLBINDIR=${destroot}${prefix}/bin \
|
|
STUBLIBDIR=${destroot}${prefix}/lib/ocaml/stublibs
|