From owner-svn-ports-all@freebsd.org Sun Sep 17 18:00:05 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5DF1CE21C9D; Sun, 17 Sep 2017 18:00:05 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 26C7D673B2; Sun, 17 Sep 2017 18:00:05 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v8HI04EC075965; Sun, 17 Sep 2017 18:00:04 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v8HI04Fp075964; Sun, 17 Sep 2017 18:00:04 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201709171800.v8HI04Fp075964@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 17 Sep 2017 18:00:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r450011 - head/www/npm X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/www/npm X-SVN-Commit-Revision: 450011 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Sep 2017 18:00:05 -0000 Author: sunpoet Date: Sun Sep 17 18:00:04 2017 New Revision: 450011 URL: https://svnweb.freebsd.org/changeset/ports/450011 Log: Add NODE4, NODE6 and NODE8 options Modified: head/www/npm/Makefile Modified: head/www/npm/Makefile ============================================================================== --- head/www/npm/Makefile Sun Sep 17 17:59:58 2017 (r450010) +++ head/www/npm/Makefile Sun Sep 17 18:00:04 2017 (r450011) @@ -12,11 +12,17 @@ COMMENT= Node package manager LICENSE= MIT -RUN_DEPENDS= gmake:devel/gmake \ - node>=0.8.0:www/node +RUN_DEPENDS= gmake:devel/gmake -CONFLICTS_INSTALL= npm2 npm3 npm4 +CONFLICTS_INSTALL?= npm-node4 npm-node6 npm2 npm3 npm4 +OPTIONS_SINGLE= BACKEND +OPTIONS_SINGLE_BACKEND= NODE4 NODE6 NODE8 +OPTIONS_DEFAULT=NODE8 +NODE4_DESC= Use Node.js 4.x (www/node4) as backend +NODE6_DESC= Use Node.js 6.x (www/node6) as backend +NODE8_DESC= Use Node.js 8.x (www/node) as backend + NO_ARCH= yes NO_BUILD= yes REINPLACE_ARGS= -i '' @@ -27,6 +33,10 @@ CPE_PRODUCT= node_packaged_modules SHEBANG_GLOB= *.py SHEBANG_FILES= lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples + +NODE4_RUN_DEPENDS= node4>=0.8.0:www/node4 +NODE6_RUN_DEPENDS= node6>=0.8.0:www/node6 +NODE8_RUN_DEPENDS= node>=0.8.0:www/node .include