# -*- 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

PortSystem      1.0
PortGroup       ruby 1.0

ruby.setup          fxruby 1.6.24 gem {} rubygems
maintainers         nomaintainer
description         Ruby bindings for the FOX GUI Toolkit.
long_description    FXRuby is a Ruby extention module that provides an \
                    interface to the FOX GUI library.
categories-append   x11
homepage            http://www.fxruby.org
checksums           md5     b749cfde23d4120960d0a958f427283c \
                    sha1    970f9f165f4c95b722845ecc6739b60816d0777a \
                    rmd160  21af4dfc0d28b64583f10b72e7d0b9c54fc27ab7
platforms           darwin
depends_lib-append  port:fox \
                    port:fxscintilla \
                    port:rb-hoe
# fix permission
post-destroot {
    system -W "${workpath}/${distname}" \
        "chmod -R +or ${destroot}/${ruby.gemdir}"
}
