source: trunk/dports/x11/lablgtk/Portfile @ 111008

Last change on this file since 111008 was 111008, checked in by mww@…, 6 years ago

increase revision on ports depending on ocaml (which was updated to version 4.01.0)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
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: Portfile 111008 2013-09-13 12:35:03Z mww@macports.org $
3
4PortSystem          1.0
5
6name                lablgtk
7version             1.2.7
8revision            4
9categories          x11
10platforms           darwin
11license             LGPL
12maintainers         nomaintainer
13
14description         Objective Caml interface to gtk+
15
16long_description    LablGTK is is an Objective Caml interface to gtk+. \
17                    It uses the rich type system of Objective Caml 3 to provide a \
18                    strongly typed, yet very comfortable, object-oriented interface to \
19                    gtk+. This is not that easy if you know the dynamic typing approach \
20                    taken by gtk+.
21
22homepage            http://lablgtk.forge.ocamlcore.org/
23master_sites        http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/
24
25checksums           md5     73a797e3a459190fdcaa8288935f6fb9 \
26                    sha1    fe43512efdc7ab4e0dafb7dc8254a784857a1ade \
27                    rmd160  27be7ff29fe4370bc9a1bbef8c0fa0db590f27c4
28
29depends_lib         port:ocaml \
30                    port:gtk1
31
32# ocaml is not universal
33universal_variant   no
34
35configure {
36    system "cd ${worksrcpath} && make configure \
37        USE_DOTOPT=1 \
38        INSTALLDIR=${destroot}${prefix}/lib/ocaml/lablgtk \
39        BINDIR=${destroot}${prefix}/bin \
40        DLLDIR=${destroot}${prefix}/lib/ocaml/stublibs && make"
41}
42
43build.target        opt
44
45post-destroot {
46    system "ranlib ${destroot}${prefix}/lib/ocaml/lablgtk/lablgtk.a"
47    system "ranlib ${destroot}${prefix}/lib/ocaml/lablgtk/liblablgtk.a"
48    reinplace "s|${destroot}${prefix}|${prefix}|g" ${destroot}${prefix}/bin/${name}
49}
50
51livecheck.type      regex
52livecheck.regex     {lablgtk-(1(\.[0-9]+)+)\.}
Note: See TracBrowser for help on using the repository browser.