Ticket #63935: Portfile.diff

File Portfile.diff, 2.1 KB (added by someuser12, 3 years ago)
  • Portfile

    old new  
    44PortGroup           github 1.0
    55
    66# 1.38.x requires npm6 and there are other build issues
    7 github.setup        atom atom 1.37.0 v
     7github.setup        atom atom 1.58.0 v
    88revision            0
    99categories          editors
    1010platforms           darwin
     
    1616
    1717homepage            https://atom.io
    1818
    19 checksums           rmd160  ddb3f9c7f4aa13f7e00fd5b3bf293eaac7dd860f \
    20                     sha256  4cdcfc98329f2bdb32ed1321fdf296d9f2d74b74e0e024390558cbaf3e22e5ad \
    21                     size    11838203
     19checksums           rmd160  f561ae4dea994b541df9be98659c583892ad6f37 \
     20                    sha256  c3668aaafa4569745c0b542119d7df56dc38d21fd4b58e0042711efae2f8c287 \
     21                    size    12441716
    2222
    2323patchfiles          patch-install-prefix.diff
    2424
    25 depends_lib-append  path:bin/npm:npm5 \
     25depends_lib-append  path:bin/npm:npm8 \
     26                    path:bin/node:nodejs14 \
    2627                    port:git \
    27                     port:python27
     28                    port:python39
    2829
    2930# atom does not use configure but a custom build script. Additionally, node (or
    3031# some of the packages) seem to override MACOSX_DEPLOYMENT_TARGET. This has
     
    3637configure.ldflags-append   "-mmacosx-version-min=${macosx_deployment_target}"
    3738build.env-append           "CC=${configure.cc} [get_canonical_archflags cc]" \
    3839                           "CXX=${configure.cxx} [get_canonical_archflags cxx]" \
    39                            PYTHON=${prefix}/bin/python2.7 \
     40                           PYTHON=${prefix}/bin/python3.9 \
    4041                           CFLAGS=${configure.cflags} \
    4142                           CXXFLAGS=${configure.cxxflags} \
    4243                           LDFLAGS=${configure.ldflags}
     
    5859    ln -s "${applications_dir}/Atom.app/Contents/Resources/app/apm/node_modules/.bin/apm" ${destroot}${prefix}/bin/apm
    5960}
    6061
    61 livecheck.regex     {archive/v([0-9.]+).tar.gz}
     62github.livecheck.regex     {([0-9.]+)}