description The most advanced open-source database available anywhere
long_description PostgreSQL is Object-Relational Database Management System. \
It supports almost all SQL constructs, including transactions, \
subselects, and user-defined types and functions. Write-ahead \
logging means increased performance while retaining data \
This version does not work on Mac OS X Intel!
homepage https://www.postgresql.org/
master_sites http://ftp.de.postgresql.org/mirror/postgresql//source/v${version} \
postgresql:source/v${version}
checksums md5 8287efcb6d4d0f2a631fd35149e8b8d2 \
sha1 a38d8045d2d01f501671e1a4b72473d7f8739107 \
rmd160 63a7908aef92ddc591d58332ff4bd0bdaa6b0fcf
depends_lib port:readline \
path:lib/libssl.dylib:openssl \
distname postgresql-${version}
set libdir ${prefix}/lib/pgsql7
configure.args --sysconfdir=${prefix}/etc/pgsql7 \
--includedir=${prefix}/include/pgsql7 \
--datadir=${prefix}/share/${name} \
--mandir=${prefix}/share/man \
--docdir=${prefix}/share/doc/${name} \
--with-docdir=${prefix}/share/doc/${name} \
--with-includes=${prefix}/include \
--with-libraries=${prefix}/lib \
--with-openssl=${prefix} \
--enable-integer-datetimes \
system "cd ${worksrcpath}/contrib/pg_autovacuum && ${build.cmd}"
system "cd ${worksrcpath}/contrib/tsearch2 && ${build.cmd}"