[94587] trunk/dports/devel/nodejs-devel/Portfile

ciserlohn at macports.org ciserlohn at macports.org
Sat Jun 23 13:47:07 PDT 2012


Revision: 94587
          https://trac.macports.org/changeset/94587
Author:   ciserlohn at macports.org
Date:     2012-06-23 13:47:04 -0700 (Sat, 23 Jun 2012)
Log Message:
-----------
nodejs-devel: update to version 0.7.11

- append dependencies instead of overwriting them in variants
- use MacPorts python and node binaries

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

Modified: trunk/dports/devel/nodejs-devel/Portfile
===================================================================
--- trunk/dports/devel/nodejs-devel/Portfile	2012-06-23 19:30:01 UTC (rev 94586)
+++ trunk/dports/devel/nodejs-devel/Portfile	2012-06-23 20:47:04 UTC (rev 94587)
@@ -4,7 +4,7 @@
 PortSystem              1.0
 
 name                    nodejs-devel
-version                 0.7.10
+version                 0.7.11
 categories              devel net
 platforms               darwin
 license                 {MIT BSD}
@@ -22,8 +22,8 @@
 homepage                http://nodejs.org/
 master_sites            ${homepage}dist/v${version}
 
-checksums               rmd160  e0d4f86b5f723f5f361afb69913e87eea76a46b2 \
-                        sha256  9094dcd47dba984b6c2ca89a5361bd6664d1990edf41419f9a8a6d26ae774c6e
+checksums               rmd160  7508733221b42e565391a350a380900484069d23 \
+                        sha256  add0db06f628ed8330b1a3450efa39f18d08c5a54d5827004c76ae23522ca842
 
 distname                node-v${version}
 
@@ -47,26 +47,29 @@
                    ${worksrcpath}/deps/uv/gyp_uv \
                    ${worksrcpath}/tools/gyp/test/mac/gyptest-sourceless-module.gyp \
                    ${worksrcpath}/tools/gyp/test/mac/gyptest-postbuild-static-library.gyp \
+                   ${worksrcpath}/deps/npm/node_modules/node-gyp/legacy/tools/gyp/gyp \
+                   ${worksrcpath}/deps/npm/node_modules/node-gyp/legacy/tools/gyp_addon \
                    [rec_glob ${worksrcpath} *.py]] {
         reinplace "s|/usr/bin/env python|${configure.python}|" ${f}
     }
+    reinplace "s|/usr/bin/env node|${prefix}/bin/node|" ${worksrcpath}/tools/doc/node_modules/marked/bin/marked 
 }
 
 configure.args          --without-ssl
 configure.args-append   --without-npm
 
 variant python25 conflicts python26 python27 description {Use python 2.5} {
-    depends_lib         port:python25
+    depends_lib-append  port:python25
     configure.python    ${prefix}/bin/python2.5
 }
 
 variant python26 conflicts python25 python27 description {Use python 2.6} {
-    depends_lib         port:python26
+    depends_lib-append  port:python26
     configure.python    ${prefix}/bin/python2.6
 }
 
 variant python27 conflicts python25 python26 description {Use python 2.7} {
-    depends_lib         port:python27
+    depends_lib-append  port:python27
     configure.python    ${prefix}/bin/python2.7
 }
 
@@ -81,7 +84,6 @@
     configure.args-append   --openssl-use-sys
     configure.args-append   --openssl-includes=${prefix}/include/openssl
     configure.args-append   --openssl-libpath=${prefix}/lib
-
 }
 
 default_variants        +ssl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120623/074e09bc/attachment.html>


More information about the macports-changes mailing list