# -*- 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 78045332e298dfd859ceef9fe946950f \
rmd160 1e7cc76027730979123cdd02691ce5193cd9df7a \
sha1 91b31abdba00a346c155fd32bd32d3cec3b73bc4 \
sha256 4d1a3a88e8cf9aea624eb73843fbfc60a9a281582660f86d5e4e00870397407c
depends_lib port:readline \
depends_run port:ruby_select
depends_build port:pkgconfig
depends_skip_archcheck pkgconfig
select.file ${filespath}/ruby23
# ext/openssl/ossl.h: <openssl/asn1_mac.h> was deprecated (#58123)
patchfiles patch-ext_openssl_ossl.h.diff
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.3"
# Add the architecture flag as required