Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Jun 2015 20:13:30 +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: r388275 - head/www/node
Message-ID:  <201506012013.t51KDUp4093157@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Mon Jun  1 20:13:30 2015
New Revision: 388275
URL: https://svnweb.freebsd.org/changeset/ports/388275

Log:
  - 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)

Modified:
  head/www/node/Makefile
  head/www/node/distinfo
  head/www/node/pkg-plist

Modified: head/www/node/Makefile
==============================================================================
--- head/www/node/Makefile	Mon Jun  1 20:13:24 2015	(r388274)
+++ head/www/node/Makefile	Mon Jun  1 20:13:30 2015	(r388275)
@@ -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>

Modified: head/www/node/distinfo
==============================================================================
--- head/www/node/distinfo	Mon Jun  1 20:13:24 2015	(r388274)
+++ head/www/node/distinfo	Mon Jun  1 20:13:30 2015	(r388275)
@@ -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

Modified: head/www/node/pkg-plist
==============================================================================
--- head/www/node/pkg-plist	Mon Jun  1 20:13:24 2015	(r388274)
+++ head/www/node/pkg-plist	Mon Jun  1 20:13:30 2015	(r388275)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506012013.t51KDUp4093157>