[104211] trunk/dports/devel/nodejs/Portfile

ciserlohn at macports.org ciserlohn at macports.org
Wed Mar 20 13:29:51 PDT 2013


Revision: 104211
          https://trac.macports.org/changeset/104211
Author:   ciserlohn at macports.org
Date:     2013-03-20 13:29:51 -0700 (Wed, 20 Mar 2013)
Log Message:
-----------
nodejs: update to version 0.10.0

Modified Paths:
--------------
    trunk/dports/devel/nodejs/Portfile

Modified: trunk/dports/devel/nodejs/Portfile
===================================================================
--- trunk/dports/devel/nodejs/Portfile	2013-03-20 19:50:39 UTC (rev 104210)
+++ trunk/dports/devel/nodejs/Portfile	2013-03-20 20:29:51 UTC (rev 104211)
@@ -4,7 +4,7 @@
 PortSystem              1.0
 
 name                    nodejs
-version                 0.8.22
+version                 0.10.0
 categories              devel net
 platforms               darwin
 license                 {MIT BSD}
@@ -22,10 +22,9 @@
 homepage                http://nodejs.org/
 master_sites            ${homepage}dist/v${version}
 
-checksums               rmd160  80568e0c17541a386700c52645f2af7486721787 \
-                        sha256  3f61152cf5cd8fc1ab5c6c18101819841b947da79e1e44b51418c0ad2e6db8e8
+checksums               rmd160  4d27e37f34026f1b1b02745fca57b7a0e247f660 \
+                        sha256  1624dc37866ebfb5431e3393e6b049cf238cac8ad4d20c6d567263b1259177ab
 
-
 distname                node-v${version}
 
 proc rec_glob {basedir pattern} {
@@ -40,10 +39,7 @@
 
 post-patch {
     foreach f [concat ${worksrcpath}/configure \
-                   ${worksrcpath}/tools/node-waf \
-                   ${worksrcpath}/tools/waf-light \
                    ${worksrcpath}/tools/gyp/gyp \
-                   ${worksrcpath}/tools/gyp_addon \
                    ${worksrcpath}/tools/gyp_node \
                    ${worksrcpath}/deps/uv/gyp_uv \
                    [rec_glob ${worksrcpath} *.py]] {
@@ -116,15 +112,13 @@
                     CXXFLAGS=${configure.cxxflags} \
                     LDFLAGS=${configure.ldflags} \
                     PYTHON=${configure.python} \
+                    V=1
 
-
 destroot {
     set bindir ${destroot}${prefix}/bin
     set libdir ${destroot}${prefix}/lib
     set libndir ${libdir}/node
     set libddir ${libdir}/dtrace
-    set libwdir ${libndir}/wafadmin
-    set libwtdir ${libndir}/wafadmin/Tools
     set incdir ${destroot}${prefix}/include/node
     set incpdir ${destroot}${prefix}/include/node/uv-private
     set docdir ${destroot}${prefix}/share/doc/${name}
@@ -133,8 +127,6 @@
     xinstall -d ${libdir}
     xinstall -d ${libndir}
     xinstall -d ${libddir}
-    xinstall -d ${libwdir}
-    xinstall -d ${libwtdir}
     xinstall -d ${incdir}
     xinstall -d ${incpdir}
     xinstall -d ${docdir}
@@ -142,7 +134,6 @@
 # install binaries
     xinstall -m 755 -W ${worksrcpath} \
         out/Release/node \
-        tools/node-waf \
         ${bindir}
 
 # install headers
@@ -151,8 +142,6 @@
         src/node_buffer.h \
         src/node_object_wrap.h \
         src/node_version.h \
-        src/ev-emul.h \
-        src/eio-emul.h \
         deps/v8/include/v8-debug.h \
         deps/v8/include/v8-preparser.h \
         deps/v8/include/v8-profiler.h \
@@ -160,24 +149,18 @@
         deps/v8/include/v8.h \
         deps/v8/include/v8stdint.h \
         deps/uv/include/uv.h \
-        deps/uv/include/ares.h \
-        deps/uv/include/ares_version.h \
+        deps/cares/include/ares.h \
+        deps/cares/include/ares_version.h \
         ${incdir}
 
 # install privat uv headers
     xinstall -m 644 -W ${worksrcpath} \
-        deps/uv/include/uv-private/eio.h \
-        deps/uv/include/uv-private/ev.h \
         deps/uv/include/uv-private/ngx-queue.h \
         deps/uv/include/uv-private/tree.h \
         deps/uv/include/uv-private/uv-unix.h \
         deps/uv/include/uv-private/uv-win.h \
         ${incpdir}
 
-# install the wafadmin tool
-    eval xinstall -m 644 [glob -directory ${worksrcpath}/tools/wafadmin -nocomplain -type f *] ${libwdir}
-    eval xinstall -m 644 [glob -directory ${worksrcpath}/tools/wafadmin/Tools -nocomplain -type f *] ${libwtdir}
-
 # install dtrace script
     xinstall -m 644 -W ${worksrcpath} \
         src/node.d \
@@ -206,4 +189,4 @@
 
 livecheck.url       ${homepage}dist/
 livecheck.type      regex
-livecheck.regex     v(\\d+\\.\[02468\]+\\.\\d+)
+livecheck.regex     v(\\d+\\.10\\.\\d+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130320/602e709b/attachment.html>


More information about the macports-changes mailing list