Ticket #23205: Portfile

File Portfile, 1.8 KB (added by ceager@…, 14 years ago)
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.25
8categories              javascript
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 furtherit \
14                        presents the event loop as a language construct instead of as a library.
15homepage                http://nodejs.org
16platforms               darwin
17master_sites            http://s3.amazonaws.com/four.livejournal/20100109/
18                       
19checksums               md5 17ef9f59b583b2159a6d40e88e767675 \
20                        sha1 62f8815a4f2bfe371578f7fd69b43d6e20a6414b \
21                        rmd160 06bd878ad8cf53666def5f95f188d9d7a76003c7
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 compiles on arm and ia32
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#}