aboutsummaryrefslogtreecommitdiff
path: root/www/npm
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-07-28 07:02:04 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-07-28 07:02:04 +0000
commit2ced154f0ebd352f8dafe88c3b7503d02e045035 (patch)
tree6420407177fe058f367e16abbbb365c71c0d2fc7 /www/npm
parente32ca59eb22fc6e5a5d1195a86379e867d91749e (diff)
downloadports-2ced154f0ebd352f8dafe88c3b7503d02e045035.tar.gz
ports-2ced154f0ebd352f8dafe88c3b7503d02e045035.zip
Notes
Diffstat (limited to 'www/npm')
-rw-r--r--www/npm/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/npm/Makefile b/www/npm/Makefile
index 4feb88ea7cf3..9cc535df0774 100644
--- a/www/npm/Makefile
+++ b/www/npm/Makefile
@@ -3,6 +3,7 @@
PORTNAME= npm
PORTVERSION= 5.3.0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= LOCAL/sunpoet
@@ -19,11 +20,14 @@ CONFLICTS_INSTALL= npm2 npm3 npm4
NO_ARCH= yes
NO_BUILD= yes
REINPLACE_ARGS= -i ''
-USES= cpe python:2,run tar:xz
+USES= cpe python:2,run shebangfix tar:xz
CPE_VENDOR= npmjs
CPE_PRODUCT= node_packaged_modules
+SHEBANG_GLOB= *.py
+SHEBANG_FILES= lib/node_modules/npm/node_modules/node-gyp/gyp/samples/samples
+
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"