Ticket #11406: Portfile.diff
File Portfile.diff, 2.4 KB (added by sixtus@…, 17 years ago) |
---|
-
Portfile
old new 1 1 # $Id: Portfile 23533 2007-04-04 01:22:44Z rhwood@macports.org $ 2 2 3 PortSystem 4 PortGroup 3 PortSystem 1.0 4 PortGroup ruby 1.0 5 5 6 ruby.setup plruby 0.4.9extconf.rb {README.en docs/plruby.rb ex_trans.sql example.run plruby.html}7 categories-append 6 ruby.setup plruby 0.5.1 extconf.rb {README.en docs/plruby.rb ex_trans.sql example.run plruby.html} 7 categories-append databases 8 8 9 maintainers nomaintainer@macports.org 10 description PL/Ruby for PostgreSQL 11 long_description The procedural language PL/Ruby allows you to write \ 12 stored procedures for PostgreSQL in Ruby 9 maintainers sixtus@gmail.com 10 description PL/Ruby for PostgreSQL 11 long_description The procedural language PL/Ruby allows you to write stored procedures for PostgreSQL in Ruby 13 12 14 homepage 15 master_sites 13 homepage http://moulon.inra.fr/ruby/plruby.html 14 master_sites ftp://moulon.inra.fr/pub/ruby/ 16 15 17 checksums md5 3aad5f5f2e5932422ebadb38f66bfac016 checksums md5 ffe71918648707cdde277939936c8172 18 17 19 depends_lib-append port:ruby \ 20 port:postgresql81 18 depends_lib-append port:ruby port:postgresql82 21 19 22 platforms darwin 20 configure.args-append extconf.rb --with-pgsql-include=${prefix}/include/postgresql82/ \ 21 --with-pgsql-lib=${prefix}/lib/postgresql82/ 23 22 24 configure.args-append extconf.rb --with-pgsql-include=${prefix}/include/postgresql81/ \ 25 --with-pgsql-lib=${prefix}/lib/postgresql81/ \ 23 variant safe_level0 { 24 configure.args-append --with-safe-level=0 25 } 26 26 27 27 post-activate { 28 ui_msg "\n Pl/Ruby must be installed as a language in PostgreSQL using SQL commands. \n" 29 } 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 } 35 No newline at end of file