# -*- 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
maintainers {kimuraw @kimuraw} openmaintainer
description Powerful and clean object-oriented scripting language
long_description Ruby is the interpreted scripting language for quick \
and easy object-oriented programming. It has many \
features to process text files and to do system \
management tasks (as in Perl). It is simple, \
straight-forward, extensible, and portable.
homepage http://www.ruby-lang.org/
# fix #54866: correct install_name of libruby by deleting TEENY
# $ otool -D /opt/local/lib/libruby.2.4.3.dylib
# /opt/local/lib/libruby.2.4.3.dylib:
# /opt/local/lib/libruby.2.4.dylib
patchfiles patch-configure.diff
checksums md5 d994274eaa95b82aa5d31ec2188253c6 \
rmd160 38aacd0ef60f4927318bb06cc997304681638c1e \
sha1 1cc548ba3eb821e29ab92ac13e1d5c7bf23b1526 \
sha256 45a8de577471b90dc4838c5ef26aeb253a56002896189055a44dc680644243f1
depends_lib port:readline \
path:lib/libssl.dylib:openssl \
depends_run port:ruby_select
depends_build port:pkgconfig
depends_skip_archcheck pkgconfig
select.file ${filespath}/ruby24
configure.args --enable-shared \
--enable-install-static-library \
--mandir="${prefix}/share/man" \
--with-opt-dir="${prefix}" \