Changeset View
Changeset View
Standalone View
Standalone View
www/npm/Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | # Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= npm | PORTNAME= npm | ||||
PORTVERSION= 5.3.0 | PORTVERSION= 5.3.0 | ||||
PORTREVISION= 1 | PORTREVISION= 2 | ||||
CATEGORIES= www | CATEGORIES= www | ||||
MASTER_SITES= LOCAL/sunpoet | MASTER_SITES= LOCAL/sunpoet | ||||
MAINTAINER= sunpoet@FreeBSD.org | MAINTAINER= sunpoet@FreeBSD.org | ||||
COMMENT= Node package manager | COMMENT= Node package manager | ||||
LICENSE= MIT | LICENSE= MIT | ||||
RUN_DEPENDS= gmake:devel/gmake \ | |||||
node>=0.8.0:www/node | |||||
CONFLICTS_INSTALL= npm2 npm3 npm4 | CONFLICTS_INSTALL= npm2 npm3 npm4 | ||||
NO_ARCH= yes | NO_ARCH= yes | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
REINPLACE_ARGS= -i '' | REINPLACE_ARGS= -i '' | ||||
USES= cpe python:2,run shebangfix tar:xz | USES= cpe node:run python:2,run shebangfix tar:xz | ||||
sunpoet: It's more precise to use USES=node:run.
And www/npm was supposed to run with node 8 (see… | |||||
CPE_VENDOR= npmjs | CPE_VENDOR= npmjs | ||||
CPE_PRODUCT= node_packaged_modules | CPE_PRODUCT= node_packaged_modules | ||||
SHEBANG_GLOB= *.py | SHEBANG_GLOB= *.py | ||||
SHEBANG_FILES= lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples | SHEBANG_FILES= lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples | ||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
Show All 15 Lines |
It's more precise to use USES=node:run.
And www/npm was supposed to run with node 8 (see r414303).