source: trunk/dports/lang/gauche-c-wrapper/Portfile

Last change on this file was 115613, checked in by cal@…, 4 years ago

revbump boehmgc dependents (except inkscape, which will fail to build in its current state)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 115613 2014-01-07 00:14:51Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                gauche-c-wrapper
7version             0.6.1
8revision            1
9categories          lang
10platforms           darwin
11maintainers         nomaintainer
12license             MIT
13
14description         c-wrapper is a FFI (Foreign Function Interface) for Gauche.
15
16long_description    c-wrapper is a FFI (Foreign Function Interface) for Gauche.
17
18homepage            http://www.koguro.net/prog/c-wrapper/
19master_sites        ${homepage}
20
21distname            c-wrapper-$version
22extract.suffix      .tgz
23
24checksums           rmd160  b90db4d45fa887e8157425e6f3125c18dc6cfa97 \
25                    sha256  d0f4037c29c149f385c12d7aa07deb5db7549029657fb60ee286f5942329d92b
26
27depends_build       path:lib/libgc.dylib:boehmgc \
28                    port:texi2html
29
30depends_lib         port:gauche
31
32# The author stated on 2012-07-18 that c-wrapper is still not compatible with
33# ObjectiveC 2.0 (i.e. on Leopard and up).
34if {${os.platform} eq "darwin" && ${os.major} > 8} {
35    configure.args-append --disable-objc
36}
37
38# error: ffi.h: No such file or directory
39use_parallel_build  no
40
41post-destroot {
42    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
43    eval xinstall -m 644 [glob ${worksrcpath}/doc/*.html] ${destroot}${prefix}/share/doc/${name}
44    file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
45}
46
47livecheck.type      regex
48livecheck.regex     c-wrapper-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.