mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
30 lines
1.0 KiB
Tcl
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-openmpt 0.5.0 gem {} rubygems
|
|
categories-append audio
|
|
license BSD
|
|
maintainers nomaintainer
|
|
platforms any
|
|
description Ruby interface to libopenmpt
|
|
long_description {*}${description}
|
|
homepage https://github.com/hainesr/ffi-openmpt
|
|
checksums rmd160 6acf97f6c13bfa90bf52b34db388cffd4267f766 \
|
|
sha256 ce281838074c0d6171ce7f622b06c29fa92de2a4cd7c3f17421df8c331315d7b \
|
|
size 17408
|
|
supported_archs noarch
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_run-append \
|
|
port:libopenmpt \
|
|
port:rb${ruby.suffix}-ffi
|
|
|
|
post-destroot {
|
|
system -W ${destroot}${ruby.gemdir}/specifications \
|
|
"/usr/bin/patch -p0 < ${filespath}/patch-gemspec-${ruby.branch}.diff"
|
|
}
|
|
}
|