Ticket #12166: Portfile

File Portfile, 1.6 KB (added by sixtus@…, 17 years ago)

The portfile for pl/java

Line 
1PortSystem          1.0
2name                pl-java
3version             1.3.1-cvshead
4categories          databases
5
6maintainers         sixtus@gmail.com
7description         PL/Java for PostgreSQL
8long_description    This port builds CVSHEAD, as only CVSHEAD works with PostgreSQL 8.2
9homepage            http://gborg.postgresql.org/project/pljava/projdisplay.php
10
11depends_lib-append  port:postgresql82
12
13fetch.type          cvs
14cvs.root            :pserver:anonymous:anonymous@gborg.postgresql.org:/usr/local/cvsroot/pljava
15cvs.tag             HEAD
16cvs.module          org.postgresql.pljava
17
18worksrcdir          org.postgresql.pljava
19use_configure       no
20build.env           PATH=${prefix}/lib/postgresql82/bin:$env(PATH)
21destroot.env        PATH=${prefix}/lib/postgresql82/bin:$env(PATH)
22
23post-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}