# -*- 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 { ether.org.za:light @dylanbr } 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 http://registry.npmjs.org/npm/-/
checksums sha1 3bec62312c94a9b0f48f208e00b98bf0304b40db \
rmd160 37691467e52ef07af35afc8ab3a3467b9191a5f8 \
sha256 c6fe903b4b9cd3ba01dcb530dbf00140e91f5b36c344710421676468e8e4fea3 \
depends_lib path:bin/node:nodejs8
depends_lib-replace path:bin/node:nodejs8 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/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 \
${worksrcpath}/node_modules/nopt/examples/my-program.js \