# -*- 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                postgresql10-doc
conflicts           postgresql96-doc postgresql11-doc postgresql12-doc \
    postgresql13-doc
version             10.19
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}
set rname           postgresql10

checksums           rmd160  8e1fd79ea6ddd5388cca8b3a54397ced66458cce \
                    sha256  6eb830b428b60e84ae87e20436bce679c4d9d0202be7aec0e41b0c67d9134239 \
                    size    19261478

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
