Ticket #43260: Portfile.2

File Portfile.2, 1.3 KB (added by steve@…, 10 years ago)

Working Portfile based on homebrew formula

Line 
1# -*- 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
2
3PortSystem          1.0
4PortGroup           github  1.0
5
6name                docker
7version             0.9.1
8github.setup        docker docker ${version}
9categories          sysutils
10platforms           darwin
11maintainers         yahoo.fr:jul_bsd openmaintainer
12license             Apache-2
13
14description         open source project to pack, ship and run any application as a lightweight container
15long_description    ${description}
16
17homepage            https://www.docker.com
18master_sites        https://github.com/docker/docker/archive/
19distname            v${version}
20worksrcdir          ${name}-${version}
21
22checksums           rmd160  47167a35714d6c864cd9b46f117b47eeb69fa36a \
23                    sha256  9ca3505fb4386cb3cd15c1462d77bf6c48d9cee1f1c49a3b027285d65b109a54
24
25use_configure       no
26use_parallel_build  no
27
28depends_build       port:go
29
30build.env           AUTO_GOPATH=1 DOCKER_CLIENTONLY=1 DOCKER_GITCOMMIT=a8a31eff10544860d2188dddabdee4d727545796
31build.cmd           hack/make.sh
32build.pre_args      dynbinary
33
34destroot {
35    xinstall -m 755 ${worksrcpath}/bundles/${version}/dynbinary/docker-${version} ${destroot}${prefix}/bin/docker
36}