# $Id: Portfile,v 1.2 2006/05/12 07:47:45 mww Exp $

PortSystem 1.0
name		gauche-c-wrapper
version         0.3.4
categories	lang scheme
maintainers	yuhei@pop21.odn.ne.jp
description	c-wrapper is a FFI (Foreign Function Interface) for Gauche.
long_description	c-wrapper is a FFI (Foreign Function Interface) for Gauche.
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 a4a95c47961613090cb6e60455ed30f2
depends_build	bin:gosh:gauche

post-destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/doc/gauche-c-wrapper
	xinstall -m 644 -W ${workpath}/${worksrcdir}/doc/ API.ja_JP.UTF-8 API.txt \
		${destroot}${prefix}/share/doc/gauche-c-wrapper
    file copy ${workpath}/${worksrcdir}/examples \
		${destroot}${prefix}/share/doc/gauche-c-wrapper
}
    
