Files
macports-ports/ruby/rb-inotify/Portfile
T
2026-04-25 18:00:59 -07:00

29 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
name rb-inotify
ruby.branches 3.4 3.3 3.2 3.1
ruby.setup rb-inotify 0.11.1 gem {} rubygems
platforms any
license MIT
maintainers nomaintainer
description A Ruby wrapper for Linux inotify, using FFI
long_description {*}${description}
homepage https://github.com/guard/rb-inotify
checksums rmd160 cb217ac234af2a4bb195a3ba05d03b48de67ea5d \
sha256 a0a700441239b0ff18eb65e3866236cd78613d6b9f78fea1f9ac47a85e47be6e \
size 15872
supported_archs noarch
if {${name} ne ${subport}} {
depends_lib-append \
port:rb${ruby.suffix}-ffi
post-destroot {
system -W ${destroot}${ruby.gemdir}/specifications \
"/usr/bin/patch -p0 < ${filespath}/patch-gemspec-${ruby.branch}.diff"
}
}