Ticket #52589: Portfile.2

File Portfile.2, 1.2 KB (added by kurthindenburg (Kurt Hindenburg), 7 years ago)

Working portfile for 1.20.0

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