aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2003-03-05 21:26:13 +0800
committerolgeni <olgeni@FreeBSD.org>2003-03-05 21:26:13 +0800
commit02e700896f2ff9975838cf2f028bc267ca0bc3b8 (patch)
treefc32a2ac0539449e360183e406ca249345fff49f /net
parent74c2b57c24e1779e05263dcca0c3877da9e1c3f3 (diff)
downloadfreebsd-ports-gnome-02e700896f2ff9975838cf2f028bc267ca0bc3b8.tar.gz
freebsd-ports-gnome-02e700896f2ff9975838cf2f028bc267ca0bc3b8.tar.zst
freebsd-ports-gnome-02e700896f2ff9975838cf2f028bc267ca0bc3b8.zip
Add an xmlrpc support library for Erlang.
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/erlang_xmlrpc/Makefile50
-rw-r--r--net/erlang_xmlrpc/distinfo1
-rw-r--r--net/erlang_xmlrpc/pkg-descr5
-rw-r--r--net/erlang_xmlrpc/pkg-plist36
5 files changed, 93 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 57252e04ccdc..e9e1a76c5c83 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -126,6 +126,7 @@
SUBDIR += edonkey-gui-gtk-urlslave
SUBDIR += edonkey-gui-java
SUBDIR += ehnt
+ SUBDIR += erlang_xmlrpc
SUBDIR += etherape
SUBDIR += etherboot
SUBDIR += ethereal
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%%