diff options
author | scheidell <scheidell@FreeBSD.org> | 2012-01-07 00:31:50 +0800 |
---|---|---|
committer | scheidell <scheidell@FreeBSD.org> | 2012-01-07 00:31:50 +0800 |
commit | 5eaba434724d6bade14e712519092b5d2a23e032 (patch) | |
tree | e2dd021085d096f2469619ab9e20e5419ee45a52 | |
parent | a89392576160bc045e5c68234c91930779842826 (diff) | |
download | freebsd-ports-gnome-5eaba434724d6bade14e712519092b5d2a23e032.tar.gz freebsd-ports-gnome-5eaba434724d6bade14e712519092b5d2a23e032.tar.zst freebsd-ports-gnome-5eaba434724d6bade14e712519092b5d2a23e032.zip |
- new port Node.js bindings for the Apache Thrift RPC system
PR: ports/163779
Approved by: gabor(mentor)
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/node-thrift/Makefile | 31 | ||||
-rw-r--r-- | devel/node-thrift/pkg-descr | 3 | ||||
-rw-r--r-- | devel/node-thrift/pkg-plist | 21 |
4 files changed, 56 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 85510a07d674..a1f12f15c0b9 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1097,6 +1097,7 @@ SUBDIR += nini SUBDIR += ninja SUBDIR += ninja-ide + SUBDIR += node-thrift SUBDIR += notify-sharp SUBDIR += noweb SUBDIR += nspr diff --git a/devel/node-thrift/Makefile b/devel/node-thrift/Makefile new file mode 100644 index 000000000000..1c89e2313ce7 --- /dev/null +++ b/devel/node-thrift/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: node-thrift +# Date created: 2012-01-02 +# Whom: Valery Komarov <komarov@valerka.net> +# +# $FreeBSD$ +# + +PORTNAME= thrift +PORTVERSION= ${THRIFT_PORTVERSION} +CATEGORIES= devel +PKGNAMEPREFIX= node- +DISTFILES= # empty + +MAINTAINER= komarov@valerka.net +COMMENT= Node.js bindings for the Apache Thrift RPC system + +RUN_DEPENDS= node:${PORTSDIR}/www/node +EXTRACT_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/devel/thrift:extract + +NO_BUILD= yes + +.include <bsd.port.pre.mk> + +do-install: + ${CP} -R \ + `${MAKE} -C ${PORTSDIR}/devel/thrift -V WRKSRC`/lib/nodejs \ + ${PREFIX}/lib/node_modules/thrift + ${LN} -s ${PREFIX}/lib/node_modules/thrift/lib/thrift ${PREFIX}/lib/node + +.include "${PORTSDIR}/devel/thrift/bsd.thrift.mk" +.include <bsd.port.post.mk> diff --git a/devel/node-thrift/pkg-descr b/devel/node-thrift/pkg-descr new file mode 100644 index 000000000000..9b4baaa139bd --- /dev/null +++ b/devel/node-thrift/pkg-descr @@ -0,0 +1,3 @@ +Node.js bindings for the Apache Thrift RPC system. + +WWW: http://thrift.apache.org/ diff --git a/devel/node-thrift/pkg-plist b/devel/node-thrift/pkg-plist new file mode 100644 index 000000000000..62a5721e44db --- /dev/null +++ b/devel/node-thrift/pkg-plist @@ -0,0 +1,21 @@ +lib/node_modules/thrift/README.md +lib/node_modules/thrift/examples/Makefile +lib/node_modules/thrift/examples/README.md +lib/node_modules/thrift/examples/client.js +lib/node_modules/thrift/examples/client_multitransport.js +lib/node_modules/thrift/examples/server.js +lib/node_modules/thrift/examples/server_multitransport.js +lib/node_modules/thrift/examples/user.thrift +lib/node_modules/thrift/lib/thrift/binary_parser.js +lib/node_modules/thrift/lib/thrift/connection.js +lib/node_modules/thrift/lib/thrift/index.js +lib/node_modules/thrift/lib/thrift/protocol.js +lib/node_modules/thrift/lib/thrift/server.js +lib/node_modules/thrift/lib/thrift/thrift.js +lib/node_modules/thrift/lib/thrift/transport.js +lib/node_modules/thrift/package.json +lib/node/thrift +@dirrm lib/node_modules/thrift/lib/thrift +@dirrm lib/node_modules/thrift/lib +@dirrm lib/node_modules/thrift/examples +@dirrm lib/node_modules/thrift |