# -*- 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                repo
epoch               20160202
version             1.23
license             Apache-2
categories          python
platforms           darwin
maintainers         nomaintainer
supported_archs     noarch

description         tool that helps to manage Android Git repositories 
long_description    \
            Repo is a tool that we built on top of Git. Repo helps us \
            manage the many Git repositories, does the uploads to our \
            revision control system , and automates parts of the Android \
            development workflow. Repo is not meant to replace Git, only \
            to make it easier to work with Git in the context of Android.

homepage            https://source.android.com/source/developing.html
master_sites        https://storage.googleapis.com/git-repo-downloads/

checksums           sha256  e147f0392686c40cfd7d5e6f332c6ee74c4eab4d24e2694b3b0a0c037bf51dc5 \
                    rmd160  20308ab7a6ea6d7c9666af5ff9f393f1a768c7f9

depends_run         port:git
extract.suffix      
extract.only
use_configure       no
build               { }
destroot            {
        xinstall -m 755 ${distpath}/${distname} ${destroot}${prefix}/bin/${name}
}

livecheck.type      regex
livecheck.url       https://source.android.com/source/downloading
livecheck.regex     {For version (\d+(?:\.\d+)+), the [[:alnum:]-]+ checksum for repo}
