aboutsummaryrefslogtreecommitdiff
path: root/www/node-devel
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2013-07-21 01:34:54 +0000
committerSteve Wills <swills@FreeBSD.org>2013-07-21 01:34:54 +0000
commit179a7329d56401233931a4802d78b6ae5691d16b (patch)
treec912c91c35f32539dcccb5854d04a0b64a3985ca /www/node-devel
parent6a6c9b116c3ada998ae52f6a8ebf0dd5bdc9db74 (diff)
downloadports-179a7329d56401233931a4802d78b6ae5691d16b.tar.gz
ports-179a7329d56401233931a4802d78b6ae5691d16b.zip
Notes
Diffstat (limited to 'www/node-devel')
-rw-r--r--www/node-devel/Makefile13
-rw-r--r--www/node-devel/distinfo4
-rw-r--r--www/node-devel/pkg-plist7
3 files changed, 19 insertions, 5 deletions
diff --git a/www/node-devel/Makefile b/www/node-devel/Makefile
index 055dde26d6f1..089b02a769c3 100644
--- a/www/node-devel/Makefile
+++ b/www/node-devel/Makefile
@@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= node
-PORTVERSION= 0.11.1
+PORTVERSION= 0.11.4
CATEGORIES= www
MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/
PKGNAMESUFFIX= -devel
@@ -27,6 +27,17 @@ CONFIGURE_ARGS= --prefix=${PREFIX_RELDEST} --without-npm --shared-zlib
PREFIX_RELDEST= ${PREFIX:S,^${DESTDIR},,}
REINPLACE_ARGS= -i ''
+.include <bsd.port.options.mk>
+
+.if ${OSVERSION} >= 900033 && exists(/usr/bin/clang)
+CC= clang
+CXX= clang++
+GYP_DEFINES+= clang=1
+.else
+USE_GCC?= 4.6+
+GYP_DEFINES+= gcc_version=${CXX:S/g++//}
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/deps/v8/build/common.gypi \
diff --git a/www/node-devel/distinfo b/www/node-devel/distinfo
index e7c345d2f4af..c4ac9df81941 100644
--- a/www/node-devel/distinfo
+++ b/www/node-devel/distinfo
@@ -1,2 +1,2 @@
-SHA256 (node-v0.11.1.tar.gz) = 1042853f6f288185e9dda60eaf57de50768aec5d32df7c7f462b713c56bd096f
-SIZE (node-v0.11.1.tar.gz) = 13405287
+SHA256 (node-v0.11.4.tar.gz) = 81f36aafa4a31fa59e0301358699d82766ea7ba178be810ce00444a7fc10db47
+SIZE (node-v0.11.4.tar.gz) = 14855090
diff --git a/www/node-devel/pkg-plist b/www/node-devel/pkg-plist
index 6108ad1fcba0..2440890efcfe 100644
--- a/www/node-devel/pkg-plist
+++ b/www/node-devel/pkg-plist
@@ -1,5 +1,8 @@
bin/node
lib/dtrace/node.d
lib/node_modules/.keepme
-@dirrm lib/node_modules
-@dirrm lib/dtrace
+share/systemtap/tapset/node.stp
+@dirrmtry share/systemtap/tapset
+@dirrmtry share/systemtap
+@dirrmtry lib/node_modules
+@dirrmtry lib/dtrace