Ticket #4102: Portfile

File Portfile, 1005 bytes (added by purestorm@…, 19 years ago)

This Portfile works.

Line 
1# $Id: Portfile,v 1.4 2004/09/08 00:38:53 rshaw Exp $
2PortSystem              1.0
3PortGroup               ruby 1.0
4
5ruby.setup              {postgres ruby-postgres} 0.7.1 extconf.rb {README doc sample}
6revision                3
7maintainers             shu@rufuran.org
8description             Ruby API for the PostgreSQL database
9long_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.
13categories-append       databases
14homepage                http://www.postgresql.jp/interfaces/ruby/
15master_sites    ${homepage}/archive/
16checksums               md5 8ef67b3f4b089248f0420baeb0e3b3c8
17platforms               darwin
18
19depends_lib-append              lib:libpq:postgresql
20
21configure.args-append   --with-pgsql-include-dir=${prefix}/include\
22                                                --with-pgsql-lib-dir=${prefix}/lib
23configure.env POSTGRES_INCLUDE="/opt/local/include/postgres -I/opt/local/include"
24configure.env POSTGRES_LIB="/opt/local/lib/postgres -L/opt/local/lib -lssl -lcrypto"