# $Id: Portfile,v 1.7 2006/02/18 09:42:06 markd Exp $

PortSystem 1.0
name		g-wrap
version		1.3.4
revision	2
categories	lang
maintainers	darwinports@opendarwin.org
platforms	darwin
description	A tool for autogenerating scheme bindings for C language functions, structures & enums.
long_description	${description}

patchfiles      patch-configure.diff \
	        patch-ltmain.sh.diff

homepage	http://www.gnucash.org/pub/g-wrap
master_sites	http://www.gnucash.org/pub/g-wrap/source/
checksums	md5 bf29b8b563cc27d9f7fd90a6243653aa
depends_lib	lib:lib:slib-guile

post-destroot {
	system "mkdir -p ${destroot}${prefix}/share/info"
	system "mv ${destroot}${prefix}/info/* ${destroot}${prefix}/share/info"
	system "rmdir ${destroot}${prefix}/info"
	system "rm -r ${destroot}${prefix}/share/man"
}
