Ticket #23205: Portfile.2

File Portfile.2, 1.7 KB (added by arto.bendiken@…, 15 years ago)

Portfile for Node.js 0.1.33

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                    node
7version                 0.1.33
8categories              net
9maintainers             gmail.com:ceager openmaintainer
10description             Evented I/O for V8 JavaScript
11long_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.
15homepage                http://nodejs.org/
16platforms               darwin
17master_sites            http://nodejs.org/dist/
18
19checksums               md5 d34173ead6119b9a593176a9c7522cea \
20                        sha1 58d763411e3a951aa05f8948c45b3034e5d00361 \
21                        rmd160 b76961f5170455f7046a5b9b863e943e20c37e9d
22distname                ${name}-v${version}
23extract.suffix          .tar.gz
24worksrcdir              ${distname}
25
26depends_build           bin:python:python26
27
28depends_lib-append      port:gnutls
29
30# V8 only supports ARM and IA-32 processors
31universal_variant       no
32
33configure.env-append    LDFLAGS="-L${prefix}/lib"
34
35test.run                yes
36test.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#}