Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2016 22:42:08 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r414303 - head/www/npm
Message-ID:  <201604292242.u3TMg8kr053266@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Apr 29 22:42:08 2016
New Revision: 414303
URL: https://svnweb.freebsd.org/changeset/ports/414303

Log:
  - Remove all options: npm 3.x will be available only for current version of Node.js (www/node)
  
  Discussed with:	Bradley T. Hughes <bradleythughes@fastmail.fm> (maintainer of www/node*)

Modified:
  head/www/npm/Makefile

Modified: head/www/npm/Makefile
==============================================================================
--- head/www/npm/Makefile	Fri Apr 29 22:28:18 2016	(r414302)
+++ head/www/npm/Makefile	Fri Apr 29 22:42:08 2016	(r414303)
@@ -11,18 +11,11 @@ COMMENT=	Node package manager
 
 LICENSE=	MIT
 
-RUN_DEPENDS=	gmake:devel/gmake
+RUN_DEPENDS=	gmake:devel/gmake \
+		node>=0.8.0:www/node
 
 CONFLICTS_INSTALL=	npm2-[0-9]*
 
-OPTIONS_SINGLE=	BACKEND
-OPTIONS_SINGLE_BACKEND=	NODE NODE010 NODE012 NODE4
-OPTIONS_DEFAULT=NODE
-NODE_DESC=	Use www/node as backend
-NODE010_DESC=	Use www/node010 as backend
-NODE012_DESC=	Use www/node012 as backend
-NODE4_DESC=	Use www/node4 as backend
-
 MAKE_ARGS=	npm_config_prefix=${STAGEDIR}${PREFIX}
 MANPREFIX=	${PREFIX}/lib/node_modules/npm
 NO_ARCH=	yes
@@ -40,11 +33,6 @@ SHEBANG_FILES=	lib/utils/completion.sh \
 		scripts/release.sh \
 		scripts/relocate.sh
 
-NODE_RUN_DEPENDS=	node>=0.8.0:www/node
-NODE010_RUN_DEPENDS=	node010>=0.8.0:www/node010
-NODE012_RUN_DEPENDS=	node012>=0.8.0:www/node012
-NODE4_RUN_DEPENDS=	node4>=0.8.0:www/node4
-
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "i386"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604292242.u3TMg8kr053266>