Ticket #52087: Portfile

File Portfile, 1.2 KB (added by amake (Aaron Madlon-Kay), 8 years ago)
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# $Id$
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        Masterminds glide 0.12.0 v
8categories          devel
9platforms           darwin
10maintainers         nomaintainer
11license             MIT
12
13description         A package manager for the Go language.
14
15long_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
19depends_build       port:go
20use_configure       no
21
22checksums           rmd160  ba19c257e0b9960710d4401d71c9c731ea95283e \
23                    sha256  c234061fcebeb4cb8b78d4a5aa3e7015163767484340be16a076a8aa2c340a00
24
25worksrcdir          ${workpath}/src/github.com/Masterminds/glide
26post-extract {
27    file mkdir [file dirname ${worksrcdir}]
28    move [glob ${workpath}/glide-*] ${worksrcdir}
29}
30
31build.cmd           make
32build.target        build
33build.env           GOPATH="${workpath}"
34
35destroot {
36    xinstall ${worksrcpath}/glide ${destroot}${prefix}/bin
37}