# $Id: Portfile 93031 2012-05-14 07:27:38Z jeremyhu@macports.org $

PortSystem 1.0

name		gauche-c-wrapper
version         0.5.2
categories	lang scheme
maintainers	nomaintainer
description	c-wrapper is a FFI (Foreign Function Interface) for Gauche.
long_description	c-wrapper is a FFI (Foreign Function Interface) for Gauche.
platforms	darwin
homepage	http://homepage.mac.com/naoki.koguro/prog/c-wrapper/index.html
master_sites	http://homepage.mac.com/naoki.koguro/prog/c-wrapper/
distname	c-wrapper-$version
extract.suffix	.tgz
checksums       md5 3e226826bfe1f0132b900efba7d1a605
patchfiles	patch-Makefile.in.diff
depends_lib	port:gauche
depends_build	path:lib/libgc.dylib:boehmgc \
		port:texi2html

post-destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
    eval xinstall -m 644 [glob ${worksrcpath}/doc/*.html] ${destroot}${prefix}/share/doc/${name}
    file copy ${worksrcpath}/examples ${destroot}${prefix}/share/doc/${name}
}
