Ticket #63935: Portfile.diff
File Portfile.diff, 2.1 KB (added by someuser12, 3 years ago) |
---|
-
Portfile
old new 4 4 PortGroup github 1.0 5 5 6 6 # 1.38.x requires npm6 and there are other build issues 7 github.setup atom atom 1. 37.0 v7 github.setup atom atom 1.58.0 v 8 8 revision 0 9 9 categories editors 10 10 platforms darwin … … 16 16 17 17 homepage https://atom.io 18 18 19 checksums rmd160 ddb3f9c7f4aa13f7e00fd5b3bf293eaac7dd860f\20 sha256 4cdcfc98329f2bdb32ed1321fdf296d9f2d74b74e0e024390558cbaf3e22e5ad\21 size 1 183820319 checksums rmd160 f561ae4dea994b541df9be98659c583892ad6f37 \ 20 sha256 c3668aaafa4569745c0b542119d7df56dc38d21fd4b58e0042711efae2f8c287 \ 21 size 12441716 22 22 23 23 patchfiles patch-install-prefix.diff 24 24 25 depends_lib-append path:bin/npm:npm5 \ 25 depends_lib-append path:bin/npm:npm8 \ 26 path:bin/node:nodejs14 \ 26 27 port:git \ 27 port:python 2728 port:python39 28 29 29 30 # atom does not use configure but a custom build script. Additionally, node (or 30 31 # some of the packages) seem to override MACOSX_DEPLOYMENT_TARGET. This has … … 36 37 configure.ldflags-append "-mmacosx-version-min=${macosx_deployment_target}" 37 38 build.env-append "CC=${configure.cc} [get_canonical_archflags cc]" \ 38 39 "CXX=${configure.cxx} [get_canonical_archflags cxx]" \ 39 PYTHON=${prefix}/bin/python 2.7\40 PYTHON=${prefix}/bin/python3.9 \ 40 41 CFLAGS=${configure.cflags} \ 41 42 CXXFLAGS=${configure.cxxflags} \ 42 43 LDFLAGS=${configure.ldflags} … … 58 59 ln -s "${applications_dir}/Atom.app/Contents/Resources/app/apm/node_modules/.bin/apm" ${destroot}${prefix}/bin/apm 59 60 } 60 61 61 livecheck.regex {archive/v([0-9.]+).tar.gz}62 github.livecheck.regex {([0-9.]+)}