blob: 00cd0fa084547527eff063268d6afb2f4e967f9f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# 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
PORTREVISION= 3
CATEGORIES= devel python
MASTER_SITES= http://www.erlang.org/contrib/
DISTNAME= py_interface-${PORTVERSION}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= erlang
MAINTAINER= olgeni@FreeBSD.org
COMMENT= A native python implementation of an Erlang/OTP node
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>
|