<!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" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { 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 #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#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>
<title>[27385] trunk/dports/ruby/rb-plruby/Portfile</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.macosforge.org/projects/macports/changeset/27385">27385</a></dd>
<dt>Author</dt> <dd>markd@macports.org</dd>
<dt>Date</dt> <dd>2007-08-01 13:35:28 -0700 (Wed, 01 Aug 2007)</dd>
</dl>

<h3>Log Message</h3>
<pre>Closes #11406.  Update to 0.5.1.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsrubyrbplrubyPortfile">trunk/dports/ruby/rb-plruby/Portfile</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsrubyrbplrubyPortfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/ruby/rb-plruby/Portfile (27384 => 27385)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/ruby/rb-plruby/Portfile        2007-08-01 19:39:09 UTC (rev 27384)
+++ trunk/dports/ruby/rb-plruby/Portfile        2007-08-01 20:35:28 UTC (rev 27385)
</span><span class="lines">@@ -1,29 +1,34 @@
</span><span class="cx"> # $Id$
</span><span class="cx"> 
</span><del>-PortSystem                1.0
-PortGroup                ruby 1.0
</del><ins>+PortSystem          1.0
+PortGroup           ruby 1.0
</ins><span class="cx"> 
</span><del>-ruby.setup              plruby 0.4.9  extconf.rb {README.en docs/plruby.rb ex_trans.sql example.run plruby.html}
-categories-append        databases
</del><ins>+ruby.setup          plruby 0.5.1  extconf.rb {README.en docs/plruby.rb ex_trans.sql example.run plruby.html}
+categories-append   databases
</ins><span class="cx"> 
</span><del>-maintainers                nomaintainer@macports.org
-description                PL/Ruby for PostgreSQL
-long_description         The procedural language PL/Ruby allows you to write \
-                        stored procedures for PostgreSQL in Ruby
</del><ins>+maintainers         sixtus@gmail.com
+description         PL/Ruby for PostgreSQL
+long_description    The procedural language PL/Ruby allows you to write stored procedures for PostgreSQL in Ruby
</ins><span class="cx"> 
</span><del>-homepage                http://moulon.inra.fr/ruby/plruby.html
-master_sites                ftp://moulon.inra.fr/pub/ruby/
</del><ins>+homepage            http://moulon.inra.fr/ruby/plruby.html
+master_sites        ftp://moulon.inra.fr/pub/ruby/
</ins><span class="cx"> 
</span><del>-checksums                md5 3aad5f5f2e5932422ebadb38f66bfac0
</del><ins>+checksums           md5 ffe71918648707cdde277939936c8172
</ins><span class="cx"> 
</span><del>-depends_lib-append        port:ruby \
-                        port:postgresql81
</del><ins>+depends_lib-append  port:ruby port:postgresql82
</ins><span class="cx"> 
</span><del>-platforms                darwin
</del><ins>+configure.args-append extconf.rb  --with-pgsql-include=${prefix}/include/postgresql82/ \
+                                  --with-pgsql-lib=${prefix}/lib/postgresql82/
</ins><span class="cx"> 
</span><del>-configure.args-append        extconf.rb  --with-pgsql-include=${prefix}/include/postgresql81/ \
-                                    --with-pgsql-lib=${prefix}/lib/postgresql81/ \
</del><ins>+variant safe_level0 {
+  configure.args-append --with-safe-level=0
+}
</ins><span class="cx"> 
</span><span class="cx"> post-activate {
</span><del>-                ui_msg &quot;\n Pl/Ruby must be installed as a language in PostgreSQL using SQL commands. \n&quot;
-}
</del><ins>+  ui_msg &quot;To install pl/ruby in your database, issue the following commands:
+-----------------------------------------------------------------\n&quot;
+  ui_msg &quot;  create function plruby_call_handler() returns language_handler&quot;
+  ui_msg &quot;    as '${ruby.archlib}/plruby.bundle' language 'C';&quot;
+  ui_msg &quot;  create trusted language 'plruby' handler plruby_call_handler lancompiler 'PL/Ruby';&quot;
+  ui_msg &quot;\n-----------------------------------------------------------------&quot;
+}
</ins><span class="cx">\ No newline at end of file
</span></span></pre>
</div>
</div>

</body>
</html>