[84837] trunk/dports/devel/npm/Portfile

ciserlohn at macports.org ciserlohn at macports.org
Mon Oct 3 02:33:29 PDT 2011


Revision: 84837
          http://trac.macports.org/changeset/84837
Author:   ciserlohn at macports.org
Date:     2011-10-03 02:33:29 -0700 (Mon, 03 Oct 2011)
Log Message:
-----------
npm: update to version 1.0.90

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

Modified: trunk/dports/devel/npm/Portfile
===================================================================
--- trunk/dports/devel/npm/Portfile	2011-10-02 23:29:27 UTC (rev 84836)
+++ trunk/dports/devel/npm/Portfile	2011-10-03 09:33:29 UTC (rev 84837)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                npm
-version             1.0.30
+version             1.0.90
 categories          devel
 platforms           darwin
 license             MIT
@@ -23,8 +23,8 @@
 
 extract.suffix      .tgz
 
-checksums           rmd160  1ffcb84c6d282a331e05731d578c75b600d7b2a2 \
-                    sha256  46f717f65d63f5b58a76bba29f06a40f36626b3435ce167f99909a1a4e5e99dd
+checksums           rmd160  7c42a8bb2aec4dd56ddfce847ff74044ad0af86b \
+                    sha256  ce9f9750f529c1f99d5bd90e9a0488f3eed662205fa5f7c27e54558d9a7d3baa
 
 worksrcdir          "package"
 
@@ -50,12 +50,20 @@
     ln -s ${prefix}/lib/node_modules/.bin/npm-g ${destroot}${prefix}/bin
     system -W ${destroot}${prefix}/lib "${prefix}/bin/node ${worksrcpath}/cli.js install ${worksrcpath}"
 
-    foreach f [glob -tails -directory ${worksrcpath}/man1 *] {
+    foreach f [glob -tails -directory ${worksrcpath}/man/man1 *] {
         if [string equal $f npm.1] {
-            copy ${worksrcpath}/man1/$f ${destroot}${prefix}/share/man/man1/$f
+            copy ${worksrcpath}/man/man1/$f ${destroot}${prefix}/share/man/man1/$f
         } else {
-            copy ${worksrcpath}/man1/$f ${destroot}${prefix}/share/man/man1/npm-$f
+            copy ${worksrcpath}/man/man1/$f ${destroot}${prefix}/share/man/man1/npm-$f
         }
+    }
+    
+    foreach f [glob -tails -directory ${worksrcpath}/man/man3 *] {
+        if [string equal $f npm.3] {
+            copy ${worksrcpath}/man/man3/$f ${destroot}${prefix}/share/man/man3/$f
+        } else {
+            copy ${worksrcpath}/man/man3/$f ${destroot}${prefix}/share/man/man3/npm-$f
+        }
     }    
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111003/9c7c7716/attachment.html>


More information about the macports-changes mailing list