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 | # $Id: Portfile 111353 2013-09-19 07:21:56Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | name docker |
---|
8 | version 0.9.1 |
---|
9 | github.setup docker docker ${version} |
---|
10 | categories sysutils |
---|
11 | platforms darwin |
---|
12 | maintainers yahoo.fr:jul_bsd openmaintainer |
---|
13 | license Apache-2 |
---|
14 | |
---|
15 | description open source project to pack, ship and run any application as a lightweight container |
---|
16 | long_description ${description} |
---|
17 | |
---|
18 | homepage https://www.docker.io |
---|
19 | #fetch.type git |
---|
20 | #git.url https://github.com/dotcloud/docker.git |
---|
21 | #git.branch release-0.9 |
---|
22 | master_sites https://github.com/dotcloud/docker/archive/ |
---|
23 | distname v${version} |
---|
24 | worksrcdir ${name}-${version} |
---|
25 | |
---|
26 | checksums rmd160 47167a35714d6c864cd9b46f117b47eeb69fa36a \ |
---|
27 | sha256 9ca3505fb4386cb3cd15c1462d77bf6c48d9cee1f1c49a3b027285d65b109a54 |
---|
28 | |
---|
29 | use_configure no |
---|
30 | |
---|
31 | depends_build port:go |
---|
32 | |
---|
33 | ## based on devel/codesearch |
---|
34 | ## https://gist.github.com/mboersma/7954708 |
---|
35 | #build.env VERBOSE=1 |
---|
36 | build.env GOPATH=${workpath} |
---|
37 | build.cmd ${prefix}/bin/go |
---|
38 | build.target build |
---|
39 | build.post_args docker/docker.go |
---|
40 | |
---|
41 | destroot.post_args -a |
---|
42 | destroot.env GOPATH=${prefix} |
---|
43 | |
---|
44 | livecheck.type none |
---|