[84119] trunk/dports/devel/npm

Ryan Schmidt ryandesign at macports.org
Sun Sep 18 07:09:24 PDT 2011


On Sep 18, 2011, at 07:55, ciserlohn at macports.org wrote:

> Revision: 84119
>          http://trac.macports.org/changeset/84119
> Author:   ciserlohn at macports.org
> Date:     2011-09-18 05:55:44 -0700 (Sun, 18 Sep 2011)
> Log Message:
> -----------
> npm: update to version 1.0.30; build manpages (pre-built manpages have been removed upstream)
> 
> Modified Paths:
> --------------
>    trunk/dports/devel/npm/Portfile

> +    system "cd ${destroot}${prefix}/lib && node ${worksrcpath}/cli.js install ${worksrcpath}"

FYI, system has a -W argument now (like xinstall's -W argument) which can be used like this:

    system -W ${destroot}${prefix}/lib "${prefix}/bin/node ${worksrcpath}/cli.js install ${worksrcpath}"

Using absolute paths to MacPorts executables is a good idea BTW in case the user has tried to be clever by editing binpath in macports.conf.




More information about the macports-dev mailing list