# -*- 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 2015-10-08
deprecated.upstream_support no

name			postgresql90-doc
conflicts       postgresql84-doc postgresql91-doc postgresql92-doc \
                postgresql93-doc postgresql94-doc
version			9.0.23
categories		databases
platforms		any
supported_archs	noarch
maintainers		nomaintainer
license			Permissive
description		Documentation for the PostgreSQL database version 9.0
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  a8751d04dfad1323e4f2d2d2d05c8868cc3008ae \
                    sha256  3dbcbe19c814139a3f4be8bc6b49db804753cbc49979f345083e835c52b4d7de

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	none