aboutsummaryrefslogtreecommitdiff
path: root/www/npm
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-08-17 10:07:50 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-08-17 10:07:50 +0000
commit05f533e680973943039e72815a99208775bbf97e (patch)
treec8b74f009a48474eaa4a4a2723e94b331011cf71 /www/npm
parent9c67a6b13f9220571288416ac571a3c47b02a133 (diff)
downloadports-05f533e680973943039e72815a99208775bbf97e.tar.gz
ports-05f533e680973943039e72815a99208775bbf97e.zip
Notes
Diffstat (limited to 'www/npm')
-rw-r--r--www/npm/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/npm/Makefile b/www/npm/Makefile
index 34aee81a96e8..f8931979f66f 100644
--- a/www/npm/Makefile
+++ b/www/npm/Makefile
@@ -14,14 +14,16 @@ LICENSE= MIT
OPTIONS_DEFINE= NODE_DEVEL
NODE_DEVEL_DESC=Use www/node-devel instead of www/node
-NO_BUILD= yes
-USES= tar:xz
-
MAKE_ARGS= npm_config_prefix=${STAGEDIR}${PREFIX}
+NO_BUILD= yes
REINPLACE_ARGS= -i ''
+USES= cpe tar:xz
MANPREFIX= ${PREFIX}/lib/node_modules/npm
+CPE_VENDOR= npmjs
+CPE_PRODUCT= node_packaged_modules
+
NODE_DEVEL_RUN_DEPENDS= node-devel>=0.8.0:${PORTSDIR}/www/node-devel
NODE_DEVEL_RUN_DEPENDS_OFF= node>=0.8.0:${PORTSDIR}/www/node