# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup deprecated 1.0

# Final release was on 2014-07-24
deprecated.upstream_support no

name			postgresql84-doc
conflicts       postgresql90-doc postgresql91-doc postgresql92-doc \
                postgresql93-doc
version			8.4.22
categories		databases
platforms		any
supported_archs	noarch
maintainers		nomaintainer
license			Permissive
description		Documentation for the PostgreSQL database version 8.4
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		https://www.postgresql.org/
master_sites		postgresql:source/v${version}
distname		postgresql-${version}

checksums           rmd160  c46d1fd3405150f0ed25012dad1ef8110d2c2d64 \
                    sha256  5c1d56ce77448706d9dd03b2896af19d9ab1b9b8dcdb96c39707c74675ca3826

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	none