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

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

Add missing required variable "platforms"

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 56061 2009-08-24 00:33:19Z ryandesign@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
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
15master_sites        ftp://moulon.inra.fr/pub/ruby/
16
17checksums           md5 dabe82a70e3da6f14ddf2f048a5ca538
18
19depends_lib-append  port:ruby port:postgresql83
20
21configure.args-append extconf.rb  --with-pgsql-include=${prefix}/include/postgresql83/ \
22                                  --with-pgsql-lib=${prefix}/lib/postgresql83/
23
24variant safe_level0 {
25  configure.args-append --with-safe-level=0
26}
27
28post-activate {
29  ui_msg "To install pl/ruby in your database, issue the following commands:
30-----------------------------------------------------------------\n"
31  ui_msg "  create function plruby_call_handler() returns language_handler"
32  ui_msg "    as '${ruby.archlib}/plruby.bundle' language 'C';"
33  ui_msg "  create trusted language 'plruby' handler plruby_call_handler lancompiler 'PL/Ruby';"
34  ui_msg "\n-----------------------------------------------------------------"
35}
Note: See TracBrowser for help on using the repository browser.