Date: Sun, 25 Dec 2016 21:16:58 +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: r429463 - head/www/npm3 Message-ID: <201612252116.uBPLGwVq017945@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sun Dec 25 21:16:58 2016 New Revision: 429463 URL: https://svnweb.freebsd.org/changeset/ports/429463 Log: - Add NODE and NODE6 option - Change default from node to node6 - Bump PORTREVISION for dependency change PR: 215412 Submitted by: Bradley T. Hughes <bradleythughes@fastmail.fm> Modified: head/www/npm3/Makefile Modified: head/www/npm3/Makefile ============================================================================== --- head/www/npm3/Makefile Sun Dec 25 21:16:54 2016 (r429462) +++ head/www/npm3/Makefile Sun Dec 25 21:16:58 2016 (r429463) @@ -3,6 +3,7 @@ PORTNAME= npm PORTVERSION= 3.10.10 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= LOCAL/sunpoet PKGNAMESUFFIX= 3 @@ -12,11 +13,16 @@ COMMENT= Node package manager LICENSE= MIT -RUN_DEPENDS= gmake:devel/gmake \ - node>=0.8.0:www/node +RUN_DEPENDS= gmake:devel/gmake CONFLICTS_INSTALL= npm- npm2- +OPTIONS_SINGLE= BACKEND +OPTIONS_SINGLE_BACKEND= NODE NODE6 +OPTIONS_DEFAULT=NODE6 +NODE_DESC= Use www/node as backend +NODE6_DESC= Use www/node6 as backend + MAKE_ARGS= npm_config_prefix=${STAGEDIR}${PREFIX} MANPREFIX= ${PREFIX}/lib/node_modules/npm NO_ARCH= yes @@ -34,6 +40,9 @@ SHEBANG_FILES= lib/utils/completion.sh \ scripts/release.sh \ scripts/relocate.sh +NODE_RUN_DEPENDS= node>=0.8.0:www/node +NODE6_RUN_DEPENDS= node6>=0.8.0:www/node6 + .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?201612252116.uBPLGwVq017945>