mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup ruby 1.0
|
|
|
|
ruby.branches 3.3 3.2 3.1
|
|
ruby.setup rest-client 2.1.0 gem {} rubygems
|
|
revision 0
|
|
checksums rmd160 f4f04bfe2e2b16379a8022ea18ce546e74ab0a8c \
|
|
sha256 35a6400bdb14fae28596618e312776c158f7ebbb0ccad752ff4fa142bf2747e3 \
|
|
size 147456
|
|
|
|
maintainers nomaintainer
|
|
categories-append www devel
|
|
license MIT
|
|
description Simple REST client for Ruby
|
|
long_description A simple REST client for Ruby, inspired by \
|
|
microframework syntax for specifying actions.
|
|
homepage https://rest-client.heroku.com
|
|
platforms any
|
|
supported_archs noarch
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_run-append \
|
|
port:rb${ruby.suffix}-http-accept \
|
|
port:rb${ruby.suffix}-http-cookie \
|
|
port:rb${ruby.suffix}-mime-types \
|
|
port:rb${ruby.suffix}-netrc
|
|
|
|
post-destroot {
|
|
system -W ${destroot}${ruby.gemdir}/specifications \
|
|
"/usr/bin/patch -p0 < ${filespath}/patch-gemspec-${ruby.branch}.diff"
|
|
}
|
|
}
|