# -*- 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 3544031334f4665aa2eb1414babc9345 \
rmd160 3b6fd5d89e6e53fb71f512f44b710148698a6e29 \
sha1 504be2eae6cdfe93aa7ed02ec55e35043d067ad5 \
sha256 087ad4dec748cfe665c856dbfbabdee5520268e94bb81a1d8565d76c3cc62166
depends_lib port:readline \
depends_run port:ruby_select
depends_build port:pkgconfig
depends_skip_archcheck pkgconfig
select.file ${filespath}/ruby20
configure.args --enable-shared \
--mandir="${prefix}/share/man" \
--with-opt-dir="${prefix}" \
--with-openssl-include=${prefix}/include/openssl-1.0 \
--with-openssl-lib=${prefix}/lib/openssl-1.0 \
--with-rubylibprefix=${prefix}/lib/ruby2.0
# Ignore minor version for archdir, like i686-darwin9.
# Port "ruby" and "ruby19" does the same.
configure.env-append UNAME_RELEASE=${os.major}
# ext/tk/extconf.rb: fix build error with tk variant