# $Id: Portfile 56229 2009-08-25 12:44:50Z mww@macports.org $

PortSystem 1.0

name			postgresql85-doc
version			8.5alpha1
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/${version}
distname		postgresql-${version}

checksums           md5     7a4d4885fa7cb58f5f09be459b01f26a \
                    sha1    a1d5c56ea3a0c4a626de45dba3f590a0f57528df \
                    rmd160  4cff9e138177c03580a1bc915b7ea6b557bad0d4

use_bzip2		no
dist_subdir		postgresql85

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

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

