otis@b13:/usr/ports/devel/node-gyp % make clean ===> Cleaning for node-gyp-7.1.2_1 otis@b13:/usr/ports/devel/node-gyp % sudo pkg remove node-gyp Updating database digests format: 100% Checking integrity... done (0 conflicting) Deinstallation has been requested for the following 1 packages (of 0 packages in the universe): Installed packages to be REMOVED: node-gyp: 7.1.2_1 Number of packages to be removed: 1 The operation will free 2 MiB. Proceed with deinstalling packages? [y/N]: y [1/1] Deinstalling node-gyp-7.1.2_1... [1/1] Deleting files for node-gyp-7.1.2_1: 100% otis@b13:/usr/ports/devel/node-gyp % ls -la /usr/local/lib/node_modules/node-gyp ls: /usr/local/lib/node_modules/node-gyp: No such file or directory otis@b13:/usr/ports/devel/node-gyp % ls -la /usr/local/bin/node-gyp ls: /usr/local/bin/node-gyp: No such file or directory otis@b13:/usr/ports/devel/node-gyp % make ===> License MIT accepted by the user ===> node-gyp-7.1.2_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by node-gyp-7.1.2_1 for building ===> Extracting for node-gyp-7.1.2_1 => SHA256 Checksum OK for nodejs-node-gyp-v7.1.2_GH0.tar.gz. ===> Patching for node-gyp-7.1.2_1 ===> node-gyp-7.1.2_1 depends on file: /usr/local/bin/npm - found ===> Configuring for node-gyp-7.1.2_1 ===> Staging for node-gyp-7.1.2_1 ===> node-gyp-7.1.2_1 depends on file: /usr/local/bin/npm - found ===> Generating temporary packing list /bin/mkdir -p /usr/ports/devel/node-gyp/work/stage/usr/local/lib/node_modules/node-gyp (cd /usr/ports/devel/node-gyp/work/node-gyp-7.1.2 && /bin/sh -c '(/usr/bin/find -Ed $1 $3 | /usr/bin/cpio -dumpl $2 >/dev/null 2>&1) && /usr/bin/find -Ed $1 $3 \( -type d -exec /bin /sh -c '\''cd '\''$2'\'' && chmod 755 "$@"'\'' . {} + -o -type f -exec /bin/sh -c '\''cd '\''$2'\'' && chmod 0644 "$@"'\'' . {} + \)' COPYTREE_SHARE . /usr/ports/devel/node-gyp/work/st age/usr/local/lib/node_modules/node-gyp "! ( -name \.* -or -path *\/\.github\/* -or -name test -or -path *\/test\/* )") install -l rs /usr/ports/devel/node-gyp/work/stage/usr/local/lib/node_modules/node-gyp/bin/node-gyp.js /usr/ports/devel/node-gyp/work/stage/usr/local/bin/node-gyp /bin/ln -s /usr/local/lib/node_modules/npm/node_modules /usr/ports/devel/node-gyp/work/stage/usr/local/lib/node_modules/node-gyp/node_modules ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) otis@b13:/usr/ports/devel/node-gyp % make install ===> Installing for node-gyp-7.1.2_1 ===> Checking if node-gyp is already installed ===> Switching to root credentials for 'install' target ===> Registering installation for node-gyp-7.1.2_1 Installing node-gyp-7.1.2_1... ===> Returning to user credentials otis@b13:/usr/ports/devel/node-gyp % ls -la /usr/local/bin/node-gyp lrwxr-xr-x 1 root wheel 44 Mar 16 15:29 /usr/local/bin/node-gyp -> ../lib/node_modules/node-gyp/bin/node-gyp.js otis@b13:/usr/ports/devel/node-gyp % ls -ld /usr/local/lib/node_modules/node-gyp drwxr-xr-x 6 root wheel 16 Mar 16 15:29 /usr/local/lib/node_modules/node-gyp otis@b13:/usr/ports/devel/node-gyp % node-gyp Usage: node-gyp [options] where is one of: - build - Invokes `make` and builds the module - clean - Removes any generated build files and the "out" dir - configure - Generates a Makefile for the current module - rebuild - Runs "clean", "configure" and "build" all at once - install - Install node development files for the specified node version. - list - Prints a listing of the currently installed node development files - remove - Removes the node development files for the specified version node-gyp@7.1.2 /usr/local/lib/node_modules/node-gyp node@14.16.0 otis@b13:/usr/ports/devel/node-gyp %