# -*- 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               stub 1.0
PortGroup               select 1.0

name                    maven_select
version                 0.3
revision                3
categories              sysutils
supported_archs         noarch
platforms               any
description             common files for selecting default Maven version
long_description        This port installs files that allow 'port select' to \
                        be used to create links to the preferred default \
                        version of the Maven Java build tool.

post-destroot {
        select::install maven ${filespath}/base
        select::install maven ${filespath}/none
}

livecheck.type  none

# Documentation for maven ports:
#   PortGroup select 1.0
#   select.group            maven
#   select.file             ${filespath}/maven[string map {. {}} ${branch}]