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> | ||||
PORTNAME= npm | PORTNAME= npm | ||||
PORTVERSION= 6.14.8 | PORTVERSION= 6.14.8 | ||||
PORTREVISION= 1 | |||||
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= APACHE20 | LICENSE= APACHE20 | ||||
LICENSE_FILE= ${WRKSRC}/lib/node_modules/npm/LICENSE | LICENSE_FILE= ${WRKSRC}/lib/node_modules/npm/LICENSE | ||||
RUN_DEPENDS= gmake:devel/gmake | RUN_DEPENDS= gmake:devel/gmake | ||||
USES= cpe python:3.5+ shebangfix tar:xz | USES?= nodejs:run | ||||
USES+= cpe python:3.5+ shebangfix tar:xz | |||||
sunpoet: Please change it to:
```
USES?=nodejs:run
USES+=cpe python:3.5+ shebangfix tar:xz
``` | |||||
NO_ARCH= yes | NO_ARCH= yes | ||||
NO_BUILD= yes | NO_BUILD= yes | ||||
REINPLACE_ARGS= -i '' | REINPLACE_ARGS= -i '' | ||||
CONFLICTS_INSTALL?= npm-node14 npm-node16 | CONFLICTS_INSTALL?= npm-node14 npm-node16 | ||||
OPTIONS_SINGLE= BACKEND | |||||
OPTIONS_SINGLE_BACKEND= NODE NODE14 NODE16 | |||||
OPTIONS_DEFAULT=NODE | |||||
NODE_DESC= Use www/node as backend | |||||
NODE14_DESC= Use www/node14 as backend | |||||
NODE16_DESC= Use www/node16 as backend | |||||
CPE_VENDOR= npmjs | CPE_VENDOR= npmjs | ||||
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 | ||||
NODE_RUN_DEPENDS= node>=0.8.0:www/node | |||||
NODE14_RUN_DEPENDS= node14>=0.8.0:www/node14 | |||||
NODE16_RUN_DEPENDS= node16>=0.8.0:www/node16 | |||||
.include <bsd.port.pre.mk> | .include <bsd.port.pre.mk> | ||||
.if ${ARCH} == i386 | .if ${ARCH} == i386 | ||||
# Workaround for kernel bug 178881 | # Workaround for kernel bug 178881 | ||||
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-bug-178881 | EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-bug-178881 | ||||
.endif | .endif | ||||
Show All 12 Lines |
Please change it to: