# HG changeset patch
# User Sean Farley <sean@farley.io>
# Date 1443120596 25200
# Thu Sep 24 11:49:56 2015 -0700
# Node ID e3b99f83372574e44c85a81da12360badbf760b6
# Parent 8c84786254678c7ab732ee575e9b91a419f697d6
nodejs: update to 4.1.1 and use github
diff --git a/dports/devel/nodejs/Portfile b/dports/devel/nodejs/Portfile
a
|
b
|
|
1 | 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
2 | 2 | # $Id$ |
3 | 3 | |
4 | 4 | PortSystem 1.0 |
5 | 5 | PortGroup compiler_blacklist_versions 1.0 |
| 6 | PortGroup github 1.0 |
6 | 7 | |
7 | | name nodejs |
8 | | version 0.12.7 |
| 8 | github.setup nodejs node 4.1.1 v |
9 | 9 | |
10 | 10 | categories devel net |
11 | 11 | platforms darwin |
12 | 12 | license {MIT BSD} |
13 | 13 | maintainers ciserlohn |
… |
… |
long_description Node's goal is t |
19 | 19 | Machine or Python's Twisted. Node takes the event model a bit further-it \ |
20 | 20 | presents the event loop as a language construct instead of as a library. |
21 | 21 | |
22 | 22 | conflicts nodejs-devel iojs |
23 | 23 | |
24 | | homepage http://nodejs.org/ |
25 | | master_sites ${homepage}dist/v${version} |
26 | | |
27 | | checksums rmd160 947daa1eac347a0c42fb67c5e316f85a12d8bd26 \ |
28 | | sha256 b23d64df051c9c969b0c583f802d5d71de342e53067127a5061415be7e12f39d |
29 | | |
30 | | distname node-v${version} |
| 24 | checksums rmd160 37d147d964f3134fc6de40045a3b4dab1b28dde0 \ |
| 25 | sha256 6a610935ff52de713cf2af6a26002322e24fd7933a444436f0817a2b84e15a58 |
31 | 26 | |
32 | 27 | depends_build port:pkgconfig |
33 | 28 | |
34 | 29 | depends_lib port:icu |
35 | 30 | |
… |
… |
destroot { |
175 | 170 | src/node_stat_watcher.h \ |
176 | 171 | src/node_version.h \ |
177 | 172 | src/node_watchdog.h \ |
178 | 173 | src/node_wrap.h \ |
179 | 174 | src/pipe_wrap.h \ |
180 | | src/queue.h \ |
181 | | src/req_wrap.h \ |
182 | | src/smalloc.h \ |
183 | 175 | src/spawn_sync.h \ |
184 | 176 | src/stream_wrap.h \ |
185 | 177 | src/string_bytes.h \ |
186 | 178 | src/tcp_wrap.h \ |
187 | 179 | src/tls_wrap.h \ |
… |
… |
destroot { |
220 | 212 | ${destroot}${prefix}/share/man/man1 |
221 | 213 | |
222 | 214 | # install docs |
223 | 215 | xinstall -m 644 -W ${worksrcpath} \ |
224 | 216 | AUTHORS \ |
225 | | ChangeLog \ |
| 217 | ChangeLog.md \ |
| 218 | COLLABORATOR_GUIDE.md \ |
| 219 | CONTRIBUTING.md \ |
| 220 | GOVERNANCE.md \ |
226 | 221 | LICENSE \ |
227 | 222 | README.md \ |
228 | 223 | ${docdir} |
229 | 224 | } |
230 | 225 | |
… |
… |
if {${os.major} < 10} { |
234 | 229 | pre-fetch { |
235 | 230 | ui_error "${name} ${version} requires Mac OS X 10.6 or greater." |
236 | 231 | return -code error "incompatible Mac OS X version" |
237 | 232 | } |
238 | 233 | } |
239 | | |
240 | | livecheck.url ${homepage}dist/ |
241 | | livecheck.type regex |
242 | | livecheck.regex {v(\d+\.\d*[02468]\.\d+)} |