Files

30 lines
1.0 KiB
Tcl

# -*- 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.branches 3.3 3.2 3.1
ruby.setup ffi-tk 2018.02.20 gem {} rubygems
categories-append x11
license MIT
maintainers nomaintainer
platforms any
description FFI bindings to the Tk GUI toolkit
long_description {*}${description} for Ruby.
homepage https://github.com/manveru/ffi-tk
checksums rmd160 7a591205326f74d88b49dd1ed935b4dd4b78a33a \
sha256 5a0e25b62febd08634c4a22f69312fea63d69e1c2c00fdef11953ebdb2cbb798 \
size 144384
supported_archs noarch
if {${name} ne ${subport}} {
depends_run-append \
port:rb${ruby.suffix}-ffi \
port:tk
post-destroot {
system -W ${destroot}${ruby.gemdir}/specifications \
"/usr/bin/patch -p0 < ${filespath}/patch-gemspec-${ruby.branch}.diff"
}
}