# -*- 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
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/
checksums md5 5eb580d5cd13ffb5aacfb96580c0043d \
rmd160 cb8f83f773a0d1cfc8595148ac61aff253f6b67d \
sha1 3bb88965405da5e4de2432eeb445fffa8a66fb33 \
sha256 18b12fafaf37d5f6c7139c1b445355aec76baa625a40300598a6c8597fc04d8e
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}/ruby23
configure.args --enable-shared \
--mandir="${prefix}/share/man" \
--with-opt-dir="${prefix}" \
--with-rubylibprefix="${prefix}/lib/ruby2.3"
# Add the architecture flag as required
if {[info exists build_arch] && ${build_arch} != ""} {
configure.args-append "--with-arch=${build_arch}"
# Avoid compile error for regexec.c with Xcode-6.4