diff options
author | olgeni <olgeni@FreeBSD.org> | 2002-11-11 10:24:48 +0000 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2002-11-11 10:24:48 +0000 |
commit | 4310167fb56877baef87d955b89669c813fb08d1 (patch) | |
tree | 4a6ac99fdfc8b02248aebe7ef8fbdacc98f11076 /devel/py_otp_interface | |
parent | 168160de4c2b0fbb8254e6d203d25c9c887a8572 (diff) | |
download | FreeBSD-ports-4310167fb56877baef87d955b89669c813fb08d1.zip FreeBSD-ports-4310167fb56877baef87d955b89669c813fb08d1.tar.gz |
Add py_otp_interface, a Python implementation of an Erlang/OTP node.
Diffstat (limited to 'devel/py_otp_interface')
-rw-r--r-- | devel/py_otp_interface/Makefile | 46 | ||||
-rw-r--r-- | devel/py_otp_interface/distinfo | 1 | ||||
-rw-r--r-- | devel/py_otp_interface/pkg-comment | 1 | ||||
-rw-r--r-- | devel/py_otp_interface/pkg-descr | 5 | ||||
-rw-r--r-- | devel/py_otp_interface/pkg-plist | 33 |
5 files changed, 86 insertions, 0 deletions
diff --git a/devel/py_otp_interface/Makefile b/devel/py_otp_interface/Makefile new file mode 100644 index 0000000..19b6308 --- /dev/null +++ b/devel/py_otp_interface/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: py_otp_interface +# Date Created: 10 November 2002 +# Whom: olgeni@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= py_otp_interface +PORTVERSION= 0.91 +CATEGORIES= devel python +MASTER_SITES= http://www.erlang.org/contrib/ +DISTNAME= py_interface-${PORTVERSION} +EXTRACT_SUFX= .tgz +DIST_SUBDIR= erlang + +MAINTAINER= olgeni@FreeBSD.org + +USE_PYTHON= yes + +OTP_LIBS= erl_async_conn.py erl_common.py erl_epmd.py \ + erl_eventhandler.py erl_node.py erl_node_conn.py \ + erl_opts.py erl_term.py +OTP_EXAMPLES= test_erl_node.py test_erl_node_conn.py test_erl_epmd.py \ + test_erl_node_tk_1.py +OTP_DOCS= COPYING.LIB README py_interface.pub + +do-build: + @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC} + +do-install: + @for FILE in ${OTP_LIBS}; do \ + ${INSTALL_DATA} ${WRKSRC}/$${FILE}* ${PYTHON_SITELIBDIR}; \ + done + ${MKDIR} ${EXAMPLESDIR} + @for FILE in ${OTP_EXAMPLES}; do \ + ${INSTALL_DATA} ${WRKSRC}/$${FILE} ${EXAMPLESDIR}; \ + done +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + @for FILE in ${OTP_DOCS}; do \ + ${INSTALL_DATA} ${WRKSRC}/$${FILE} ${DOCSDIR}; \ + done +.endif + +.include <bsd.port.mk> diff --git a/devel/py_otp_interface/distinfo b/devel/py_otp_interface/distinfo new file mode 100644 index 0000000..bfbd3e4 --- /dev/null +++ b/devel/py_otp_interface/distinfo @@ -0,0 +1 @@ +MD5 (erlang/py_interface-0.91.tgz) = b169a21be0c57a93f731414c30395117 diff --git a/devel/py_otp_interface/pkg-comment b/devel/py_otp_interface/pkg-comment new file mode 100644 index 0000000..dd85c02 --- /dev/null +++ b/devel/py_otp_interface/pkg-comment @@ -0,0 +1 @@ +A native python implementation of an Erlang/OTP node diff --git a/devel/py_otp_interface/pkg-descr b/devel/py_otp_interface/pkg-descr new file mode 100644 index 0000000..bc08b83 --- /dev/null +++ b/devel/py_otp_interface/pkg-descr @@ -0,0 +1,5 @@ +Native Python implementation of an Erlang/OTP hidden node. It can +talk to R7, R8 and R9 nodes, supports sending and receiving messages, +RPC calls and EPMD registration. + +WWW: http://www.erlang.org/user.html#py_interface-0.91 diff --git a/devel/py_otp_interface/pkg-plist b/devel/py_otp_interface/pkg-plist new file mode 100644 index 0000000..dc47fa6 --- /dev/null +++ b/devel/py_otp_interface/pkg-plist @@ -0,0 +1,33 @@ +lib/%%PYTHON_VERSION%%/site-packages/erl_async_conn.py +lib/%%PYTHON_VERSION%%/site-packages/erl_async_conn.pyc +lib/%%PYTHON_VERSION%%/site-packages/erl_async_conn.pyo +lib/%%PYTHON_VERSION%%/site-packages/erl_common.py +lib/%%PYTHON_VERSION%%/site-packages/erl_common.pyc +lib/%%PYTHON_VERSION%%/site-packages/erl_common.pyo +lib/%%PYTHON_VERSION%%/site-packages/erl_epmd.py +lib/%%PYTHON_VERSION%%/site-packages/erl_epmd.pyc +lib/%%PYTHON_VERSION%%/site-packages/erl_epmd.pyo +lib/%%PYTHON_VERSION%%/site-packages/erl_eventhandler.py +lib/%%PYTHON_VERSION%%/site-packages/erl_eventhandler.pyc +lib/%%PYTHON_VERSION%%/site-packages/erl_eventhandler.pyo +lib/%%PYTHON_VERSION%%/site-packages/erl_node.py +lib/%%PYTHON_VERSION%%/site-packages/erl_node.pyc +lib/%%PYTHON_VERSION%%/site-packages/erl_node.pyo +lib/%%PYTHON_VERSION%%/site-packages/erl_node_conn.py +lib/%%PYTHON_VERSION%%/site-packages/erl_node_conn.pyc +lib/%%PYTHON_VERSION%%/site-packages/erl_node_conn.pyo +lib/%%PYTHON_VERSION%%/site-packages/erl_opts.py +lib/%%PYTHON_VERSION%%/site-packages/erl_opts.pyc +lib/%%PYTHON_VERSION%%/site-packages/erl_opts.pyo +lib/%%PYTHON_VERSION%%/site-packages/erl_term.py +lib/%%PYTHON_VERSION%%/site-packages/erl_term.pyc +lib/%%PYTHON_VERSION%%/site-packages/erl_term.pyo +%%PORTDOCS%%share/doc/py_otp_interface/COPYING.LIB +%%PORTDOCS%%share/doc/py_otp_interface/README +%%PORTDOCS%%share/doc/py_otp_interface/py_interface.pub +share/examples/py_otp_interface/test_erl_epmd.py +share/examples/py_otp_interface/test_erl_node.py +share/examples/py_otp_interface/test_erl_node_conn.py +share/examples/py_otp_interface/test_erl_node_tk_1.py +@dirrm share/examples/py_otp_interface +%%PORTDOCS%%@dirrm share/doc/py_otp_interface |