a075d2debe
2012.12.13, Version 0.8.16 (Stable) * npm: Upgrade to 1.1.69 * fs: fix WriteStream/ReadStream fd leaks (Ben Noordhuis) * crypto: fix leak in GetPeerCertificate (Fedor Indutny) * buffer: Don't double-negate numeric buffer arg (Trevor Norris) * net: More accurate IP address validation and IPv6 dotted notation. (Joshua Erickson) 2012.11.26, Version 0.8.15 (Stable), fdf91afb494a7a2fff2913d817f589c191a2c88f * npm: Upgrade to 1.1.66 (isaacs) * linux: use /proc/cpuinfo for CPU frequency (Ben Noordhuis) * windows: map WSAESHUTDOWN to UV_EPIPE (Ben Noordhuis) * windows: map ERROR_GEN_FAILURE to UV_EIO (Bert Belder) * unix: do not set environ unless one is provided (Charlie McConnell) * domains: don't crash if domain is set to null (Bert Belder) * windows: fix the x64 debug build (Bert Belder) * net, tls: fix connect() resource leak (Ben Noordhuis)
60 lines
1.5 KiB
Makefile
60 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.19 2013/01/07 14:58:40 fhajny Exp $
|
|
#
|
|
|
|
DISTNAME= node-v0.8.16
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://nodejs.org/dist/${DISTNAME:S/node-//}/
|
|
PKGNAME= ${DISTNAME:S/-v/js-/}
|
|
|
|
MAINTAINER= msporleder@gmail.com
|
|
HOMEPAGE= http://nodejs.org/
|
|
COMMENT= V8 JavaScript for clients and servers
|
|
LICENSE= mit
|
|
|
|
CHECK_INTERPRETER= no
|
|
|
|
HAS_CONFIGURE= yes
|
|
USE_TOOLS+= pkg-config
|
|
USE_TOOLS+= gmake
|
|
USE_LANGUAGES= c c++
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.include "options.mk"
|
|
|
|
SUBST_CLASSES+= python
|
|
SUBST_STAGE.python= pre-configure
|
|
SUBST_MESSAGE.python= Fixing Python references
|
|
SUBST_FILES.python= node.gyp deps/v8/tools/gyp/v8.gyp
|
|
SUBST_VARS.python= PYTHONBIN
|
|
|
|
SUBST_CLASSES+= man
|
|
SUBST_STAGE.man= pre-configure
|
|
SUBST_MESSAGE.man= Fixing man path
|
|
SUBST_FILES.man= tools/install.py
|
|
SUBST_VARS.man= PKGMANDIR
|
|
|
|
CONFIG_SHELL= ${PYTHONBIN}
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
CONFIGURE_ENV+= GYP_DEFINES="OS=netbsd"
|
|
MAKE_ENV+= GYP_DEFINES="OS=netbsd"
|
|
.endif
|
|
|
|
REPLACE_PYTHON+= configure
|
|
REPLACE_PYTHON+= tools/genv8constants.py
|
|
REPLACE_PYTHON+= tools/gyp_node
|
|
REPLACE_PYTHON+= tools/gyp/pylib/gyp/sun_tool.py
|
|
REPLACE_PYTHON+= tools/node-waf
|
|
REPLACE_PYTHON+= tools/waf-light
|
|
REPLACE_PYTHON+= tools/wafadmin/*.py
|
|
REPLACE_PYTHON+= tools/wafadmin/Tools/*.py
|
|
|
|
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD"
|
|
. include "../../wip/libexecinfo/buildlink3.mk"
|
|
.endif
|
|
.if ${OPSYS} == "NetBSD"
|
|
BUILD_DEPENDS+= lockf-[0-9]*:../../wip/lockf
|
|
.endif
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|