# $Id: Portfile 31212 2007-11-18 13:46:26Z mas@macports.org $

PortSystem 1.0
name                g-wrap
version             1.3.4
revision            4
categories          lang
maintainers         nomaintainer
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.nongnu.org/g-wrap/index.html
master_sites        http://www.gnucash.org/pub/g-wrap/source/
checksums           md5 bf29b8b563cc27d9f7fd90a6243653aa
depends_lib         port:slib-guile port:glib1

post-destroot {
    xinstall -d ${destroot}${prefix}/share/info
    foreach info [glob ${destroot}${prefix}/info/*] {
        file rename $info ${destroot}${prefix}/share/info/
    }
    delete ${destroot}${prefix}/info
    delete ${destroot}${prefix}/share/man
}
