[27385] trunk/dports/ruby/rb-plruby/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Wed Aug 1 13:35:28 PDT 2007
Revision: 27385
http://trac.macosforge.org/projects/macports/changeset/27385
Author: markd at macports.org
Date: 2007-08-01 13:35:28 -0700 (Wed, 01 Aug 2007)
Log Message:
-----------
Closes #11406. Update to 0.5.1.
Modified Paths:
--------------
trunk/dports/ruby/rb-plruby/Portfile
Modified: trunk/dports/ruby/rb-plruby/Portfile
===================================================================
--- 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)
@@ -1,29 +1,34 @@
# $Id$
-PortSystem 1.0
-PortGroup ruby 1.0
+PortSystem 1.0
+PortGroup ruby 1.0
-ruby.setup plruby 0.4.9 extconf.rb {README.en docs/plruby.rb ex_trans.sql example.run plruby.html}
-categories-append databases
+ruby.setup plruby 0.5.1 extconf.rb {README.en docs/plruby.rb ex_trans.sql example.run plruby.html}
+categories-append databases
-maintainers nomaintainer at macports.org
-description PL/Ruby for PostgreSQL
-long_description The procedural language PL/Ruby allows you to write \
- stored procedures for PostgreSQL in Ruby
+maintainers sixtus at gmail.com
+description PL/Ruby for PostgreSQL
+long_description The procedural language PL/Ruby allows you to write stored procedures for PostgreSQL in Ruby
-homepage http://moulon.inra.fr/ruby/plruby.html
-master_sites ftp://moulon.inra.fr/pub/ruby/
+homepage http://moulon.inra.fr/ruby/plruby.html
+master_sites ftp://moulon.inra.fr/pub/ruby/
-checksums md5 3aad5f5f2e5932422ebadb38f66bfac0
+checksums md5 ffe71918648707cdde277939936c8172
-depends_lib-append port:ruby \
- port:postgresql81
+depends_lib-append port:ruby port:postgresql82
-platforms darwin
+configure.args-append extconf.rb --with-pgsql-include=${prefix}/include/postgresql82/ \
+ --with-pgsql-lib=${prefix}/lib/postgresql82/
-configure.args-append extconf.rb --with-pgsql-include=${prefix}/include/postgresql81/ \
- --with-pgsql-lib=${prefix}/lib/postgresql81/ \
+variant safe_level0 {
+ configure.args-append --with-safe-level=0
+}
post-activate {
- ui_msg "\n Pl/Ruby must be installed as a language in PostgreSQL using SQL commands. \n"
-}
+ ui_msg "To install pl/ruby in your database, issue the following commands:
+-----------------------------------------------------------------\n"
+ ui_msg " create function plruby_call_handler() returns language_handler"
+ ui_msg " as '${ruby.archlib}/plruby.bundle' language 'C';"
+ ui_msg " create trusted language 'plruby' handler plruby_call_handler lancompiler 'PL/Ruby';"
+ ui_msg "\n-----------------------------------------------------------------"
+}
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070801/4b9f3f6a/attachment.html
More information about the macports-changes
mailing list