mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
- 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)
This commit is contained in:
parent
cd44d06183
commit
5b70ad20fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334296
@ -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_RELDEST} --without-npm --shared-zlib
|
||||
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}
|
||||
|
@ -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
|
||||
|
11
www/node-devel/files/patch-platform-freebsd.cc
Normal file
11
www/node-devel/files/patch-platform-freebsd.cc
Normal file
@ -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);
|
||||
}
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user