[Midnightbsd-cvs] mports [16007] trunk/www: add node.js port!

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Mar 1 21:00:29 EST 2014


Revision: 16007
          http://svnweb.midnightbsd.org/mports/?rev=16007
Author:   laffer1
Date:     2014-03-01 21:00:28 -0500 (Sat, 01 Mar 2014)
Log Message:
-----------
add node.js port!

Modified Paths:
--------------
    trunk/www/Makefile

Added Paths:
-----------
    trunk/www/node/
    trunk/www/node/Makefile
    trunk/www/node/distinfo
    trunk/www/node/pkg-descr
    trunk/www/node/pkg-plist

Modified: trunk/www/Makefile
===================================================================
--- trunk/www/Makefile	2014-03-02 00:37:48 UTC (rev 16006)
+++ trunk/www/Makefile	2014-03-02 02:00:28 UTC (rev 16007)
@@ -60,6 +60,7 @@
 SUBDIR += nanoblogger
 SUBDIR += neon29
 SUBDIR += nginx
+SUBDIR += node
 SUBDIR += nspluginwrapper
 SUBDIR += opera
 SUBDIR += p5-CGI-Ajax

Added: trunk/www/node/Makefile
===================================================================
--- trunk/www/node/Makefile	                        (rev 0)
+++ trunk/www/node/Makefile	2014-03-02 02:00:28 UTC (rev 16007)
@@ -0,0 +1,43 @@
+# $MidnightBSD$
+# $FreeBSD: head/www/node/Makefile 345528 2014-02-21 18:41:29Z swills $
+
+PORTNAME=	node
+PORTVERSION=	0.10.26
+CATEGORIES=	www
+MASTER_SITES=	http://nodejs.org/dist/v${PORTVERSION}/
+DISTNAME=	${PORTNAME}-v${PORTVERSION}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	V8 JavaScript for client and server
+
+LICENSE=	mit
+
+LIB_DEPENDS=	execinfo:${PORTSDIR}/devel/libexecinfo
+
+HAS_CONFIGURE=	yes
+USE_LDCONFIG=	yes
+USE_PYTHON=	2
+USES=		gmake
+
+CONFIGURE_ARGS=	--prefix=${PREFIX_RELDEST} --without-npm --dest-os=freebsd
+PREFIX_RELDEST=	${PREFIX:S,^${DESTDIR},,}
+REINPLACE_ARGS=	-i ''
+
+post-patch:
+	@${REINPLACE_CMD} -e '1 s|${SETENV} python|${PYTHON_CMD}|' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e "s|'python',|'${PYTHON_CMD}',|" \
+		${WRKSRC}/deps/v8/build/common.gypi \
+		${WRKSRC}/deps/v8/tools/gyp/v8.gyp \
+		${WRKSRC}/deps/v8/src/d8.gyp
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
+		${WRKSRC}/deps/v8/build/common.gypi \
+		${WRKSRC}/deps/v8/tools/gyp/v8.gyp
+
+post-install:
+	${MKDIR} ${PREFIX}/lib/node_modules/
+	${TOUCH} ${PREFIX}/lib/node_modules/.keepme
+	${MV} ${PREFIX}/share/man/man1/node.1 ${PREFIX}/man/man1/node.1
+	gzip ${PREFIX}/man/man1/node.1
+	${CHMOD} ${MANMODE} ${PREFIX}/man/man1/node.1.gz
+
+.include <bsd.port.mk>

Added: trunk/www/node/distinfo
===================================================================
--- trunk/www/node/distinfo	                        (rev 0)
+++ trunk/www/node/distinfo	2014-03-02 02:00:28 UTC (rev 16007)
@@ -0,0 +1,2 @@
+SHA256 (node-v0.10.26.tar.gz) = ef5e4ea6f2689ed7f781355012b942a2347e0299da0804a58de8e6281c4b1daa
+SIZE (node-v0.10.26.tar.gz) = 13339664

Added: trunk/www/node/pkg-descr
===================================================================
--- trunk/www/node/pkg-descr	                        (rev 0)
+++ trunk/www/node/pkg-descr	2014-03-02 02:00:28 UTC (rev 16007)
@@ -0,0 +1,3 @@
+node - evented I/O for V8 javascript
+
+WWW: http://nodejs.org/

Added: trunk/www/node/pkg-plist
===================================================================
--- trunk/www/node/pkg-plist	                        (rev 0)
+++ trunk/www/node/pkg-plist	2014-03-02 02:00:28 UTC (rev 16007)
@@ -0,0 +1,38 @@
+bin/node
+include/node/ares.h
+include/node/ares_version.h
+include/node/common.gypi
+include/node/config.gypi
+include/node/nameser.h
+include/node/node.h
+include/node/node_buffer.h
+include/node/node_internals.h
+include/node/node_object_wrap.h
+include/node/node_version.h
+include/node/openssl/opensslconf.h
+include/node/uv-private/ngx-queue.h
+include/node/uv-private/stdint-msvc2008.h
+include/node/uv-private/tree.h
+include/node/uv-private/uv-bsd.h
+include/node/uv-private/uv-darwin.h
+include/node/uv-private/uv-linux.h
+include/node/uv-private/uv-sunos.h
+include/node/uv-private/uv-unix.h
+include/node/uv-private/uv-win.h
+include/node/uv.h
+include/node/v8-debug.h
+include/node/v8-preparser.h
+include/node/v8-profiler.h
+include/node/v8-testing.h
+include/node/v8.h
+include/node/v8stdint.h
+include/node/zconf.h
+include/node/zlib.h
+lib/dtrace/node.d
+lib/node_modules/.keepme
+man/man1/node.1.gz
+ at dirrmtry lib/node_modules
+ at dirrmtry lib/dtrace
+ at dirrmtry include/node/uv-private
+ at dirrmtry include/node/openssl
+ at dirrmtry include/node



More information about the Midnightbsd-cvs mailing list