# $Id: Portfile 67515 2010-05-11 14:32:24Z jwa@macports.org $

PortSystem 1.0

name			postgresql90-doc
version			9.0beta1
categories		databases
platforms		darwin
maintainers		mww jwa
description		Documentation for the postgresql database ALPHA release.
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     b7447f48cdb0a97e62de7046acbc041b \
                    sha1    d024cb5a67485a4f2a8cab84d74f702a46c474bc \
                    rmd160  3d938b394d330f66987b1b8d387a5767b48749d7

use_bzip2		yes
dist_subdir		postgresql90

set libdir		${prefix}/lib/postgresql90
configure.args	--mandir=${prefix}/share/man \
				--with-docdir=${prefix}/share/doc/postgresql90 \
				--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/postgresql90
}

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

