diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2003-03-05 13:26:13 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2003-03-05 13:26:13 +0000 |
commit | 828d9c849162a3d8c828dcb956044292007eb561 (patch) | |
tree | c07128b800a58ee4ace9ae94afd3f9fdee2a6724 /net/erlang_xmlrpc | |
parent | d8db26343c8a8bd5ff14b22622ff6242f9738815 (diff) | |
download | ports-828d9c849162a3d8c828dcb956044292007eb561.tar.gz ports-828d9c849162a3d8c828dcb956044292007eb561.zip |
Add an xmlrpc support library for Erlang.
Notes
Notes:
svn path=/head/; revision=76931
Diffstat (limited to 'net/erlang_xmlrpc')
-rw-r--r-- | net/erlang_xmlrpc/Makefile | 50 | ||||
-rw-r--r-- | net/erlang_xmlrpc/distinfo | 1 | ||||
-rw-r--r-- | net/erlang_xmlrpc/pkg-descr | 5 | ||||
-rw-r--r-- | net/erlang_xmlrpc/pkg-plist | 36 |
4 files changed, 92 insertions, 0 deletions
diff --git a/net/erlang_xmlrpc/Makefile b/net/erlang_xmlrpc/Makefile new file mode 100644 index 000000000000..8e4509c6fccd --- /dev/null +++ b/net/erlang_xmlrpc/Makefile @@ -0,0 +1,50 @@ +# New ports collection makefile for: erlang_xmlrpc +# Date Created: 5 March 2003 +# Whom: olgeni@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= erlang_xmlrpc +PORTVERSION= 1.12 +CATEGORIES= net +MASTER_SITES= http://www.gleipnir.com/xmlrpc/ +DISTNAME= xmlrpc-${PORTVERSION} +EXTRACT_SUFX= .tgz +DIST_SUBDIR= erlang + +MAINTAINER= olgeni@FreeBSD.org +COMMENT= A library for XMLRPC support in Erlang + +BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang \ + ${LOCALBASE}/lib/erlang/lib/xmerl/inc/xmerl.hrl:${PORTSDIR}/textproc/xmerl + +USE_GMAKE= yes +USE_REINPLACE= yes +WRKSRC= ${WRKDIR}/xmlrpc-${PORTVERSION} + +MAN3= erlang_xmlrpc.3 + +XMLRPC_DOCS= xmlrpc.pdf xmlrpc.ps xmlrpc.txt + +post-patch: + @${REINPLACE_CMD} -e 's|XMERL_PATH=.*|XMERL_PATH=${LOCALBASE}/lib/erlang/lib/xmerl|g' ${WRKSRC}/src/Makefile + @${RM} ${WRKSRC}/src/Makefile.bak + +do-build: + @cd ${WRKSRC}/src && ${GMAKE} + +do-install: + @${MKDIR} ${DOCSDIR} + @for FILE in ${XMLRPC_DOCS}; do \ + ${INSTALL_DATA} ${WRKSRC}/doc/$${FILE} ${DOCSDIR}; \ + done + @${MKDIR} ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} + @${MKDIR} ${PREFIX}/lib/erlang/lib/xmlrpc + @${CP} -r ${WRKSRC}/ebin ${PREFIX}/lib/erlang/lib/xmlrpc + @${CP} -r ${WRKSRC}/src ${PREFIX}/lib/erlang/lib/xmlrpc + @${INSTALL_MAN} ${WRKSRC}/doc/xmlrpc.3 ${MANPREFIX}/man/man3/erlang_xmlrpc.3 + @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/erlang/lib/xmlrpc + +.include <bsd.port.mk> diff --git a/net/erlang_xmlrpc/distinfo b/net/erlang_xmlrpc/distinfo new file mode 100644 index 000000000000..144328c51d69 --- /dev/null +++ b/net/erlang_xmlrpc/distinfo @@ -0,0 +1 @@ +MD5 (erlang/xmlrpc-1.12.tgz) = 74d124f255a7ab10d559ed6d40761e25 diff --git a/net/erlang_xmlrpc/pkg-descr b/net/erlang_xmlrpc/pkg-descr new file mode 100644 index 000000000000..ed4ac134b9e3 --- /dev/null +++ b/net/erlang_xmlrpc/pkg-descr @@ -0,0 +1,5 @@ +This is an HTTP 1.1 compliant XML-RPC library for Erlang. It is +designed to make it easy to write XML-RPC Erlang clients and/or +servers. + +WWW: http://www.gleipnir.com/xmlrpc/ diff --git a/net/erlang_xmlrpc/pkg-plist b/net/erlang_xmlrpc/pkg-plist new file mode 100644 index 000000000000..b38f2cdaad3b --- /dev/null +++ b/net/erlang_xmlrpc/pkg-plist @@ -0,0 +1,36 @@ +lib/erlang/lib/xmlrpc/ebin/tcp_serv.beam +lib/erlang/lib/xmlrpc/ebin/xmlrpc.beam +lib/erlang/lib/xmlrpc/ebin/xmlrpc_decode.beam +lib/erlang/lib/xmlrpc/ebin/xmlrpc_encode.beam +lib/erlang/lib/xmlrpc/ebin/xmlrpc_http.beam +lib/erlang/lib/xmlrpc/ebin/xmlrpc_util.beam +lib/erlang/lib/xmlrpc/src/Makefile +lib/erlang/lib/xmlrpc/src/log.hrl +lib/erlang/lib/xmlrpc/src/tcp_serv.erl +lib/erlang/lib/xmlrpc/src/xmlrpc.erl +lib/erlang/lib/xmlrpc/src/xmlrpc.hrl +lib/erlang/lib/xmlrpc/src/xmlrpc_decode.erl +lib/erlang/lib/xmlrpc/src/xmlrpc_encode.erl +lib/erlang/lib/xmlrpc/src/xmlrpc_http.erl +lib/erlang/lib/xmlrpc/src/xmlrpc_util.erl +%%DOCSDIR%%/xmlrpc.pdf +%%DOCSDIR%%/xmlrpc.ps +%%DOCSDIR%%/xmlrpc.txt +%%EXAMPLESDIR%%/BankClient.java +%%EXAMPLESDIR%%/DateClient.java +%%EXAMPLESDIR%%/EchoClient.java +%%EXAMPLESDIR%%/FibClient.java +%%EXAMPLESDIR%%/Makefile +%%EXAMPLESDIR%%/README +%%EXAMPLESDIR%%/date_server.erl +%%EXAMPLESDIR%%/echo_server.erl +%%EXAMPLESDIR%%/fib_server.erl +%%EXAMPLESDIR%%/robust_bank_client.erl +%%EXAMPLESDIR%%/robust_bank_server.erl +%%EXAMPLESDIR%%/robust_banking.txt +%%EXAMPLESDIR%%/validator.erl +@dirrm lib/erlang/lib/xmlrpc/src +@dirrm lib/erlang/lib/xmlrpc/ebin +@dirrm lib/erlang/lib/xmlrpc/ +@dirrm %%EXAMPLESDIR%% +@dirrm %%DOCSDIR%% |