aboutsummaryrefslogtreecommitdiffstats
path: root/www/node
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-06-02 04:13:30 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-06-02 04:13:30 +0800
commit64309e4011a3dc9c6698ad3d07628a938ac7123f (patch)
treed5fbee20ce9aab09c8c219cb5d1c98055e19cafd /www/node
parenta5e7034c45bae701190ea9bb79a4ed37b7a43220 (diff)
downloadfreebsd-ports-gnome-64309e4011a3dc9c6698ad3d07628a938ac7123f.tar.gz
freebsd-ports-gnome-64309e4011a3dc9c6698ad3d07628a938ac7123f.tar.zst
freebsd-ports-gnome-64309e4011a3dc9c6698ad3d07628a938ac7123f.zip
- Update to 0.12.4
- Use DISTVERSIONPREFIX instead of DISTNAME - Do not touch PREFIX/lib/node_modules and leave it for www/npm - Strip binary executable - Remove duplicate ECHO_MSG in post-install: since pkg-message presents Changes: https://github.com/joyent/node/blob/v0.12.4-release/ChangeLog Submitted by: sunpoet (myself) Approved by: Jin-Sih Lin <linpct@gmail.com> (maintainer)
Diffstat (limited to 'www/node')
-rw-r--r--www/node/Makefile10
-rw-r--r--www/node/distinfo4
-rw-r--r--www/node/pkg-plist1
3 files changed, 5 insertions, 10 deletions
diff --git a/www/node/Makefile b/www/node/Makefile
index 14d2f2c2acc3..91577b02ca17 100644
--- a/www/node/Makefile
+++ b/www/node/Makefile
@@ -2,10 +2,10 @@
# $FreeBSD$
PORTNAME= node
-PORTVERSION= 0.12.3
+PORTVERSION= 0.12.4
+DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/
-DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= linpct@gmail.com
COMMENT= V8 JavaScript for client and server
@@ -50,10 +50,6 @@ post-patch:
${WRKSRC}/deps/v8/src/d8.gyp
post-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/
- ${TOUCH} ${STAGEDIR}${PREFIX}/lib/node_modules/.keepme
- @${ECHO_MSG}
- @${ECHO_MSG} "Note: If you need npm (Node Package Manager), please install www/npm."
- @${ECHO_MSG}
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node
.include <bsd.port.post.mk>
diff --git a/www/node/distinfo b/www/node/distinfo
index 158b0eabc8fe..09346c614773 100644
--- a/www/node/distinfo
+++ b/www/node/distinfo
@@ -1,2 +1,2 @@
-SHA256 (node-v0.12.3.tar.gz) = e65d83c6f2c874e28f65c5e192ac0acd2bbb52bfcf9d77e33442d6765a3eb9da
-SIZE (node-v0.12.3.tar.gz) = 19622994
+SHA256 (node-v0.12.4.tar.gz) = 3298d0997613a04ac64343e8316da134d04588132554ae402eb344e3369ec912
+SIZE (node-v0.12.4.tar.gz) = 19642076
diff --git a/www/node/pkg-plist b/www/node/pkg-plist
index 0c9fbdf0b7d6..245d026a6012 100644
--- a/www/node/pkg-plist
+++ b/www/node/pkg-plist
@@ -35,6 +35,5 @@ include/node/v8-util.h
include/node/v8.h
include/node/v8config.h
include/node/v8stdint.h
-lib/node_modules/.keepme
@(,,444) man/man1/node.1.gz
share/systemtap/tapset/node.stp