# -*- 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 2021-02-08
deprecated.upstream_support no

name			postgresql95-doc
conflicts       postgresql90-doc postgresql91-doc postgresql92-doc \
    postgresql93-doc postgresql94-doc postgresql96-doc
version			9.5.25
categories		databases
platforms		any
supported_archs	noarch
maintainers		{jwa @jyrkiwahlstedt}
license			Permissive
description		Documentation for the PostgreSQL database version 9.5
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}
set rname       postgresql95

checksums           rmd160  29bc5f749edd9b3f45d133f970a593dd610b72fb \
                    sha256  7628c55eb23768a2c799c018988d8f2ab48ee3d80f5e11259938f7a935f0d603 \
                    size    17923796

use_bzip2		yes
dist_subdir		${rname}

set libdir		${prefix}/lib/${rname}
configure.args	--mandir=${prefix}/share/man \
				--without-openssl \
				--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/${rname}
}

livecheck.type	none
