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 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup github 1.0 |
---|
5 | |
---|
6 | github.setup atom atom 1.20.0 v |
---|
7 | categories editors |
---|
8 | platforms darwin |
---|
9 | supported_archs noarch |
---|
10 | license MIT |
---|
11 | maintainers {khindenburg @kurthindenburg} openmaintainer |
---|
12 | |
---|
13 | description The hackable text editor |
---|
14 | long_description ${description} |
---|
15 | |
---|
16 | homepage https://atom.io |
---|
17 | |
---|
18 | checksums rmd160 48a500406894a8673a857e6c86ea868389fe4013 \ |
---|
19 | sha256 d7b37b4f756dd71ea1fad792e9ca1f74cb844d00e2ef3379724175ef7798567a |
---|
20 | |
---|
21 | depends_lib-append path:bin/npm:npm5 \ |
---|
22 | port:git \ |
---|
23 | port:python27 |
---|
24 | |
---|
25 | use_configure no |
---|
26 | build.cmd script/build |
---|
27 | build.env-append CC="${configure.cc} [get_canonical_archflags cc]" \ |
---|
28 | CXX="${configure.cxx} [get_canonical_archflags cxx]" |
---|
29 | build.args-append --install-dir ${destroot}${applications_dir}/Atom.app |
---|
30 | build.target-delete all |
---|
31 | |
---|
32 | universal_variant no |
---|
33 | |
---|
34 | destroot { |
---|
35 | file copy ${worksrcpath}/out/Atom.app ${destroot}${applications_dir}/Atom.app |
---|
36 | } |
---|
37 | |
---|
38 | livecheck.regex {archive/v([0-9.]+).tar.gz} |
---|