1 | # $Id: Portfile,v 1.4 2004/09/08 00:38:53 rshaw Exp $ |
---|
2 | PortSystem 1.0 |
---|
3 | PortGroup ruby 1.0 |
---|
4 | |
---|
5 | ruby.setup {postgres ruby-postgres} 0.7.1 extconf.rb {README doc sample} |
---|
6 | revision 3 |
---|
7 | maintainers shu@rufuran.org |
---|
8 | description Ruby API for the PostgreSQL database |
---|
9 | long_description This is the Ruby library for accessing PostgreSQL \ |
---|
10 | databases from within Ruby. It works with PostgreSQL \ |
---|
11 | 6.4/6.5/7.0/7.1 and 7.2\; probably works with 6.3 or \ |
---|
12 | earlier with slight modification, but not tested at all. |
---|
13 | categories-append databases |
---|
14 | homepage http://www.postgresql.jp/interfaces/ruby/ |
---|
15 | master_sites ${homepage}/archive/ |
---|
16 | checksums md5 8ef67b3f4b089248f0420baeb0e3b3c8 |
---|
17 | platforms darwin |
---|
18 | |
---|
19 | depends_lib-append lib:libpq:postgresql |
---|
20 | |
---|
21 | configure.args-append --with-pgsql-include-dir=${prefix}/include\ |
---|
22 | --with-pgsql-lib-dir=${prefix}/lib |
---|
23 | configure.env POSTGRES_INCLUDE="/opt/local/include/postgres -I/opt/local/include" |
---|
24 | configure.env POSTGRES_LIB="/opt/local/lib/postgres -L/opt/local/lib -lssl -lcrypto" |
---|