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 node |
---|
7 | version 0.1.33 |
---|
8 | categories net |
---|
9 | maintainers gmail.com:ceager openmaintainer |
---|
10 | description Evented I/O for V8 JavaScript |
---|
11 | long_description Node's goal is to provide an easy way to build scalable network programs. \ |
---|
12 | Node is similar in design to and influenced by systems like Ruby's Event \ |
---|
13 | Machine or Python's Twisted. Node takes the event model a bit further-it \ |
---|
14 | presents the event loop as a language construct instead of as a library. |
---|
15 | homepage http://nodejs.org/ |
---|
16 | platforms darwin |
---|
17 | master_sites http://nodejs.org/dist/ |
---|
18 | |
---|
19 | checksums md5 d34173ead6119b9a593176a9c7522cea \ |
---|
20 | sha1 58d763411e3a951aa05f8948c45b3034e5d00361 \ |
---|
21 | rmd160 b76961f5170455f7046a5b9b863e943e20c37e9d |
---|
22 | distname ${name}-v${version} |
---|
23 | extract.suffix .tar.gz |
---|
24 | worksrcdir ${distname} |
---|
25 | |
---|
26 | depends_build bin:python:python26 |
---|
27 | |
---|
28 | depends_lib-append port:gnutls |
---|
29 | |
---|
30 | # V8 only supports ARM and IA-32 processors |
---|
31 | universal_variant no |
---|
32 | |
---|
33 | configure.env-append LDFLAGS="-L${prefix}/lib" |
---|
34 | |
---|
35 | test.run yes |
---|
36 | test.target test |
---|
37 | |
---|
38 | # TODO: Fix the doc installation |
---|
39 | #variant doc description {Builds and installs manpages} { |
---|
40 | # use_configure no |
---|
41 | # build {} |
---|
42 | # destroot.target doc install |
---|
43 | # |
---|
44 | # depends_lib-append port:asciidoc \ |
---|
45 | # port:libxslt |
---|
46 | #} |
---|