Ticket #49652: Portfile

File Portfile, 1.3 KB (added by jrjsmrtn, 9 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
7set author          hypriot
8name                flash
9version             0.2.0
10categories          sysutils
11platforms           darwin
12license             MIT
13maintainers         jrjsmrtn openmaintainer
14
15description         Command line script to flash SD card images for the \
16                    Raspberry Pi
17long_description    ${description}
18homepage            https://github.com/hypriot/flash
19
20github.setup        ${author} ${name} ${version}
21
22checksums           rmd160  47c39d2fdfa297a5bfc0e74e2498e528a0205583 \
23                    sha256  54cfaea82e0df1b9d223cafeef7abbc64af04139383df11b31c6ffc0f46d8192
24
25use_configure       no
26build               {}
27
28destroot {
29    xinstall -m 0755 ${worksrcpath}/Darwin/flash ${destroot}${prefix}/bin
30}
31
32default_variants    +pv +curl
33
34variant pv description {Enable progress bar while flashing} {
35    depends_lib-append      port:pv
36}
37
38variant curl description {Enable flashing directly with an HTTP URL} {
39    depends_lib-append      port:curl
40}
41
42variant aws description {Enable flashing directly from AWS S3 bucket} {
43    depends_lib-append      port:py-awscli
44}