# -*- 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

name			postgresql93-doc
conflicts       postgresql90-doc postgresql91-doc postgresql92-doc \
    postgresql94-doc postgresql95-doc postgresql96-doc
version			9.3.23
categories		databases
platforms		darwin
maintainers		{jwa @jyrkiwahlstedt}
license			Permissive
description		Documentation for the postgresql database BETA 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		https://www.postgresql.org/
master_sites		postgresql:source/v${version}
distname		postgresql-${version}

checksums           rmd160  675d522861cab917d5a66082b3e7fcbe31577170 \
                    sha256  1d981006dce3851e470b038e88bf496a80813c614c2e89ed7d2c7fb38e66f6cb \
                    size    17033683

use_bzip2		yes
dist_subdir		postgresql93

set libdir		${prefix}/lib/postgresql93
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/postgresql93
}

livecheck.type	none