Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2013 10:12:07 +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: r334296 - in head/www/node-devel: . files
Message-ID:  <201311191012.rAJAC7ro051536@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Nov 19 10:12:06 2013
New Revision: 334296
URL: http://svnweb.freebsd.org/changeset/ports/334296

Log:
  - Update to 0.11.8
  - While I'm here:
    - Add LICENSE
    - Convert to new LIB_DEPENDS format
    - Support STAGEDIR
  
  Changes:	https://github.com/joyent/node/blob/v0.11.8-release/ChangeLog
  PR:		ports/184061
  Submitted by:	Amim Knabben <amim.knabben@gmail.com>
  Approved by:	Daniel Lin <linpct@gmail.com> (maintainer)

Added:
  head/www/node-devel/files/
  head/www/node-devel/files/patch-platform-freebsd.cc   (contents, props changed)
Modified:
  head/www/node-devel/Makefile
  head/www/node-devel/distinfo
  head/www/node-devel/pkg-plist

Modified: head/www/node-devel/Makefile
==============================================================================
--- head/www/node-devel/Makefile	Tue Nov 19 10:12:00 2013	(r334295)
+++ head/www/node-devel/Makefile	Tue Nov 19 10:12:06 2013	(r334296)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	node
-PORTVERSION=	0.11.7
-PORTREVISION=	1
+PORTVERSION=	0.11.8
 CATEGORIES=	www
 MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
 PKGNAMESUFFIX=	-devel
@@ -11,9 +10,9 @@ DISTNAME=	${PORTNAME}-v${PORTVERSION}
 MAINTAINER=	linpct@gmail.com
 COMMENT=	V8 javascript for client and server
 
-LIB_DEPENDS=	execinfo:${PORTSDIR}/devel/libexecinfo
+LICENSE=	MIT
 
-MAN1=		node.1
+LIB_DEPENDS=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo
 
 USES=		gmake
 HAS_CONFIGURE=	yes
@@ -27,12 +26,11 @@ CONFIGURE_ARGS=	--prefix=${PREFIX_RELDES
 PREFIX_RELDEST=	${PREFIX:S,^${DESTDIR},,}
 REINPLACE_ARGS=	-i ''
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${OSVERSION} >= 900033 && exists(/usr/bin/clang)
-CC=	clang
-CXX=	clang++
+CC=		clang
+CXX=		clang++
 GYP_DEFINES+=	clang=1
 .else
 USE_GCC?=	yes
@@ -44,9 +42,9 @@ post-patch:
 		${WRKSRC}/deps/v8/tools/gyp/v8.gyp
 
 post-install:
-	${MKDIR} ${PREFIX}/lib/node_modules/
-	${TOUCH} ${PREFIX}/lib/node_modules/.keepme
-	${CHMOD} ${MANMODE} ${PREFIX}/man/man1/node.1
+	${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/
+	${TOUCH} ${STAGEDIR}${PREFIX}/lib/node_modules/.keepme
+	${CHMOD} ${MANMODE} ${STAGEDIR}${PREFIX}/man/man1/node.1
 	@${ECHO_MSG}
 	@${ECHO_MSG} "Note: If you need npm (Node Package Manager), please install www/npm."
 	@${ECHO_MSG}

Modified: head/www/node-devel/distinfo
==============================================================================
--- head/www/node-devel/distinfo	Tue Nov 19 10:12:00 2013	(r334295)
+++ head/www/node-devel/distinfo	Tue Nov 19 10:12:06 2013	(r334296)
@@ -1,2 +1,2 @@
-SHA256 (node-v0.11.7.tar.gz) = d915345639e340405b01f259971f386aafb5a10544b162826514cf56ddd371fe
-SIZE (node-v0.11.7.tar.gz) = 14885051
+SHA256 (node-v0.11.8.tar.gz) = 87c809dea764d5d66f925626fba403fb2fb0c0ccfad408bf79fdb62dc246d65b
+SIZE (node-v0.11.8.tar.gz) = 14937740

Added: head/www/node-devel/files/patch-platform-freebsd.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/node-devel/files/patch-platform-freebsd.cc	Tue Nov 19 10:12:06 2013	(r334296)
@@ -0,0 +1,11 @@
+--- deps/v8/src/platform-freebsd.orig 2013-11-18 22:50:13.000000000 -0200
++++ deps/v8/src/platform-freebsd.cc 2013-11-18 22:55:37.000000000 -0200
+@@ -189,7 +189,7 @@
+     // There may be no filename in this line.  Skip to next.
+     if (start_of_path == NULL) continue;
+     buffer[bytes_read] = 0;
+-    LOG(isolate SharedLibraryEvent(start_of_path, start, end));
++    LOG(isolate, SharedLibraryEvent(start_of_path, start, end));
+   }
+   close(fd);
+ }

Modified: head/www/node-devel/pkg-plist
==============================================================================
--- head/www/node-devel/pkg-plist	Tue Nov 19 10:12:00 2013	(r334295)
+++ head/www/node-devel/pkg-plist	Tue Nov 19 10:12:06 2013	(r334296)
@@ -2,6 +2,7 @@ bin/node
 lib/dtrace/node.d
 lib/node_modules/.keepme
 share/systemtap/tapset/node.stp
+man/man1/node.1.gz
 @dirrmtry share/systemtap/tapset
 @dirrmtry share/systemtap
 @dirrmtry lib/node_modules



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