<pre style='margin:0'>
ci42 pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/141c596d608b30723e0d89bc3b2cb78dc7e8347c">https://github.com/macports/macports-ports/commit/141c596d608b30723e0d89bc3b2cb78dc7e8347c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 141c596d608b30723e0d89bc3b2cb78dc7e8347c
</span>Author: ci42 <ciserlohn@macports.org>
AuthorDate: Fri Oct 25 16:52:21 2019 +0200
<span style='display:block; white-space:pre;color:#404040;'> nodejs11: make port obsolete
</span>---
devel/nodejs10/Portfile | 2 +-
devel/nodejs11/Portfile | 161 +---------------------------
devel/nodejs11/files/patch-common.gypi.diff | 10 --
devel/nodejs12/Portfile | 2 +-
devel/nodejs8/Portfile | 2 +-
5 files changed, 6 insertions(+), 171 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/nodejs10/Portfile b/devel/nodejs10/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 492e4ff..9f36500 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/nodejs10/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/nodejs10/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,7 +24,7 @@ long_description Node's goal is to provide an easy way to build scalable
</span> Machine or Python's Twisted. Node takes the event model a bit further-it \
presents the event loop as a language construct instead of as a library.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-conflicts nodejs8 nodejs11 nodejs12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts nodejs8 nodejs12
</span>
homepage https://nodejs.org/
master_sites ${homepage}dist/v${version}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/nodejs11/Portfile b/devel/nodejs11/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9d44ef8..a34eaa8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/nodejs11/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/nodejs11/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,169 +1,14 @@
</span> # -*- 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
PortSystem 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup compiler_blacklist_versions 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup obsolete 1.0
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# on macOS nodejs only builds against libc++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# this force is OK as node does not link against any other c++ libs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib-append port:libcxx
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cxx_stdlib libc++
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup cxx11 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+replaced_by nodejs12
</span>
name nodejs11
version 11.15.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span>
categories devel net
platforms darwin
license {MIT BSD}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers {ciserlohn @ci42} openmaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description Evented I/O for V8 JavaScript
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description Node's goal is to provide an easy way to build scalable network programs in JavaScript. \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Node is similar in design to and influenced by systems like Ruby's Event \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Machine or Python's Twisted. Node takes the event model a bit further-it \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- presents the event loop as a language construct instead of as a library.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-conflicts nodejs8 nodejs10 nodejs12
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage https://nodejs.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites ${homepage}dist/v${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_xz yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 17544480410399b4f9e74ed288fcd0d414bde1c7 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 68a776c5d8b8b91a8f2adac2ca4ce4390ae1804883ec7ec9c0d6a6a64d306a76 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 22115480
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname node-v${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_build port:pkgconfig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:python27
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# path:lib/libssl.dylib:openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-proc rec_glob {basedir pattern} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set files [glob -directory $basedir -nocomplain -type f $pattern]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach dir [glob -directory $basedir -nocomplain -type d *] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend files {*}[rec_glob $dir $pattern]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return $files
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.python ${prefix}/bin/python2.7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-common.gypi.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach f [concat ${worksrcpath}/configure \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/tools/gyp/gyp \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/deps/v8/gypfiles/gyp_v8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/deps/v8/tools/objdump-v8 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- [rec_glob ${worksrcpath} *.py]] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -q "s|/usr/bin/env python|${configure.python}|" ${f}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach gypfile [rec_glob ${worksrcpath} *.gyp*] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -q "s|'python'|'${configure.python}'|" ${gypfile}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|python|${configure.python}|" ${worksrcpath}/deps/v8/gypfiles/toolchain.gypi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# use the system libuv instead of the bundled version, as it is fixed for older systems
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if { ${os.platform} eq "darwin" && ${os.major} < 11 } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append path:lib/libuv.dylib:libuv
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --shared-libuv
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append --without-npm
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append --with-intl=small-icu
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#configure.args-append --shared-openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#configure.args-append --shared-openssl-includes=${prefix}/include/openssl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#configure.args-append --shared-openssl-libpath=${prefix}/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# V8 only supports ARM and IA-32 processors
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs i386 x86_64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-universal_variant no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# "V8 doesn't like cache."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.ccache no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-test.run yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_parallel_build no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-switch $build_arch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- i386 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --dest-cpu=ia32
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- x86_64 {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append --dest-cpu=x64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append {clang < 800}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Workaround for Darwin19 (beta). To be reviewed come final release.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-compiler.blacklist-append {clang > 1099}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args-append CC=${configure.cc} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CXX=${configure.cxx} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CXX.host=${configure.cxx} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CPP=${configure.cpp} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS="${configure.cflags}" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CXXFLAGS="${configure.cxxflags}" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDFLAGS="${configure.ldflags}" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PYTHON=${configure.python} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- V=1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set bindir ${destroot}${prefix}/bin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set libdir ${destroot}${prefix}/lib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set libndir ${libdir}/node
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set libddir ${libdir}/dtrace
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set incdir ${destroot}${prefix}/include/node
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set docdir ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${bindir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${libdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${libndir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${libddir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${incdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${docdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # install binaries
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- out/Release/node \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${bindir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # install headers
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 {*}[glob ${worksrcpath}/src/*.h] ${incdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 {*}[glob ${worksrcpath}/deps/v8/include/*.h] ${incdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 {*}[glob ${worksrcpath}/deps/uv/include/*.h] ${incdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 {*}[glob ${worksrcpath}/deps/cares/include/*.h] ${incdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # install dtrace script
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- src/node.d \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${libddir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # install manpage
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- doc/node.1 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/man/man1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # install docs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AUTHORS \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CHANGELOG.md \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- COLLABORATOR_GUIDE.md \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CONTRIBUTING.md \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GOVERNANCE.md \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LICENSE \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- README.md \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${docdir}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.url ${homepage}dist/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex {v(11\.\d+\.\d+)}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/nodejs11/files/patch-common.gypi.diff b/devel/nodejs11/files/patch-common.gypi.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index b0f82b7..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/nodejs11/files/patch-common.gypi.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,10 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- common.gypi.orig 2014-09-16 17:47:52.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ common.gypi 2014-10-13 22:42:11.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -207,7 +207,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'GCC_THREADSAFE_STATICS': 'NO', # -fno-threadsafe-statics
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'PREBINDING': 'NO', # No -Wl,-prebind
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- 'MACOSX_DEPLOYMENT_TARGET': '10.7', # -mmacosx-version-min=10.7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'USE_HEADERMAP': 'NO',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'OTHER_CFLAGS': [
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- '-fno-strict-aliasing',
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/nodejs12/Portfile b/devel/nodejs12/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f716709..0f881c1 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/nodejs12/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/nodejs12/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,7 +24,7 @@ long_description Node's goal is to provide an easy way to build scalable
</span> Machine or Python's Twisted. Node takes the event model a bit further-it \
presents the event loop as a language construct instead of as a library.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-conflicts nodejs8 nodejs10 nodejs11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts nodejs8 nodejs10
</span>
homepage https://nodejs.org/
master_sites ${homepage}dist/v${version}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/nodejs8/Portfile b/devel/nodejs8/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 150c21f..e49fb91 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/nodejs8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/nodejs8/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,7 +24,7 @@ long_description Node's goal is to provide an easy way to build scalable
</span> Machine or Python's Twisted. Node takes the event model a bit further-it \
presents the event loop as a language construct instead of as a library.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-conflicts nodejs10 nodejs11 nodejs12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+conflicts nodejs10 nodejs12
</span>
homepage https://nodejs.org/
master_sites ${homepage}dist/v${version}
</pre><pre style='margin:0'>
</pre>