Revision: 140132 https://trac.macports.org/changeset/140132 Author: sean@macports.org Date: 2015-09-09 14:28:00 -0700 (Wed, 09 Sep 2015) Log Message: ----------- docker-machine: add new port Added Paths: ----------- trunk/dports/devel/docker-machine/ trunk/dports/devel/docker-machine/Portfile Added: trunk/dports/devel/docker-machine/Portfile =================================================================== --- trunk/dports/devel/docker-machine/Portfile (rev 0) +++ trunk/dports/devel/docker-machine/Portfile 2015-09-09 21:28:00 UTC (rev 140132) @@ -0,0 +1,39 @@ +# -*- 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 +# $Id$ + +PortSystem 1.0 +PortGroup github 1.0 + +github.setup docker machine 0.4.1 v +name docker-machine +categories devel +platforms darwin +license Apache-2 +maintainers sean openmaintainer +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_build port:godep +depends_lib port:docker + +checksums rmd160 27834c815ed01d58d45020b6a28f0cdde6fb9910 \ + sha256 6dedf0c3d0a76551cb40a3edb5492870452ffbef4939c7c033ed6e58b43a5cb4 + +use_configure no +build.cmd godep +build.target go build -o ${name} +build.env GOPATH=${worksrcpath} + +# what kind of tool does this? +post-extract { + file mkdir ${worksrcpath}/src/github.com/docker + ln -sf ${worksrcpath} ${worksrcpath}/src/github.com/docker/machine +} + +destroot { + xinstall -d ${destroot}${prefix}/bin + xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/ +}
participants (1)
-
sean@macports.org