Version 0.8.7 (Stable) * npm: Upgrade to 1.1.49 * website: download page (Golo Roden) * crypto: fix uninitialized memory access in openssl (Ben Noordhuis) * buffer, crypto: fix buffer decoding (Ben Noordhuis) * build: compile with -fno-tree-vrp when gcc >= 4.0 (Ben Noordhuis) * tls: handle multiple CN fields when verifying cert (Ben Noordhuis) * doc: remove unused util from child_process (Kyle Robinson Young) * build: rework -fvisibility=hidden detection (Ben Noordhuis) * windows: don't duplicate invalid stdio handles (Bert Belder) * windows: fix typos in process-stdio.c (Bert Belder)
61 lines
1.6 KiB
Makefile
61 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.14 2012/08/21 09:42:21 fhajny Exp $
|
|
#
|
|
|
|
DISTNAME= node-v0.8.7
|
|
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
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
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"
|