- Update to 0.6.1

PR:		ports/162499
Submitted by:	Jin-Sih Lin <linpct@gmail.com> (maintainer)
Feature safe:	yes
This commit is contained in:
Li-Wen Hsu 2011-11-12 15:08:34 +00:00
parent 56b425aec0
commit dd4d992a95
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285633
3 changed files with 11 additions and 20 deletions

View file

@ -6,7 +6,7 @@
#
PORTNAME= node
PORTVERSION= 0.6.0
PORTVERSION= 0.6.1
CATEGORIES= www
MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/
PKGNAMESUFFIX= -devel

View file

@ -1,2 +1,2 @@
SHA256 (node-v0.6.0.tar.gz) = 1b6a34b6f2099145c44a0c20d3a5cab7c9ec063de1a195ddeda61ad55d601d7f
SIZE (node-v0.6.0.tar.gz) = 9242110
SHA256 (node-v0.6.1.tar.gz) = b161050ed8cdb2d45f601181d146821e5535a8fcbf5978b2ff064e5476a8e606
SIZE (node-v0.6.1.tar.gz) = 9276847

View file

@ -1,21 +1,12 @@
--- wscript.orig 2011-10-01 22:19:11.000000000 +0800
+++ wscript 2011-10-01 22:21:13.000000000 +0800
@@ -647,8 +647,7 @@
--- wscript.orig 2011-11-12 06:56:27.000000000 +0800
+++ wscript 2011-11-12 22:12:23.000000000 +0800
@@ -634,8 +634,7 @@
#
cmd = 'cp -r ' + sh_escape(srcdir) + '/* ' + sh_escape(blddir)
if not sys.platform.startswith('win32'):
- cmd += ' && if [[ -z "$NODE_MAKE" ]]; then NODE_MAKE=make; fi; '
- cmd += '$NODE_MAKE -C ' + sh_escape(blddir)
+ cmd += ' && gmake -C ' + sh_escape(blddir)
- make = ('if [ -z "$NODE_MAKE" ]; then NODE_MAKE=make; fi; '
- '$NODE_MAKE -C ' + sh_escape(blddir))
+ make = 'gmake -C ' + sh_escape(blddir)
else:
cmd += ' && make -C ' + sh_escape(blddir)
cmd += ' clean all'
@@ -982,8 +981,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/', 'tools/node-waf', chmod=0755)
bld.install_files('${LIBDIR}/node/wafadmin', 'tools/wafadmin/*.py')
make = 'make -C ' + sh_escape(blddir)
return '%s && (%s clean) && (%s all)' % (cmd, make, make)