Skip to content

Instantly share code, notes, and snippets.

@rmoriz
Created September 14, 2010 15:29
Show Gist options
  • Save rmoriz/579213 to your computer and use it in GitHub Desktop.
Save rmoriz/579213 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: Portfile 71051 2010-08-30 19:47:57Z [email protected] $
PortSystem 1.0
name nodejs
version 0.2.1
categories devel net
platforms darwin
maintainers gmail.com:ceager openmaintainer
description Evented I/O for V8 JavaScript
long_description Node's goal is to provide an easy way to build scalable network programs in JavaScript. \
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/
master_sites ${homepage}dist/
checksums md5 c6051dd216817bf0f95bea80c42cf262 \
sha1 289b53832c2157909c72a8b7b0e5a501a5be7275 \
rmd160 558b6a77b05d176f0ce92651aa8f914a593196de
distname node-v${version}
depends_lib-append port:gnutls \
port:openssl
# V8 only supports ARM and IA-32 processors
universal_variant no
test.run yes
# TODO: Fix the doc installation
#variant doc description {Build and install 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