1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

New port ocaml-jabbr version 0.0.20021124: XML Messaging and Presence

Protocol a.k.a. Jabber for Objective Caml
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2003-01-09 06:05:52 +00:00
parent 5dace82881
commit 733134ead7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72790
11 changed files with 249 additions and 0 deletions

View File

@ -0,0 +1,54 @@
# New ports collection makefile for: ocaml jabbr
# Date created: Thu Jan 9 05:59:43 UTC 2003
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= jabbr
PORTVERSION= 0.0.${DATE_VERSION}
CATEGORIES= net
MASTER_SITES= http://mikelin.mit.edu/xmpp/jabbr/
PKGNAMEPREFIX= ocaml-
DISTNAME= jabbr
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
RUN_DEPENDS= ${LOCALBASE}/lib/ocaml/cryptokit.cma:${PORTSDIR}/security/ocaml-cryptokit \
${LOCALBASE}/lib/ocaml/yaxpo.cma:${PORTSDIR}/textproc/ocaml-yaxpo
# depend when building as well
BUILD_DEPENDS+= ${RUN_DEPENDS}
USE_REINPLACE= yes
DATE_VERSION= 20021124
post-configure:
# PREFIX safeness
@${REINPLACE_CMD} -E -e \
's|^(INSTALLDIR).*$$|\1=${PREFIX}/lib/ocaml|' \
${WRKSRC}/Makefile
post-build:
.ifndef(NOPORTDOCS)
@cd ${WRKSRC} && ${MAKE} doc
.endif
pre-install:
# in pre-install to make sure we're using the correct user:group
# combo
@${REINPLACE_CMD} -E -e \
's|cp -f |${INSTALL_DATA} |' \
${WRKSRC}/Makefile
# create installation dir
@${MKDIR} ${PREFIX}/lib/ocaml
post-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (jabbr.tar.gz) = 904e15ceb05681f563894151d819ef07

View File

@ -0,0 +1 @@
XML Messaging and Presence Protocol a.k.a. Jabber for Objective Caml

View File

@ -0,0 +1,14 @@
[ excerpt from developer's www site ]
Jabbr is an OCaml library for the XML Messaging and Presence Protocol,
more commonly known as Jabber, based on my Yaxpo reentrant XML
parser. Jabbr provides basic XML stream and authentication services
based on a clean state machine abstraction which imposes minimal
constraints on the underlying I/O mechanisms used by the driver
program. It currently does not provide automated support for
higher-level XMPP abstractions like presence and roster management.
In addition to Yaxpo, Jabbr requires Xavier Leroy's Cryptokit
library, which provides SHA-1 hash support for authentication.
WWW: http://mikelin.mit.edu/xmpp/jabbr/

View File

@ -0,0 +1,54 @@
lib/ocaml/auth.cmi
lib/ocaml/jabber.cmi
lib/ocaml/jabber_sync.a
lib/ocaml/jabber_sync.cma
lib/ocaml/jabber_sync.cmi
lib/ocaml/jabber_sync.cmxa
lib/ocaml/jabbersm.cmi
lib/ocaml/jabbr.a
lib/ocaml/jabbr.cma
lib/ocaml/jabbr.cmxa
lib/ocaml/xmlstream.cmi
%%PORTDOCS%%share/doc/jabbr/Auth.auth_machine.html
%%PORTDOCS%%share/doc/jabbr/Auth.html
%%PORTDOCS%%share/doc/jabbr/Jabber.html
%%PORTDOCS%%share/doc/jabbr/Jabber.iq.html
%%PORTDOCS%%share/doc/jabbr/Jabber.message.html
%%PORTDOCS%%share/doc/jabbr/Jabber.packet_base.html
%%PORTDOCS%%share/doc/jabbr/Jabber.presence.html
%%PORTDOCS%%share/doc/jabbr/Jabber_sync.html
%%PORTDOCS%%share/doc/jabbr/Jabber_sync.session.html
%%PORTDOCS%%share/doc/jabbr/Jabbersm.html
%%PORTDOCS%%share/doc/jabbr/Jabbersm.state_machine.html
%%PORTDOCS%%share/doc/jabbr/Jid.html
%%PORTDOCS%%share/doc/jabbr/Xmlstream.html
%%PORTDOCS%%share/doc/jabbr/Xmlstream.xml_stream_reader.html
%%PORTDOCS%%share/doc/jabbr/Xmlstream.xml_stream_writer.html
%%PORTDOCS%%share/doc/jabbr/index.html
%%PORTDOCS%%share/doc/jabbr/index_attributes.html
%%PORTDOCS%%share/doc/jabbr/index_class_types.html
%%PORTDOCS%%share/doc/jabbr/index_classes.html
%%PORTDOCS%%share/doc/jabbr/index_exceptions.html
%%PORTDOCS%%share/doc/jabbr/index_methods.html
%%PORTDOCS%%share/doc/jabbr/index_module_types.html
%%PORTDOCS%%share/doc/jabbr/index_modules.html
%%PORTDOCS%%share/doc/jabbr/index_types.html
%%PORTDOCS%%share/doc/jabbr/index_values.html
%%PORTDOCS%%share/doc/jabbr/style.css
%%PORTDOCS%%share/doc/jabbr/type_Auth.auth_machine.html
%%PORTDOCS%%share/doc/jabbr/type_Auth.html
%%PORTDOCS%%share/doc/jabbr/type_Jabber.html
%%PORTDOCS%%share/doc/jabbr/type_Jabber.iq.html
%%PORTDOCS%%share/doc/jabbr/type_Jabber.message.html
%%PORTDOCS%%share/doc/jabbr/type_Jabber.packet_base.html
%%PORTDOCS%%share/doc/jabbr/type_Jabber.presence.html
%%PORTDOCS%%share/doc/jabbr/type_Jabber_sync.html
%%PORTDOCS%%share/doc/jabbr/type_Jabber_sync.session.html
%%PORTDOCS%%share/doc/jabbr/type_Jabbersm.html
%%PORTDOCS%%share/doc/jabbr/type_Jabbersm.state_machine.html
%%PORTDOCS%%share/doc/jabbr/type_Jid.html
%%PORTDOCS%%share/doc/jabbr/type_Xmlstream.html
%%PORTDOCS%%share/doc/jabbr/type_Xmlstream.xml_stream_reader.html
%%PORTDOCS%%share/doc/jabbr/type_Xmlstream.xml_stream_writer.html
%%PORTDOCS%%@dirrm share/doc/jabbr
@unexec rmdir %D/lib/ocaml 2>/dev/null || true

View File

@ -335,6 +335,7 @@
SUBDIR += nttcp
SUBDIR += nylon
SUBDIR += obnc
SUBDIR += ocaml-jabbr
SUBDIR += odsclient
SUBDIR += ohphone
SUBDIR += openam

54
net/ocaml-jabbr/Makefile Normal file
View File

@ -0,0 +1,54 @@
# New ports collection makefile for: ocaml jabbr
# Date created: Thu Jan 9 05:59:43 UTC 2003
# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= jabbr
PORTVERSION= 0.0.${DATE_VERSION}
CATEGORIES= net
MASTER_SITES= http://mikelin.mit.edu/xmpp/jabbr/
PKGNAMEPREFIX= ocaml-
DISTNAME= jabbr
MAINTAINER= lioux@FreeBSD.org
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
RUN_DEPENDS= ${LOCALBASE}/lib/ocaml/cryptokit.cma:${PORTSDIR}/security/ocaml-cryptokit \
${LOCALBASE}/lib/ocaml/yaxpo.cma:${PORTSDIR}/textproc/ocaml-yaxpo
# depend when building as well
BUILD_DEPENDS+= ${RUN_DEPENDS}
USE_REINPLACE= yes
DATE_VERSION= 20021124
post-configure:
# PREFIX safeness
@${REINPLACE_CMD} -E -e \
's|^(INSTALLDIR).*$$|\1=${PREFIX}/lib/ocaml|' \
${WRKSRC}/Makefile
post-build:
.ifndef(NOPORTDOCS)
@cd ${WRKSRC} && ${MAKE} doc
.endif
pre-install:
# in pre-install to make sure we're using the correct user:group
# combo
@${REINPLACE_CMD} -E -e \
's|cp -f |${INSTALL_DATA} |' \
${WRKSRC}/Makefile
# create installation dir
@${MKDIR} ${PREFIX}/lib/ocaml
post-install:
.ifndef(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
.include <bsd.port.mk>

1
net/ocaml-jabbr/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (jabbr.tar.gz) = 904e15ceb05681f563894151d819ef07

View File

@ -0,0 +1 @@
XML Messaging and Presence Protocol a.k.a. Jabber for Objective Caml

14
net/ocaml-jabbr/pkg-descr Normal file
View File

@ -0,0 +1,14 @@
[ excerpt from developer's www site ]
Jabbr is an OCaml library for the XML Messaging and Presence Protocol,
more commonly known as Jabber, based on my Yaxpo reentrant XML
parser. Jabbr provides basic XML stream and authentication services
based on a clean state machine abstraction which imposes minimal
constraints on the underlying I/O mechanisms used by the driver
program. It currently does not provide automated support for
higher-level XMPP abstractions like presence and roster management.
In addition to Yaxpo, Jabbr requires Xavier Leroy's Cryptokit
library, which provides SHA-1 hash support for authentication.
WWW: http://mikelin.mit.edu/xmpp/jabbr/

54
net/ocaml-jabbr/pkg-plist Normal file
View File

@ -0,0 +1,54 @@
lib/ocaml/auth.cmi
lib/ocaml/jabber.cmi
lib/ocaml/jabber_sync.a
lib/ocaml/jabber_sync.cma
lib/ocaml/jabber_sync.cmi
lib/ocaml/jabber_sync.cmxa
lib/ocaml/jabbersm.cmi
lib/ocaml/jabbr.a
lib/ocaml/jabbr.cma
lib/ocaml/jabbr.cmxa
lib/ocaml/xmlstream.cmi
%%PORTDOCS%%share/doc/jabbr/Auth.auth_machine.html
%%PORTDOCS%%share/doc/jabbr/Auth.html
%%PORTDOCS%%share/doc/jabbr/Jabber.html
%%PORTDOCS%%share/doc/jabbr/Jabber.iq.html
%%PORTDOCS%%share/doc/jabbr/Jabber.message.html
%%PORTDOCS%%share/doc/jabbr/Jabber.packet_base.html
%%PORTDOCS%%share/doc/jabbr/Jabber.presence.html
%%PORTDOCS%%share/doc/jabbr/Jabber_sync.html
%%PORTDOCS%%share/doc/jabbr/Jabber_sync.session.html
%%PORTDOCS%%share/doc/jabbr/Jabbersm.html
%%PORTDOCS%%share/doc/jabbr/Jabbersm.state_machine.html
%%PORTDOCS%%share/doc/jabbr/Jid.html
%%PORTDOCS%%share/doc/jabbr/Xmlstream.html
%%PORTDOCS%%share/doc/jabbr/Xmlstream.xml_stream_reader.html
%%PORTDOCS%%share/doc/jabbr/Xmlstream.xml_stream_writer.html
%%PORTDOCS%%share/doc/jabbr/index.html
%%PORTDOCS%%share/doc/jabbr/index_attributes.html
%%PORTDOCS%%share/doc/jabbr/index_class_types.html
%%PORTDOCS%%share/doc/jabbr/index_classes.html
%%PORTDOCS%%share/doc/jabbr/index_exceptions.html
%%PORTDOCS%%share/doc/jabbr/index_methods.html
%%PORTDOCS%%share/doc/jabbr/index_module_types.html
%%PORTDOCS%%share/doc/jabbr/index_modules.html
%%PORTDOCS%%share/doc/jabbr/index_types.html
%%PORTDOCS%%share/doc/jabbr/index_values.html
%%PORTDOCS%%share/doc/jabbr/style.css
%%PORTDOCS%%share/doc/jabbr/type_Auth.auth_machine.html
%%PORTDOCS%%share/doc/jabbr/type_Auth.html
%%PORTDOCS%%share/doc/jabbr/type_Jabber.html
%%PORTDOCS%%share/doc/jabbr/type_Jabber.iq.html
%%PORTDOCS%%share/doc/jabbr/type_Jabber.message.html
%%PORTDOCS%%share/doc/jabbr/type_Jabber.packet_base.html
%%PORTDOCS%%share/doc/jabbr/type_Jabber.presence.html
%%PORTDOCS%%share/doc/jabbr/type_Jabber_sync.html
%%PORTDOCS%%share/doc/jabbr/type_Jabber_sync.session.html
%%PORTDOCS%%share/doc/jabbr/type_Jabbersm.html
%%PORTDOCS%%share/doc/jabbr/type_Jabbersm.state_machine.html
%%PORTDOCS%%share/doc/jabbr/type_Jid.html
%%PORTDOCS%%share/doc/jabbr/type_Xmlstream.html
%%PORTDOCS%%share/doc/jabbr/type_Xmlstream.xml_stream_reader.html
%%PORTDOCS%%share/doc/jabbr/type_Xmlstream.xml_stream_writer.html
%%PORTDOCS%%@dirrm share/doc/jabbr
@unexec rmdir %D/lib/ocaml 2>/dev/null || true