mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
38 lines
1.5 KiB
Tcl
38 lines
1.5 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 twitter 8.1.0 gem {} rubygems
|
|
categories-append www
|
|
platforms any
|
|
license MIT
|
|
maintainers nomaintainer
|
|
description Ruby interface to the Twitter API
|
|
long_description {*}${description}
|
|
homepage https://sferik.github.io/twitter
|
|
checksums rmd160 0cd4875be6d2bea3f4c2b929121a6fcfa6f498b1 \
|
|
sha256 674bd09af38a6250cfa15067217f95ba67f35d128db809031f97da9f95ff87d6 \
|
|
size 77824
|
|
supported_archs noarch
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_run-append \
|
|
port:rb${ruby.suffix}-addressable \
|
|
port:rb${ruby.suffix}-buftok \
|
|
port:rb${ruby.suffix}-equalizer \
|
|
port:rb${ruby.suffix}-http \
|
|
port:rb${ruby.suffix}-http-form_data \
|
|
port:rb${ruby.suffix}-llhttp-ffi \
|
|
port:rb${ruby.suffix}-memoizable \
|
|
port:rb${ruby.suffix}-multipart-post \
|
|
port:rb${ruby.suffix}-naught \
|
|
port:rb${ruby.suffix}-simple_oauth
|
|
|
|
post-destroot {
|
|
system -W ${destroot}${ruby.gemdir}/specifications \
|
|
"/usr/bin/patch -p0 < ${filespath}/patch-gemspec-${ruby.branch}.diff"
|
|
}
|
|
}
|