# -*- 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 2016-10-27
deprecated.upstream_support no

name			postgresql91-doc
conflicts       postgresql90-doc postgresql92-doc postgresql93-doc \
    postgresql94-doc postgresql95-doc postgresql96-doc
version			9.1.24
categories		databases
platforms		any
supported_archs	noarch
maintainers		nomaintainer
license			Permissive
description		Documentation for the PostgreSQL database version 9.1
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  9531c8d01bc8012bac09d9e698d062b2374b164b \
                    sha256  de0d84e9f32af145fcd66d8d324f6ef1a0b17944ea344b7bbe9d99fff68ae5d3

use_bzip2		yes
dist_subdir		postgresql91

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

livecheck.type	none