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 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name nodejs |
---|
7 | version 0.4.0 |
---|
8 | categories devel net |
---|
9 | platforms darwin |
---|
10 | maintainers gmail.com:ceager openmaintainer |
---|
11 | |
---|
12 | description Evented I/O for V8 JavaScript |
---|
13 | |
---|
14 | long_description Node's goal is to provide an easy way to build scalable network programs in JavaScript. \ |
---|
15 | Node is similar in design to and influenced by systems like Ruby's Event \ |
---|
16 | Machine or Python's Twisted. Node takes the event model a bit further-it \ |
---|
17 | presents the event loop as a language construct instead of as a library. |
---|
18 | |
---|
19 | homepage http://nodejs.org/ |
---|
20 | master_sites ${homepage}dist/ |
---|
21 | |
---|
22 | checksums sha1 303b616be1ea17b16d771cced02115705be0b934 \ |
---|
23 | rmd160 3e6d412b1d3815747856ebe6531b0ac86f35362a |
---|
24 | |
---|
25 | distname node-v${version} |
---|
26 | |
---|
27 | configure.args --without-ssl |
---|
28 | |
---|
29 | variant ssl description {Add secure socket layer support} { |
---|
30 | depends_lib-append port:openssl |
---|
31 | configure.args-delete --without-ssl |
---|
32 | } |
---|
33 | |
---|
34 | default_variants +ssl |
---|
35 | |
---|
36 | # V8 only supports ARM and IA-32 processors |
---|
37 | universal_variant no |
---|
38 | |
---|
39 | test.run yes |
---|
40 | |
---|
41 | # TODO: Fix the doc installation |
---|
42 | #variant doc description {Build and install manpages} { |
---|
43 | # use_configure no |
---|
44 | # build {} |
---|
45 | # destroot.target doc install |
---|
46 | # |
---|
47 | # depends_lib-append port:asciidoc \ |
---|
48 | # port:libxslt |
---|
49 | #} |
---|
50 | |
---|
51 | livecheck.type regex |
---|
52 | livecheck.regex ">node-v(\\d+(?:\\.\\d+)*)${extract.suffix}<" |
---|
53 | |
---|