# HG changeset patch
# User Sean Farley <sean@farley.io>
# Date 1443216059 25200
# Fri Sep 25 14:20:59 2015 -0700
# Node ID c636f16267bbcae7e7cd0ac67748e50071227660
# Parent 19a1ffc813c253a07f89474c46f3b0c0be2b7ef3
nodejs-devel: use github portgroup
diff --git a/dports/devel/nodejs-devel/Portfile b/dports/devel/nodejs-devel/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 | |
| 8 | github.setup nodejs node 4.1.1 v |
7 | 9 | name nodejs-devel |
8 | | version 4.1.1 |
9 | 10 | |
10 | 11 | categories devel net |
11 | 12 | platforms darwin |
12 | 13 | license {MIT BSD} |
13 | 14 | maintainers ciserlohn |
… |
… |
long_description Node's goal is t |
19 | 20 | Machine or Python's Twisted. Node takes the event model a bit further-it \ |
20 | 21 | presents the event loop as a language construct instead of as a library. |
21 | 22 | |
22 | 23 | conflicts nodejs iojs |
23 | 24 | |
24 | | homepage http://nodejs.org/ |
25 | | master_sites ${homepage}dist/v${version} |
26 | | |
27 | 25 | checksums rmd160 37d147d964f3134fc6de40045a3b4dab1b28dde0 \ |
28 | 26 | sha256 6a610935ff52de713cf2af6a26002322e24fd7933a444436f0817a2b84e15a58 |
29 | 27 | |
30 | | distname node-v${version} |
31 | | |
32 | 28 | depends_build port:pkgconfig |
33 | 29 | |
34 | 30 | depends_lib port:icu |
35 | 31 | |
36 | 32 | proc rec_glob {basedir pattern} { |
… |
… |
if {${os.major} < 10} { |
231 | 227 | pre-fetch { |
232 | 228 | ui_error "${name} ${version} requires Mac OS X 10.6 or greater." |
233 | 229 | return -code error "incompatible Mac OS X version" |
234 | 230 | } |
235 | 231 | } |
236 | | |
237 | | livecheck.url ${homepage}dist/ |
238 | | livecheck.type regex |
239 | | livecheck.regex {v(\d+\.\d*[02468]\.\d+)} |