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

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

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