# -*- 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 Parallels docker-machine-parallels 1.3.0 v
categories devel
platforms darwin
license Apache-2
maintainers {danchr @danchr} openmaintainer
description Parallels driver for Docker Machine
long_description A plugin for Docker Machine allowing to \
create Docker hosts locally on Parallels Desktop \
for Mac
depends_lib port:docker-machine
checksums rmd160 9877664c7a255ca5b03960ae9fd87b3f64aded20 \
sha256 f39cbd40b654d4945c15c2fea04e00f6d0bbec613e1174995d6d27d8651337ea \
size 739901
build.target build
build.env GOPATH=${workpath}/go
build.dir ${workpath}/go/src/github.com/${github.author}/${github.project}
# what kind of tool does this?
configure {
file mkdir ${workpath}/go/src/github.com/${github.author}
ln -sf ${worksrcpath} ${workpath}/go/src/github.com/${github.author}/${github.project}
file mkdir ${worksrcpath}/src/github.com/${github.author}
ln -sf ${worksrcpath} ${worksrcpath}/src/github.com/${github.author}/${github.project}
}
destroot {
xinstall -d ${destroot}${prefix}/bin
xinstall -m 755 {*}[glob ${worksrcpath}/bin/*] ${destroot}${prefix}/bin/
}