# -*- 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
maintainers {l2dy @l2dy} openmaintainer
description node package manager
long_description npm is a package manager for node. \
You can use it to install and publish your node programs. \
It manages dependencies and does other cool stuff.
homepage https://www.npmjs.com/
master_sites https://registry.npmjs.org/npm/-/
# Please keep the sha1 - users can use it to validate sha values published on npmjs.org for the package
checksums sha1 5296720486814a64a7fb082de00c4b5cfd11211f \
rmd160 cb019447dc43a7c0680b377a77773eaa8a250ae2 \
sha256 d6194c36bf612f1b2a6fbe351a7cb6f44dfb9a87a1d5336b1303dc1c07e87276 \
depends_lib path:bin/node:nodejs10
depends_lib-replace path:bin/node:nodejs10 path:bin/node:nodejs6
patchfiles patch-lib-update.js.diff
regsub -all {/} "^${prefix}/lib" {\\\/} npm_path_jsregex
reinplace "s|@@NPM_PATH_JSREGEX@@|${npm_path_jsregex}|g" ${worksrcpath}/lib/update.js
foreach f [concat ${worksrcpath}/bin/npm-cli.js \
${worksrcpath}/bin/npx-cli.js \
${worksrcpath}/node_modules/JSONStream/bin.js \
${worksrcpath}/node_modules/ajv/scripts/info \
${worksrcpath}/node_modules/errno/build.js \
${worksrcpath}/node_modules/errno/cli.js \
${worksrcpath}/node_modules/is-ci/bin.js \
${worksrcpath}/node_modules/mkdirp/bin/cmd.js \
${worksrcpath}/node_modules/node-gyp/bin/node-gyp.js \
${worksrcpath}/node_modules/node-gyp/node_modules/nopt/bin/nopt.js \
${worksrcpath}/node_modules/node-gyp/node_modules/nopt/examples/my-program.js \
${worksrcpath}/node_modules/node-gyp/node_modules/semver/bin/semver \
${worksrcpath}/node_modules/nopt/bin/nopt.js \