# $Id: Portfile 68271 2010-05-30 16:59:33Z jwa@macports.org $

PortSystem 1.0

name			postgresql84-doc
version			8.4.4
categories		databases
platforms		darwin
maintainers		mww jwa
description		Documentation for the postgresql database
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 \
				integrity. This is the documentation.

homepage		http://www.postgresql.org/
master_sites		postgresql:source/v${version}
distname		postgresql-${version}

checksums           md5     4bf2448ad965bca3940df648c02194df \
                    sha1    02592977a601976f8bae7bc3a5c69710d4d0344d \
                    rmd160  d2d45112c19a2f20d49ab82bd8f86b6ace7decd3

use_bzip2		yes
dist_subdir		postgresql84

set libdir		${prefix}/lib/postgresql84
configure.args	--mandir=${prefix}/share/man \
				--with-docdir=${prefix}/share/doc/postgresql84 \
				--without-openssl \
				--without-rendezvous \
				--without-readline \
				--without-zlib

build.dir		${worksrcpath}/doc
build.type		gnu
build.target

destroot.dir	${build.dir}

post-destroot {
    file rename ${destroot}${prefix}/share/doc/postgresql ${destroot}${prefix}/share/doc/postgresql84
}

livecheck.type	regex
livecheck.url	${homepage}
livecheck.regex	(8\\.4\\.\[0-9\]+)

