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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | PortGroup github 1.0 |
---|
6 | |
---|
7 | github.setup Masterminds glide 0.12.0 v |
---|
8 | categories devel |
---|
9 | platforms darwin |
---|
10 | maintainers nomaintainer |
---|
11 | license MIT |
---|
12 | |
---|
13 | description A package manager for the Go language. |
---|
14 | |
---|
15 | long_description Are you used to tools such as Cargo, npm, Composer, Nuget, \ |
---|
16 | Pip, Maven, Bundler, or other modern package managers? If \ |
---|
17 | so, Glide is the comparable Go tool. |
---|
18 | |
---|
19 | depends_build port:go |
---|
20 | use_configure no |
---|
21 | |
---|
22 | checksums rmd160 ba19c257e0b9960710d4401d71c9c731ea95283e \ |
---|
23 | sha256 c234061fcebeb4cb8b78d4a5aa3e7015163767484340be16a076a8aa2c340a00 |
---|
24 | |
---|
25 | worksrcdir ${workpath}/src/github.com/Masterminds/glide |
---|
26 | post-extract { |
---|
27 | file mkdir [file dirname ${worksrcdir}] |
---|
28 | move [glob ${workpath}/glide-*] ${worksrcdir} |
---|
29 | } |
---|
30 | |
---|
31 | build.cmd make |
---|
32 | build.target build |
---|
33 | build.env GOPATH="${workpath}" |
---|
34 | |
---|
35 | destroot { |
---|
36 | xinstall ${worksrcpath}/glide ${destroot}${prefix}/bin |
---|
37 | } |
---|