Skip to content

Instantly share code, notes, and snippets.

@rmoriz
Created May 7, 2010 10:31
Show Gist options
  • Save rmoriz/393270 to your computer and use it in GitHub Desktop.
Save rmoriz/393270 to your computer and use it in GitHub Desktop.
# -*- 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
# $Id$
PortSystem 1.0
name node
version 0.1.94
categories net
maintainers nonmaintainer
description Evented I/O for V8 JavaScript
long_description Node's goal is to provide an easy way to build scalable network programs. \
Node is similar in design to and influenced by systems like Ruby's Event \
Machine or Python's Twisted. Node takes the event model a bit further-it \
presents the event loop as a language construct instead of as a library.
homepage http://nodejs.org/
platforms darwin
master_sites http://nodejs.org/dist/
checksums md5 2a00143e306cd8d6b36f2d50307e37cd \
sha1 4669b97eae7fd34a96b46260b5fcfc874292c44f \
rmd160 d46a851c73f53432e22bf6501d305b82c4d5f6das
distname ${name}-v${version}
extract.suffix .tar.gz
worksrcdir ${distname}
depends_build bin:python:python26
depends_lib-append port:gnutls
# V8 only supports ARM and IA-32 processors
universal_variant no
configure.env-append LDFLAGS="-L${prefix}/lib"
test.run yes
test.target test
# TODO: Fix the doc installation
#variant doc description {Builds and installs manpages} {
# use_configure no
# build {}
# destroot.target doc install
#
# depends_lib-append port:asciidoc \
# port:libxslt
#}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment