| 1 | PortSystem 1.0 |
|---|
| 2 | name pl-java |
|---|
| 3 | version 1.3.1-cvshead |
|---|
| 4 | categories databases |
|---|
| 5 | |
|---|
| 6 | maintainers sixtus@gmail.com |
|---|
| 7 | description PL/Java for PostgreSQL |
|---|
| 8 | long_description This port builds CVSHEAD, as only CVSHEAD works with PostgreSQL 8.2 |
|---|
| 9 | homepage http://gborg.postgresql.org/project/pljava/projdisplay.php |
|---|
| 10 | |
|---|
| 11 | depends_lib-append port:postgresql82 |
|---|
| 12 | |
|---|
| 13 | fetch.type cvs |
|---|
| 14 | cvs.root :pserver:anonymous:anonymous@gborg.postgresql.org:/usr/local/cvsroot/pljava |
|---|
| 15 | cvs.tag HEAD |
|---|
| 16 | cvs.module org.postgresql.pljava |
|---|
| 17 | |
|---|
| 18 | worksrcdir org.postgresql.pljava |
|---|
| 19 | use_configure no |
|---|
| 20 | build.env PATH=${prefix}/lib/postgresql82/bin:$env(PATH) |
|---|
| 21 | destroot.env PATH=${prefix}/lib/postgresql82/bin:$env(PATH) |
|---|
| 22 | |
|---|
| 23 | post-activate { |
|---|
| 24 | ui_msg "You will need to append 2 lines to you postgresql.conf" |
|---|
| 25 | ui_msg "--------------------------------------------------------------------------------------------" |
|---|
| 26 | ui_msg "custom_variable_classes = 'pljava'" |
|---|
| 27 | ui_msg "pljava.classpath = '${prefix}/lib/postgresql82/pljava.jar'" |
|---|
| 28 | ui_msg "--------------------------------------------------------------------------------------------" |
|---|
| 29 | ui_msg "Default dir is ${prefix}/var/db/postgresql82/defaultdb/" |
|---|
| 30 | ui_msg "" |
|---|
| 31 | ui_msg "For installing PL/Java into your db, please check install.sql here:" |
|---|
| 32 | ui_msg "--------------------------------------------------------------------------------------------" |
|---|
| 33 | ui_msg "http://gborg.postgresql.org/cgi-bin/cvsweb.cgi/org.postgresql.pljava/src/sql/?cvsroot=pljava" |
|---|
| 34 | ui_msg "--------------------------------------------------------------------------------------------" |
|---|
| 35 | } |
|---|