Fetching contributors…
Cannot retrieve contributors at this time
65 lines (51 sloc) 2.19 KB
# -*- 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
github.setup moby moby 17.05.0-ce v
revision 1
name docker
categories devel
platforms darwin
license Apache-2
maintainers nomaintainer
description The open-source application container engine
long_description Docker is an open source project to pack, ship \
and run any application as a lightweight container.
depends_build port:go
checksums rmd160 e03f7ceb997f9241d822ee15573ef68e870bb11b \
sha256 14d6e2fb393b4a10ef5d5112f6bd931948349e52cb793b6fcf945a034997c983 \
size 7166797
use_configure no
use_parallel_build no
build.cmd hack/ dynbinary-client
build.env AUTO_GOPATH=1
pre-build {
set distfile_dirname [exec tar tzf ${distpath}/[lindex ${distfiles} 0] | sed -n 1p]
set docker_gitcommit [string map "${}-${github.project}- {} / {}" ${distfile_dirname}]
if {![regexp -nocase -- {^[0-9a-f]{7}$} ${docker_gitcommit}]} {
return -code error "can't determine git commit"
build.env-append DOCKER_GITCOMMIT=${docker_gitcommit}
destroot {
xinstall -d ${destroot}${prefix}/bin
xinstall -m 755 ${worksrcpath}/bundles/${version}/${}/${name}-${version} ${destroot}${prefix}/bin/${name}
variant bash_completion {
depends_run-append path:etc/bash_completion:bash-completion
post-destroot {
set completions_path ${prefix}/share/bash-completion/completions
xinstall -d ${destroot}${completions_path}
xinstall -m 644 ${worksrcpath}/contrib/completion/bash/${name} ${destroot}${completions_path}/
variant zsh_completion {
depends_run-append path:${prefix}/bin/zsh:zsh
post-destroot {
set site-functions ${destroot}${prefix}/share/zsh/site-functions
xinstall -d ${site-functions}
xinstall ${worksrcpath}/contrib/completion/zsh/_${name} ${site-functions}/
github.livecheck.regex {([^"r]+)}