source: trunk/dports/ruby/rb-plruby/Portfile @ 58981

Last change on this file since 58981 was 58981, checked in by ryandesign@…, 10 years ago

rb-plruby: fix fetch failure by updating to 0.5.3; closes #19698 (maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 58981 2009-10-08 04:56:10Z ryandesign@macports.org $
2
3PortSystem          1.0
4PortGroup           ruby 1.0
5
6ruby.setup          plruby 0.5.3 extconf.rb {README.en docs/plruby.rb ex_trans.sql example.run plruby.html} rubyforge:56891
7categories-append   databases
8
9maintainers         gmail.com:sixtus
10platforms           darwin
11description         PL/Ruby for PostgreSQL
12long_description    The procedural language PL/Ruby allows you to write stored procedures for PostgreSQL in Ruby
13
14homepage            http://moulon.inra.fr/ruby/plruby.html
15
16checksums           md5     9411bb29e1aa5521c5327e4d916de934 \
17                    sha1    5c89ea18dcc07c285faae44a1bc0212ec2692e9a \
18                    rmd160  51897c169ba783375730983a292a01cdecf8ee35
19
20depends_lib-append  port:postgresql83
21
22configure.args-append extconf.rb  --with-pgsql-include=${prefix}/include/postgresql83/ \
23                                  --with-pgsql-lib=${prefix}/lib/postgresql83/
24
25variant safe_level0 {
26  configure.args-append --with-safe-level=0
27}
28
29post-activate {
30  ui_msg "To install pl/ruby in your database, issue the following commands:
31-----------------------------------------------------------------\n"
32  ui_msg "  create function plruby_call_handler() returns language_handler"
33  ui_msg "    as '${ruby.archlib}/plruby.bundle' language 'C';"
34  ui_msg "  create trusted language 'plruby' handler plruby_call_handler lancompiler 'PL/Ruby';"
35  ui_msg "\n-----------------------------------------------------------------"
36}
Note: See TracBrowser for help on using the repository browser.