diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2015-03-06 23:25:53 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2015-03-06 23:25:53 +0800 |
commit | d266e332e782fe768b6a64b9bdbafd8dbb66f4cc (patch) | |
tree | 212c6b372c0d5b682229be8fe529ee5dfdbacc00 | |
parent | 316920a81a86e4abd315157f9914a7f575c04c0e (diff) | |
download | freebsd-ports-graphics-d266e332e782fe768b6a64b9bdbafd8dbb66f4cc.tar.gz freebsd-ports-graphics-d266e332e782fe768b6a64b9bdbafd8dbb66f4cc.tar.zst freebsd-ports-graphics-d266e332e782fe768b6a64b9bdbafd8dbb66f4cc.zip |
- Add NODE010 option
PR: 198220
Submitted by: Marcin Cieslak <saper@saper.info>
-rw-r--r-- | www/npm/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/www/npm/Makefile b/www/npm/Makefile index 97c894ee41b..ae173115d5c 100644 --- a/www/npm/Makefile +++ b/www/npm/Makefile @@ -12,11 +12,12 @@ COMMENT= Node package manager LICENSE= MIT OPTIONS_SINGLE= BACKEND -OPTIONS_SINGLE_BACKEND= IOJS NODE NODE_DEVEL +OPTIONS_SINGLE_BACKEND= IOJS NODE NODE_DEVEL NODE010 OPTIONS_DEFAULT=NODE IOJS_DESC= Use www/iojs as backend NODE_DESC= Use www/node as backend NODE_DEVEL_DESC=Use www/node-devel as backend +NODE010_DESC= Use www/node010 as backend MAKE_ARGS= npm_config_prefix=${STAGEDIR}${PREFIX} NO_BUILD= yes @@ -31,6 +32,7 @@ CPE_PRODUCT= node_packaged_modules IOJS_RUN_DEPENDS= iojs>=1.0.0:${PORTSDIR}/www/iojs NODE_DEVEL_RUN_DEPENDS= node-devel>=0.8.0:${PORTSDIR}/www/node-devel NODE_RUN_DEPENDS= node>=0.8.0:${PORTSDIR}/www/node +NODE010_RUN_DEPENDS= node010>=0.8.0:${PORTSDIR}/www/node010 post-patch: @${REINPLACE_CMD} -e 's|node cli.js|& --cache ${WRKDIR}/.cache|' ${WRKSRC}/Makefile |