svn commit: r400850 - in head/www/node-devel: . files

Vanilla I. Shu vanilla at FreeBSD.org
Thu Nov 5 13:21:25 UTC 2015


Author: vanilla
Date: Thu Nov  5 13:21:23 2015
New Revision: 400850
URL: https://svnweb.freebsd.org/changeset/ports/400850

Log:
  Upgrade to 5.0.0.
  
  PR:		204187
  Submitted by:	maintainer

Deleted:
  head/www/node-devel/files/
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	Thu Nov  5 13:14:45 2015	(r400849)
+++ head/www/node-devel/Makefile	Thu Nov  5 13:21:23 2015	(r400850)
@@ -1,38 +1,46 @@
+# Created by: Jin-Sih Lin <linpct at gmail.com>
 # $FreeBSD$
 
 PORTNAME=	node
-PORTVERSION=	0.11.16
+PORTVERSION=	5.0.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
 PKGNAMESUFFIX=	-devel
 
 MAINTAINER=	linpct at gmail.com
-COMMENT=	V8 javascript for client and server
+COMMENT=	V8 JavaScript for client and server
 
 LICENSE=	MIT
 
-USES=		execinfo gmake python:2
+OPTIONS_DEFINE=	DOCS
+
+USES=		compiler execinfo gmake python:2
 HAS_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 
-CONFLICTS=	node-0.[0-9]* node010-* iojs-*
+CONFLICTS_INSTALL=	node-0.[0-9]* node010-* iojs-*
 
 ONLY_FOR_ARCHS=	i386 amd64
 CONFIGURE_ARGS=	--prefix=${PREFIX_RELDEST} --without-npm --shared-zlib
 PREFIX_RELDEST=	${PREFIX:S,^${DESTDIR},,}
 REINPLACE_ARGS=	-i ''
+MAKE_ENV+=	CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX}
 
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
 
-.if exists(/usr/bin/clang)
-CC=		clang
-CXX=		clang++
-GYP_DEFINES+=	clang=1
+.if ${COMPILER_TYPE} == clang
+MAKE_ENV+=	LINK=clang++
+CFLAGS+=	-Wno-unused-private-field
+.if ${COMPILER_VERSION} >= 33
+CFLAGS+=	-Wno-nested-anon-types -Wno-unused-function
+.if ${COMPILER_VERSION} >= 34
+CFLAGS+=	-Wno-unused-const-variable
+.endif
+.endif
 .else
-USE_GCC?=	yes
-GYP_DEFINES+=	gcc_version=${CXX:S/g++//}
+MAKE_ARGS+=	strictaliasing=off
+USE_GCC=	yes
 .endif
 
 post-patch:
@@ -40,7 +48,10 @@ post-patch:
 		${WRKSRC}/deps/v8/tools/gyp/v8.gyp
 	@${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \
 		${WRKSRC}/configure
+	@${REINPLACE_CMD} -e "s|python -c|${PYTHON_CMD} -c|" \
+		${WRKSRC}/deps/v8/build/toolchain.gypi
 	@${REINPLACE_CMD} -e "s|'python',|'${PYTHON_CMD}',|" \
+		${WRKSRC}/tools/icu/icu-generic.gyp \
 		${WRKSRC}/deps/v8/build/shim_headers.gypi \
 		${WRKSRC}/deps/v8/tools/gyp/v8.gyp \
 		${WRKSRC}/deps/v8/src/d8.gyp
@@ -48,4 +59,4 @@ post-patch:
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/node
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/www/node-devel/distinfo
==============================================================================
--- head/www/node-devel/distinfo	Thu Nov  5 13:14:45 2015	(r400849)
+++ head/www/node-devel/distinfo	Thu Nov  5 13:21:23 2015	(r400850)
@@ -1,2 +1,2 @@
-SHA256 (node-v0.11.16.tar.gz) = f0d141faa1f7da3aff53e9615d76040d29c0650542be3b09ee80aca2f2cc61f6
-SIZE (node-v0.11.16.tar.gz) = 19059251
+SHA256 (node-v5.0.0.tar.gz) = 698d9662067ae6a20a2586e5c09659735fc0050769a0d8f76f979189ceaccdf4
+SIZE (node-v5.0.0.tar.gz) = 22581813

Modified: head/www/node-devel/pkg-plist
==============================================================================
--- head/www/node-devel/pkg-plist	Thu Nov  5 13:14:45 2015	(r400849)
+++ head/www/node-devel/pkg-plist	Thu Nov  5 13:21:23 2015	(r400850)
@@ -11,9 +11,99 @@ include/node/node_buffer.h
 include/node/node_internals.h
 include/node/node_object_wrap.h
 include/node/node_version.h
+include/node/openssl/aes.h
+include/node/openssl/archs/BSD-x86/opensslconf.h
+include/node/openssl/archs/BSD-x86_64/opensslconf.h
+include/node/openssl/archs/VC-WIN32/opensslconf.h
+include/node/openssl/archs/VC-WIN64A/opensslconf.h
+include/node/openssl/archs/aix-gcc/opensslconf.h
+include/node/openssl/archs/aix64-gcc/opensslconf.h
+include/node/openssl/archs/darwin-i386-cc/opensslconf.h
+include/node/openssl/archs/darwin64-x86_64-cc/opensslconf.h
+include/node/openssl/archs/linux-aarch64/opensslconf.h
+include/node/openssl/archs/linux-armv4/opensslconf.h
+include/node/openssl/archs/linux-elf/opensslconf.h
+include/node/openssl/archs/linux-ppc/opensslconf.h
+include/node/openssl/archs/linux-ppc64/opensslconf.h
+include/node/openssl/archs/linux-x32/opensslconf.h
+include/node/openssl/archs/linux-x86_64/opensslconf.h
+include/node/openssl/archs/solaris-x86-gcc/opensslconf.h
+include/node/openssl/archs/solaris64-x86_64-gcc/opensslconf.h
+include/node/openssl/asn1.h
+include/node/openssl/asn1_mac.h
+include/node/openssl/asn1t.h
+include/node/openssl/bio.h
+include/node/openssl/blowfish.h
+include/node/openssl/bn.h
+include/node/openssl/buffer.h
+include/node/openssl/camellia.h
+include/node/openssl/cast.h
+include/node/openssl/cmac.h
+include/node/openssl/cms.h
+include/node/openssl/comp.h
+include/node/openssl/conf.h
+include/node/openssl/conf_api.h
+include/node/openssl/crypto.h
+include/node/openssl/des.h
+include/node/openssl/des_old.h
+include/node/openssl/dh.h
+include/node/openssl/dsa.h
+include/node/openssl/dso.h
+include/node/openssl/dtls1.h
+include/node/openssl/e_os2.h
+include/node/openssl/ebcdic.h
+include/node/openssl/ec.h
+include/node/openssl/ecdh.h
+include/node/openssl/ecdsa.h
+include/node/openssl/engine.h
+include/node/openssl/err.h
+include/node/openssl/evp.h
+include/node/openssl/hmac.h
+include/node/openssl/idea.h
+include/node/openssl/krb5_asn.h
+include/node/openssl/kssl.h
+include/node/openssl/lhash.h
+include/node/openssl/md4.h
+include/node/openssl/md5.h
+include/node/openssl/mdc2.h
+include/node/openssl/modes.h
+include/node/openssl/obj_mac.h
+include/node/openssl/objects.h
+include/node/openssl/ocsp.h
 include/node/openssl/opensslconf.h
+include/node/openssl/opensslv.h
+include/node/openssl/ossl_typ.h
+include/node/openssl/pem.h
+include/node/openssl/pem2.h
+include/node/openssl/pkcs12.h
+include/node/openssl/pkcs7.h
+include/node/openssl/pqueue.h
+include/node/openssl/rand.h
+include/node/openssl/rc2.h
+include/node/openssl/rc4.h
+include/node/openssl/ripemd.h
+include/node/openssl/rsa.h
+include/node/openssl/safestack.h
+include/node/openssl/seed.h
+include/node/openssl/sha.h
+include/node/openssl/srp.h
+include/node/openssl/srtp.h
+include/node/openssl/ssl.h
+include/node/openssl/ssl2.h
+include/node/openssl/ssl23.h
+include/node/openssl/ssl3.h
+include/node/openssl/stack.h
+include/node/openssl/symhacks.h
+include/node/openssl/tls1.h
+include/node/openssl/ts.h
+include/node/openssl/txt_db.h
+include/node/openssl/ui.h
+include/node/openssl/ui_compat.h
+include/node/openssl/whrlpool.h
+include/node/openssl/x509.h
+include/node/openssl/x509_vfy.h
+include/node/openssl/x509v3.h
 include/node/pthread-fixes.h
-include/node/smalloc.h
 include/node/stdint-msvc2008.h
 include/node/tree.h
 include/node/uv-aix.h
@@ -32,8 +122,9 @@ include/node/v8-platform.h
 include/node/v8-profiler.h
 include/node/v8-testing.h
 include/node/v8-util.h
+include/node/v8-version.h
 include/node/v8.h
 include/node/v8config.h
-include/node/v8stdint.h
 @(,,444) man/man1/node.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/gdbinit
 share/systemtap/tapset/node.stp


More information about the svn-ports-all mailing list