# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           obsolete 1.0

name                postgis3
categories          databases gis
license             GPL-2+
version             3.6.0
revision            1

set postgresql_suffixes {12 13 14 15 16 17}
foreach v ${postgresql_suffixes} {
    subport pg${v}-${name} {
        replaced_by         pg${v}-postgis
    }
}

if {${name} eq ${subport}} {
    PortGroup   stub 1.0

    platforms   any
    supported_archs noarch
}
