aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2011-11-12 23:08:34 +0800
committerlwhsu <lwhsu@FreeBSD.org>2011-11-12 23:08:34 +0800
commit635c0a6792c3c8c48855d40fb7f77b17d239e9f2 (patch)
tree7ad71ee5bce815ea0b4157a49c34b2b280e27744 /www
parent9aa6227eec95779eacc91b74815143e716825f8c (diff)
downloadfreebsd-ports-gnome-635c0a6792c3c8c48855d40fb7f77b17d239e9f2.tar.gz
freebsd-ports-gnome-635c0a6792c3c8c48855d40fb7f77b17d239e9f2.tar.zst
freebsd-ports-gnome-635c0a6792c3c8c48855d40fb7f77b17d239e9f2.zip
- Update to 0.6.1
PR: ports/162499 Submitted by: Jin-Sih Lin <linpct@gmail.com> (maintainer) Feature safe: yes
Diffstat (limited to 'www')
-rw-r--r--www/node-devel/Makefile2
-rw-r--r--www/node-devel/distinfo4
-rw-r--r--www/node-devel/files/patch-wscript25
3 files changed, 11 insertions, 20 deletions
diff --git a/www/node-devel/Makefile b/www/node-devel/Makefile
index 71dc59a136ca..82323761aa55 100644
--- a/www/node-devel/Makefile
+++ b/www/node-devel/Makefile
@@ -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
diff --git a/www/node-devel/distinfo b/www/node-devel/distinfo
index 14c40761cbae..cdfb18c29ec4 100644
--- a/www/node-devel/distinfo
+++ b/www/node-devel/distinfo
@@ -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
diff --git a/www/node-devel/files/patch-wscript b/www/node-devel/files/patch-wscript
index 85a5dee398df..af47e394e24a 100644
--- a/www/node-devel/files/patch-wscript
+++ b/www/node-devel/files/patch-wscript
@@ -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)