<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[130437] trunk/dports/lang</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/130437">130437</a></dd>
<dt>Author</dt> <dd>kimuraw@macports.org</dd>
<dt>Date</dt> <dd>2014-12-30 07:45:23 -0800 (Tue, 30 Dec 2014)</dd>
</dl>
<h3>Log Message</h3>
<pre>lang/ruby22: add new port</pre>
<h3>Added Paths</h3>
<ul>
<li>trunk/dports/lang/ruby22/</li>
<li><a href="#trunkdportslangruby22Portfile">trunk/dports/lang/ruby22/Portfile</a></li>
<li>trunk/dports/lang/ruby22/files/</li>
<li><a href="#trunkdportslangruby22filesruby22">trunk/dports/lang/ruby22/files/ruby22</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportslangruby22Portfile"></a>
<div class="addfile"><h4>Added: trunk/dports/lang/ruby22/Portfile (0 => 130437)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/ruby22/Portfile (rev 0)
+++ trunk/dports/lang/ruby22/Portfile 2014-12-30 15:45:23 UTC (rev 130437)
</span><span class="lines">@@ -0,0 +1,123 @@
</span><ins>+# -*- 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
+# $Id$
+
+PortSystem 1.0
+PortGroup select 1.0
+
+name ruby22
+version 2.2.0
+revision 0
+
+categories lang ruby
+maintainers kimuraw openmaintainer
+platforms darwin
+
+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/
+license {Ruby BSD}
+
+master_sites ruby:2.2
+use_bzip2 yes
+distname ruby-${version}
+
+checksums md5 d03cd4690fec1fff81d096d1c1255fde \
+ rmd160 05ce6c159082bd4228168966b0405b5cc53e8a43 \
+ sha1 8ff78e4aef404fcb92459b2e9e88be2b9c5f9cf1 \
+ sha256 1c031137999f832f86be366a71155113675b72420830ce432b777a0ff4942955
+use_parallel_build no
+
+depends_lib port:readline \
+ port:openssl \
+ port:zlib \
+ port:libyaml \
+ port:libffi \
+ port:gdbm
+depends_run port:ruby_select
+depends_build port:pkgconfig
+depends_skip_archcheck pkgconfig
+
+select.group ruby
+select.file ${filespath}/ruby22
+
+configure.args --enable-shared \
+ --disable-install-doc \
+ --mandir="${prefix}/share/man" \
+ --enable-pthread \
+ --without-tk \
+ --without-gmp \
+ --with-opt-dir="${prefix}" \
+ --program-suffix=2.2 \
+ --with-rubylibprefix="${prefix}/lib/ruby2.2"
+
+# Ignore minor version for archdir, like i686-darwin9.
+# Port "ruby" and "ruby19" does the same.
+configure.env-append UNAME_RELEASE=${os.major}
+
+# Add the architecture flag as required
+if {[info exists build_arch] && ${build_arch} != ""} {
+ configure.args-append "--with-arch=${build_arch}"
+}
+
+post-destroot {
+ foreach type {site vendor} {
+ set libdir ${destroot}${prefix}/lib/ruby2.1/${type}_ruby/2.1.0
+ xinstall -m 0755 -d ${libdir}
+ }
+
+ foreach subdir [exec find ${libdir} -type d -empty] {
+ destroot.keepdirs-append ${subdir}
+ }
+
+ # install destination of commands from port:rb21-*
+ xinstall -m 0755 -d ${destroot}${prefix}/libexec/ruby2.1
+ destroot.keepdirs-append ${destroot}${prefix}/libexec/ruby2.1
+}
+
+variant doc description "Install rdoc indexes and C API documents" {
+ configure.args-delete --disable-install-doc
+}
+
+# note: ruby/tk does not support tk-8.6.
+#
+#variant tk conflicts mactk description "Build using MacPorts Tk" {
+# configure.args-delete --without-tk
+# configure.args-append --with-tk --disable-tcltk-framework
+# depends_lib-append port:tcl \
+# port:tk
+#}
+
+variant mactk description "Build using Mac OS X Tk Framework" {
+ configure.args-delete --without-tk
+ configure.args-append --enable-tcltk-framework
+}
+
+variant gmp description "use gmp" {
+ configure.args-delete --without-gmp
+ depends_lib-append port:gmp
+}
+
+variant universal {
+ # use ruby built-in universal mechanism.
+ configure.args-append --with-arch=[join ${universal_archs} ,]
+ # clear macports' universal flags
+ configure.universal_cflags
+ configure.universal_cppflags
+ configure.universal_cxxflags
+ configure.universal_ldflags
+}
+
+variant relative description "Enable relative loading of libraries to allow for relocation of binaries." {
+ #enable relative loading
+ configure.args-append --enable-load-relative
+}
+
+livecheck.type regex
+livecheck.url http://cache.ruby-lang.org/pub/ruby/2.2/
+livecheck.regex ruby-(${version})${extract.suffix}
+
</ins><span class="cx">Property changes on: trunk/dports/lang/ruby22/Portfile
</span><span class="cx">___________________________________________________________________
</span></span></pre></div>
<a id="svnkeywords"></a>
<div class="addfile"><h4>Added: svn:keywords</h4></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4>Added: svn:eol-style</h4></div>
<a id="trunkdportslangruby22filesruby22"></a>
<div class="addfile"><h4>Added: trunk/dports/lang/ruby22/files/ruby22 (0 => 130437)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/ruby22/files/ruby22 (rev 0)
+++ trunk/dports/lang/ruby22/files/ruby22 2014-12-30 15:45:23 UTC (rev 130437)
</span><span class="lines">@@ -0,0 +1,13 @@
</span><ins>+bin/erb2.2
+bin/gem2.2
+bin/irb2.2
+bin/rake2.2
+bin/rdoc2.2
+bin/ri2.2
+bin/ruby2.2
+-
+share/man/man1/erb2.2.1.gz
+share/man/man1/irb2.2.1.gz
+share/man/man1/rake2.2.1.gz
+share/man/man1/ri2.2.1.gz
+share/man/man1/ruby2.2.1.gz
</ins></span></pre>
</div>
</div>
</body>
</html>