Files

91 lines
3.2 KiB
Tcl

# -*- 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 github 1.0
PortGroup makefile 1.0
github.setup ossc-db pg_rman 1.3.16 V
github.tarball_from archive
revision 0
homepage https://ossc-db.github.io/pg_rman/index.html
description Backup and restore management tool for PostgreSQL
long_description \
${name} is an online backup and restore tool for PostgreSQL. The goal of \
the ${name} project is to provide a method for online backup and PITR \
that is as easy as pg_dump. Also, it maintains a backup catalog per \
database cluster. Users can maintain old backups including archive logs \
with one command.
categories databases
installs_libs no
license BSD
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
checksums rmd160 a460bc1ddb0c5731328e24d6328a7d07c402a5c3 \
sha256 b1bfe73f0987afedd2633f08a2c0eef880c9fdea276d7cf92e7ffdd7b28ed869 \
size 123923
depends_lib-append port:zlib
patchfiles-append patch-Makefile-pg_config.diff
variant postgresql16 \
conflicts postgresql15 postgresql14 postgresql13 postgresql12 postgresql11 \
description {Build against PostgreSQL 16.x} {
depends_lib-append port:postgresql16
build.args-append PG_CONFIG=${prefix}/lib/postgresql16/bin/pg_config
}
variant postgresql15 \
conflicts postgresql16 postgresql14 postgresql13 postgresql12 postgresql11 \
description {Build against PostgreSQL 15.x} {
depends_lib-append port:postgresql15
build.args-append PG_CONFIG=${prefix}/lib/postgresql15/bin/pg_config
}
variant postgresql14 \
conflicts postgresql16 postgresql15 postgresql13 postgresql12 postgresql11 \
description {Build against PostgreSQL 14.x} {
depends_lib-append port:postgresql14
build.args-append PG_CONFIG=${prefix}/lib/postgresql14/bin/pg_config
}
variant postgresql13 \
conflicts postgresql16 postgresql15 postgresql14 postgresql12 postgresql11 \
description {Build against PostgreSQL 13.x} {
depends_lib-append port:postgresql13
build.args-append PG_CONFIG=${prefix}/lib/postgresql13/bin/pg_config
}
variant postgresql12 \
conflicts postgresql16 postgresql15 postgresql14 postgresql13 postgresql11 \
description {Build against PostgreSQL 12.x} {
depends_lib-append port:postgresql12
build.args-append PG_CONFIG=${prefix}/lib/postgresql12/bin/pg_config
}
variant postgresql11 \
conflicts postgresql16 postgresql15 postgresql14 postgresql13 postgresql12 \
description {Build against PostgreSQL 11.x} {
depends_lib-append port:postgresql11
build.args-append PG_CONFIG=${prefix}/lib/postgresql11/bin/pg_config
}
if {![variant_isset postgresql11] && \
![variant_isset postgresql12] && \
![variant_isset postgresql13] && \
![variant_isset postgresql14] && \
![variant_isset postgresql15] && \
![variant_isset postgresql16] } {
default_variants +postgresql16
}
destroot {
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}