- Add node-devel-0.3.0

node - evented I/O for V8 javascript

WWW: http://nodejs.org/

PR:		ports/151746
Submitted by:	Jin-Sih Lin <linpct@gmail.com>
Approved by:	pgollucci (mentor, implicit)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2010-10-26 14:28:21 +00:00
parent 016dabe655
commit 063a402cff
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=263618
7 changed files with 155 additions and 0 deletions

View File

@ -593,6 +593,7 @@
SUBDIR += nginx
SUBDIR += nginx-devel
SUBDIR += node
SUBDIR += node-devel
SUBDIR += notftp
SUBDIR += npapi-xine
SUBDIR += npc

45
www/node-devel/Makefile Normal file
View File

@ -0,0 +1,45 @@
# New ports collection makefile for: node
# Date created: 2010-10-26
# Whom: Jin-Sih Lin <linpct@gmail.com>
#
# $FreeBSD$
#
PORTNAME= node
PORTVERSION= 0.3.0
CATEGORIES= www
MASTER_SITES= http://nodejs.org/dist/
PKGNAMESUFFIX= -devel
DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= linpct@gmail.com
COMMENT= V8 javascript for client and server
LIB_DEPENDS= execinfo.1:${PORTSDIR}/devel/libexecinfo
MAN1= node.1
HAS_CONFIGURE= yes
USE_LDCONFIG= yes
USE_PYTHON= yes
USE_GNOME= pkgconfig
ONLY_FOR_ARCHS= i386 amd64
MAKE_JOBS_SAFE= yes
CONFLICTS= node-0.2.[0-9]*
CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST}
PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,}
.if !defined(DISABLE_MAKE_JOBS)
WAF_ARGS= --jobs=${MAKE_JOBS_NUMBER}
.endif
do-build:
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} tools/waf-light ${WAF_ARGS} build)
post-install:
@${INSTALL_MAN} ${WRKSRC}/doc/node.1 ${MANPREFIX}/man/man1/
.include <bsd.port.mk>

3
www/node-devel/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (node-v0.3.0.tar.gz) = 4e4e56c8538afafcdf45fd99cdb1ae45
SHA256 (node-v0.3.0.tar.gz) = aa53c3d136ceaa02108ad013d9d9917e6e2ea22f10e3bd7414f4ba6f6a1427b5
SIZE (node-v0.3.0.tar.gz) = 4054239

View File

@ -0,0 +1,14 @@
--- deps/v8/src/platform-freebsd.cc.orig 2010-10-24 07:00:15.000000000 +0800
+++ deps/v8/src/platform-freebsd.cc 2010-10-26 17:10:36.000000000 +0800
@@ -617,7 +617,10 @@
Sampler::Sampler(int interval, bool profiling)
- : interval_(interval), profiling_(profiling), active_(false) {
+ : interval_(interval),
+ profiling_(profiling),
+ synchronous_(profiling),
+ active_(false) {
data_ = new PlatformData();
}

View File

@ -0,0 +1,20 @@
--- wscript.orig 2010-10-24 07:00:15.000000000 +0800
+++ wscript 2010-10-26 18:09:54.000000000 +0800
@@ -571,8 +571,6 @@
# Only install the man page if it exists.
# Do 'make doc install' to build and install it.
- if os.path.exists('doc/node.1'):
- bld.install_files('${PREFIX}/share/man/man1/', 'doc/node.1')
bld.install_files('${PREFIX}/bin/', 'bin/*', chmod=0755)
bld.install_files('${PREFIX}/lib/node/wafadmin', 'tools/wafadmin/*.py')
@@ -584,7 +582,7 @@
node_conf.target = 'tools/nodejs.pc'
node_conf.dict = subflags(node)
- bld.install_files('${PREFIX}/lib/pkgconfig', 'tools/nodejs.pc')
+ bld.install_files('${PREFIX}/libdata/pkgconfig', 'tools/nodejs.pc')
def shutdown():
Options.options.debug

3
www/node-devel/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
node - evented I/O for V8 javascript
WWW: http://nodejs.org/

69
www/node-devel/pkg-plist Normal file
View File

@ -0,0 +1,69 @@
bin/node
bin/node-repl
bin/node-waf
include/node/config.h
include/node/eio.h
include/node/ev.h
include/node/node.h
include/node/node_buffer.h
include/node/node_config.h
include/node/node_events.h
include/node/node_object_wrap.h
include/node/node_version.h
include/node/v8-debug.h
include/node/v8-profiler.h
include/node/v8.h
lib/node/wafadmin/Build.py
lib/node/wafadmin/Configure.py
lib/node/wafadmin/Constants.py
lib/node/wafadmin/Environment.py
lib/node/wafadmin/Logs.py
lib/node/wafadmin/Node.py
lib/node/wafadmin/Options.py
lib/node/wafadmin/Runner.py
lib/node/wafadmin/Scripting.py
lib/node/wafadmin/Task.py
lib/node/wafadmin/TaskGen.py
lib/node/wafadmin/Tools/__init__.py
lib/node/wafadmin/Tools/ar.py
lib/node/wafadmin/Tools/cc.py
lib/node/wafadmin/Tools/ccroot.py
lib/node/wafadmin/Tools/compiler_cc.py
lib/node/wafadmin/Tools/compiler_cxx.py
lib/node/wafadmin/Tools/compiler_d.py
lib/node/wafadmin/Tools/config_c.py
lib/node/wafadmin/Tools/cxx.py
lib/node/wafadmin/Tools/d.py
lib/node/wafadmin/Tools/dmd.py
lib/node/wafadmin/Tools/gas.py
lib/node/wafadmin/Tools/gcc.py
lib/node/wafadmin/Tools/gdc.py
lib/node/wafadmin/Tools/gnu_dirs.py
lib/node/wafadmin/Tools/gob2.py
lib/node/wafadmin/Tools/gxx.py
lib/node/wafadmin/Tools/icc.py
lib/node/wafadmin/Tools/icpc.py
lib/node/wafadmin/Tools/intltool.py
lib/node/wafadmin/Tools/libtool.py
lib/node/wafadmin/Tools/misc.py
lib/node/wafadmin/Tools/nasm.py
lib/node/wafadmin/Tools/node_addon.py
lib/node/wafadmin/Tools/osx.py
lib/node/wafadmin/Tools/preproc.py
lib/node/wafadmin/Tools/python.py
lib/node/wafadmin/Tools/suncc.py
lib/node/wafadmin/Tools/suncxx.py
lib/node/wafadmin/Tools/unittestw.py
lib/node/wafadmin/Tools/winres.py
lib/node/wafadmin/Tools/xlc.py
lib/node/wafadmin/Tools/xlcxx.py
lib/node/wafadmin/Utils.py
lib/node/wafadmin/__init__.py
lib/node/wafadmin/ansiterm.py
lib/node/wafadmin/pproc.py
lib/node/wafadmin/py3kfixes.py
libdata/pkgconfig/nodejs.pc
@dirrm lib/node/wafadmin/Tools
@dirrm lib/node/wafadmin
@dirrm lib/node
@dirrm include/node