Fetching contributors…
Cannot retrieve contributors at this time
53 lines (42 sloc) 1.94 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 docker machine 0.14.0 v
name docker-machine
categories devel
platforms darwin
license Apache-2
maintainers nomaintainer
description Machine management for a container-centric world
long_description Machine lets you create Docker hosts on your computer, \
on cloud providers, and inside your own data center. It \
creates servers, installs Docker on them, then configures \
the Docker client to talk to them.
depends_lib port:go port:docker
checksums rmd160 b3893b019e9443c7cd358a729db95230a966eb28 \
sha256 13d1aaf69d5a148753882c65b44193e535628ed746d9c07de7ba37a2bc5ffe30 \
size 2725781
use_configure no build
build.env GOPATH=${workpath}/go
build.dir ${workpath}/go/src/
# what kind of tool does this?
post-extract {
file mkdir ${workpath}/go/src/
ln -sf ${worksrcpath} ${workpath}/go/src/
file mkdir ${worksrcpath}/src/
ln -sf ${worksrcpath} ${worksrcpath}/src/
destroot {
xinstall -d ${destroot}${prefix}/bin
xinstall -m 755 {*}[glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin/
if {[variant_isset bash_completion]} {
set completions_path ${prefix}/share/bash-completion/completions
xinstall -d ${destroot}${completions_path}
xinstall -m 644 {*}[glob ${worksrcpath}/contrib/completion/bash/*.bash] ${destroot}${completions_path}/
variant bash_completion {
depends_run-append path:etc/bash_completion:bash-completion
github.livecheck.regex {([^"r-]+)}