Changeset 81103
- Timestamp:
- 07/25/11 09:56:55 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/devel/npm/Portfile (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/devel/npm/Portfile
r81029 r81103 11 11 maintainers ciserlohn 12 12 13 supported_archs noarch 14 13 15 description node package manager 14 16 long_description npm is a package manager for node. \ … … 18 20 homepage http://www.npmjs.org/ 19 21 20 master_sites https://github.com/isaacs/npm/tarball/v${version}21 22 22 fetch.type git 23 git.url http ://github.com/isaacs/npm.git23 git.url https://github.com/isaacs/npm.git 24 24 git.branch v${version} 25 25 26 depends_lib p ort:nodejs26 depends_lib path:bin/node:nodejs 27 27 28 28 use_configure no … … 35 35 36 36 destroot { 37 system "cd ${destroot} /${prefix}/lib && node ${worksrcpath}/cli.js install ${worksrcpath}"37 system "cd ${destroot}${prefix}/lib && node ${worksrcpath}/cli.js install ${worksrcpath}" 38 38 39 39 ln -s ${prefix}/lib/node_modules/.bin/npm ${destroot}${prefix}/bin … … 45 45 } 46 46 } 47 48 notes "\ 49 * It is not recommended to install packages globally. But if you do so \n\ 50 * please be aware that they won't get cleaned up when you deactivate \n\ 51 * or uninstall ${name}. Globally installed packages will remain in: \n\ 52 * ${prefix}/lib/node_modules/ until you manually delete them. \ 53 " 54 55 livecheck.type regex 56 livecheck.url https://github.com/isaacs/npm/branches 57 livecheck.regex "/isaacs/npm/commits/v(\\d+\\.\\d+\\.\\d+)"
Note: See TracChangeset
for help on using the changeset viewer.

