Ticket #28362: Portfile

File Portfile, 1.7 KB (added by studio17@…, 13 years ago)

nodejs @0.4.0 Portfile

Line 
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
4PortSystem              1.0
5
6name                    nodejs
7version                 0.4.0
8categories              devel net
9platforms               darwin
10maintainers             gmail.com:ceager openmaintainer
11
12description             Evented I/O for V8 JavaScript
13
14long_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
19homepage                http://nodejs.org/
20master_sites            ${homepage}dist/
21
22checksums               sha1    303b616be1ea17b16d771cced02115705be0b934 \
23                        rmd160  3e6d412b1d3815747856ebe6531b0ac86f35362a
24
25distname                node-v${version}
26
27configure.args          --without-ssl
28
29variant ssl description {Add secure socket layer support} {
30    depends_lib-append      port:openssl
31    configure.args-delete   --without-ssl
32}
33
34default_variants        +ssl
35
36# V8 only supports ARM and IA-32 processors
37universal_variant       no
38
39test.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
51livecheck.type      regex
52livecheck.regex     ">node-v(\\d+(?:\\.\\d+)*)${extract.suffix}<"
53