aboutsummaryrefslogtreecommitdiffstats
path: root/net-im
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-11-23 04:04:11 +0800
committerpav <pav@FreeBSD.org>2005-11-23 04:04:11 +0800
commit5b972393071820a9c46738a12a57fb6071cf2f91 (patch)
tree80efc8b3f0761f5b6ce520d0a96a690d0575af09 /net-im
parentad8b2dd7f25e5e576d0d1f354a56ef7c1c63c534 (diff)
downloadfreebsd-ports-gnome-5b972393071820a9c46738a12a57fb6071cf2f91.tar.gz
freebsd-ports-gnome-5b972393071820a9c46738a12a57fb6071cf2f91.tar.zst
freebsd-ports-gnome-5b972393071820a9c46738a12a57fb6071cf2f91.zip
XMPP4R is an XMPP/Jabber library for Ruby.
Features: * Fully object-oriented (well, it's Ruby ;) * Aims at being XMPP compliant * Threaded and non-threaded mode * Well unit-tested and documented code * Uses well-known and well-tested software like REXML * Very easy to extend * Released under Ruby's license, which is compatible with the GNU GPL PR: ports/89339 Submitted by: Stephan Maka <stephan@spaceboyz.net>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/Makefile1
-rw-r--r--net-im/ruby-xmpp4r/Makefile49
-rw-r--r--net-im/ruby-xmpp4r/distinfo3
-rw-r--r--net-im/ruby-xmpp4r/pkg-descr12
-rw-r--r--net-im/ruby-xmpp4r/pkg-plist165
-rw-r--r--net-im/rubygem-xmpp4r/Makefile49
-rw-r--r--net-im/rubygem-xmpp4r/distinfo3
-rw-r--r--net-im/rubygem-xmpp4r/pkg-descr12
-rw-r--r--net-im/rubygem-xmpp4r/pkg-plist165
9 files changed, 459 insertions, 0 deletions
diff --git a/net-im/Makefile b/net-im/Makefile
index 06bbd03f8fe8..da61d040cfba 100644
--- a/net-im/Makefile
+++ b/net-im/Makefile
@@ -93,6 +93,7 @@
SUBDIR += psi
SUBDIR += py-jabber
SUBDIR += py-twistedWords
+ SUBDIR += ruby-xmpp4r
SUBDIR += simicq
SUBDIR += sulci
SUBDIR += tik
diff --git a/net-im/ruby-xmpp4r/Makefile b/net-im/ruby-xmpp4r/Makefile
new file mode 100644
index 000000000000..405cd1d5e30c
--- /dev/null
+++ b/net-im/ruby-xmpp4r/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: ruby-xmpp4r
+# Date created: 21 Nov 2005
+# Whom: Stephan Maka <stephan@spaceboyz.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xmpp4r
+PORTVERSION= 0.2
+CATEGORIES= net-im ruby
+MASTER_SITES= http://download.gna.org/xmpp4r/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= ruby
+
+MAINTAINER= stephan@spaceboyz.net
+COMMENT= XMPP/Jabber library for Ruby
+
+USE_RUBY= YES
+USE_RUBY_RDOC= YES
+
+LIB_FILES= lib/xmpp4r.rb lib/callbacks.rb lib/xmpp4r
+DOCS= ChangeLog LICENSE README
+EXAMPLES= basic advanced
+
+do-build:
+.if !defined(NOPORTDOCS)
+ cd ${BUILD_WRKSRC}; ${RUBY_RDOC} \
+ -o rdoc \
+ --all --fileboxes --inline-source --line-numbers \
+ ${LIB_FILES}
+.endif
+
+do-install:
+ cd ${INSTALL_WRKSRC}; ${CP} -R ${LIB_FILES} ${RUBY_SITELIBDIR}/
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+ ${CP} -R ${WRKSRC}/rdoc/ ${RUBY_MODDOCDIR}/
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+.for f in ${EXAMPLES}
+ ${CP} -R ${WRKSRC}/data/doc/xmpp4r/examples/${f}/ ${RUBY_MODEXAMPLESDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/net-im/ruby-xmpp4r/distinfo b/net-im/ruby-xmpp4r/distinfo
new file mode 100644
index 000000000000..61accc1ff846
--- /dev/null
+++ b/net-im/ruby-xmpp4r/distinfo
@@ -0,0 +1,3 @@
+MD5 (ruby/xmpp4r-0.2.tgz) = 6294ccce6736a29d9173d1608fa46093
+SHA256 (ruby/xmpp4r-0.2.tgz) = 06844fd949a6fae6551f0ed5a5078146531aa052ed5190503c7ca215b7bc2c0c
+SIZE (ruby/xmpp4r-0.2.tgz) = 74699
diff --git a/net-im/ruby-xmpp4r/pkg-descr b/net-im/ruby-xmpp4r/pkg-descr
new file mode 100644
index 000000000000..1f4e2f1640ed
--- /dev/null
+++ b/net-im/ruby-xmpp4r/pkg-descr
@@ -0,0 +1,12 @@
+XMPP4R is an XMPP/Jabber library for Ruby.
+
+Features:
+* Fully object-oriented (well, it's Ruby ;)
+* Aims at being XMPP compliant
+* Threaded and non-threaded mode
+* Well unit-tested and documented code
+* Uses well-known and well-tested software like REXML
+* Very easy to extend
+* Released under Ruby's license, which is compatible with the GNU GPL
+
+WWW: http://home.gna.org/xmpp4r/
diff --git a/net-im/ruby-xmpp4r/pkg-plist b/net-im/ruby-xmpp4r/pkg-plist
new file mode 100644
index 000000000000..8cd5e6101ae2
--- /dev/null
+++ b/net-im/ruby-xmpp4r/pkg-plist
@@ -0,0 +1,165 @@
+%%RUBY_SITELIBDIR%%/callbacks.rb
+%%RUBY_SITELIBDIR%%/xmpp4r.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/debuglog.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/component.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/client.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/connection.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/error.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/iq.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/jid.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/message.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/presence.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/rexmladdons.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/stream.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/streamparser.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/x.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/xmlstanza.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/xmpp4r.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/helpers/roster.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/helpers/version.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/helpers/vcard.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/iq/query.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/iq/vcard.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/iq/query/discoinfo.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/iq/query/discoitems.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/iq/query/roster.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/iq/query/version.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/x/mucuseritem.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/x/delay.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/x/muc.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/x/roster.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/authenticationfailure.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/idgenerator.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/errorexception.rb
+@dirrm %%RUBY_SITELIBDIR%%/xmpp4r/iq/query
+@dirrm %%RUBY_SITELIBDIR%%/xmpp4r/iq
+@dirrm %%RUBY_SITELIBDIR%%/xmpp4r/x
+@dirrm %%RUBY_SITELIBDIR%%/xmpp4r/helpers
+@dirrm %%RUBY_SITELIBDIR%%/xmpp4r
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/LICENSE
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq/query/version_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq/query/roster_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq/query/discoinfo_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq/query/discoitems_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq/query_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq/vcard_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/x/mucuseritem_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/x/muc_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/x/delay_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/x/roster_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/helpers/vcard_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/helpers/version_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/helpers/roster_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/authenticationfailure_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/debuglog_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/rexmladdons_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/stream_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/xmpp4r_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/streamparser_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/jid_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/presence_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/message_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/component_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/xmlstanza_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/idgenerator_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/client_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/x_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/connection_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/error_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/errorexception_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/callbacks_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/REXML/IOSource.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/REXML/XPathParser.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/REXML/Element.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Helpers/Version.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Helpers/Roster.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Helpers/RosterItem.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Helpers/Vcard.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Message.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/IqQueryRoster.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/XRosterItem.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/XDelay.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/XMLStanza.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/IqVcard.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/IdGenerator.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/DiscoIdentity.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/IqQueryVersion.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/StreamParser.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/X.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/XRoster.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/XMuc.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Client.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/IqQuery.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Stream.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Presence.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/JID.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Iq.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/XMucUserItem.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/DiscoItem.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/IqQueryDiscoItems.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Component.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/XMucUser.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/AuthenticationFailure.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/ErrorException.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Connection.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/IqQueryDiscoInfo.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/RosterItem.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Error.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Helpers.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/DiscoFeature.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/CallbackList.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Callback.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/REXML.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/fr_file_index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/fr_class_index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/fr_method_index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/created.rid
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/rdoc-style.css
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq/query
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/x
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/helpers
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/REXML
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Helpers
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/echo_threaded.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/send_vcard.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/change_password.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/versionbot.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rosterrename.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rosterwatch.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/mass_sender.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/component.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/jabbersend.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/roster.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/echo_nonthreaded.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/client.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rosterprint.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/shellmgr/shellmgr_jabber.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/shellmgr/shellmgr.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/shellmgr/shellmgr_test.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/adventure/cube.xml
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/adventure/README
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/adventure/world.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/adventure/tower.xml
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/adventure/adventure.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/adventure/adventuremuc.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/getonline.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rosterdiscovery.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/versionpoll.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/minimuc.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/migrate.rb
+@dirrm %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/shellmgr
+@dirrm %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/adventure
+@dirrm %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%
diff --git a/net-im/rubygem-xmpp4r/Makefile b/net-im/rubygem-xmpp4r/Makefile
new file mode 100644
index 000000000000..405cd1d5e30c
--- /dev/null
+++ b/net-im/rubygem-xmpp4r/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: ruby-xmpp4r
+# Date created: 21 Nov 2005
+# Whom: Stephan Maka <stephan@spaceboyz.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= xmpp4r
+PORTVERSION= 0.2
+CATEGORIES= net-im ruby
+MASTER_SITES= http://download.gna.org/xmpp4r/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= ruby
+
+MAINTAINER= stephan@spaceboyz.net
+COMMENT= XMPP/Jabber library for Ruby
+
+USE_RUBY= YES
+USE_RUBY_RDOC= YES
+
+LIB_FILES= lib/xmpp4r.rb lib/callbacks.rb lib/xmpp4r
+DOCS= ChangeLog LICENSE README
+EXAMPLES= basic advanced
+
+do-build:
+.if !defined(NOPORTDOCS)
+ cd ${BUILD_WRKSRC}; ${RUBY_RDOC} \
+ -o rdoc \
+ --all --fileboxes --inline-source --line-numbers \
+ ${LIB_FILES}
+.endif
+
+do-install:
+ cd ${INSTALL_WRKSRC}; ${CP} -R ${LIB_FILES} ${RUBY_SITELIBDIR}/
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+ ${CP} -R ${WRKSRC}/rdoc/ ${RUBY_MODDOCDIR}/
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+.for f in ${EXAMPLES}
+ ${CP} -R ${WRKSRC}/data/doc/xmpp4r/examples/${f}/ ${RUBY_MODEXAMPLESDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/net-im/rubygem-xmpp4r/distinfo b/net-im/rubygem-xmpp4r/distinfo
new file mode 100644
index 000000000000..61accc1ff846
--- /dev/null
+++ b/net-im/rubygem-xmpp4r/distinfo
@@ -0,0 +1,3 @@
+MD5 (ruby/xmpp4r-0.2.tgz) = 6294ccce6736a29d9173d1608fa46093
+SHA256 (ruby/xmpp4r-0.2.tgz) = 06844fd949a6fae6551f0ed5a5078146531aa052ed5190503c7ca215b7bc2c0c
+SIZE (ruby/xmpp4r-0.2.tgz) = 74699
diff --git a/net-im/rubygem-xmpp4r/pkg-descr b/net-im/rubygem-xmpp4r/pkg-descr
new file mode 100644
index 000000000000..1f4e2f1640ed
--- /dev/null
+++ b/net-im/rubygem-xmpp4r/pkg-descr
@@ -0,0 +1,12 @@
+XMPP4R is an XMPP/Jabber library for Ruby.
+
+Features:
+* Fully object-oriented (well, it's Ruby ;)
+* Aims at being XMPP compliant
+* Threaded and non-threaded mode
+* Well unit-tested and documented code
+* Uses well-known and well-tested software like REXML
+* Very easy to extend
+* Released under Ruby's license, which is compatible with the GNU GPL
+
+WWW: http://home.gna.org/xmpp4r/
diff --git a/net-im/rubygem-xmpp4r/pkg-plist b/net-im/rubygem-xmpp4r/pkg-plist
new file mode 100644
index 000000000000..8cd5e6101ae2
--- /dev/null
+++ b/net-im/rubygem-xmpp4r/pkg-plist
@@ -0,0 +1,165 @@
+%%RUBY_SITELIBDIR%%/callbacks.rb
+%%RUBY_SITELIBDIR%%/xmpp4r.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/debuglog.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/component.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/client.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/connection.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/error.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/iq.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/jid.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/message.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/presence.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/rexmladdons.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/stream.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/streamparser.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/x.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/xmlstanza.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/xmpp4r.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/helpers/roster.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/helpers/version.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/helpers/vcard.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/iq/query.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/iq/vcard.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/iq/query/discoinfo.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/iq/query/discoitems.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/iq/query/roster.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/iq/query/version.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/x/mucuseritem.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/x/delay.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/x/muc.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/x/roster.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/authenticationfailure.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/idgenerator.rb
+%%RUBY_SITELIBDIR%%/xmpp4r/errorexception.rb
+@dirrm %%RUBY_SITELIBDIR%%/xmpp4r/iq/query
+@dirrm %%RUBY_SITELIBDIR%%/xmpp4r/iq
+@dirrm %%RUBY_SITELIBDIR%%/xmpp4r/x
+@dirrm %%RUBY_SITELIBDIR%%/xmpp4r/helpers
+@dirrm %%RUBY_SITELIBDIR%%/xmpp4r
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/LICENSE
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq/query/version_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq/query/roster_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq/query/discoinfo_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq/query/discoitems_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq/query_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq/vcard_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/x/mucuseritem_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/x/muc_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/x/delay_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/x/roster_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/helpers/vcard_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/helpers/version_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/helpers/roster_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/authenticationfailure_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/debuglog_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/rexmladdons_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/stream_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/xmpp4r_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/streamparser_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/jid_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/presence_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/message_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/component_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/xmlstanza_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/idgenerator_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/client_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/x_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/connection_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/error_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/errorexception_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/callbacks_rb.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/REXML/IOSource.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/REXML/XPathParser.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/REXML/Element.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Helpers/Version.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Helpers/Roster.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Helpers/RosterItem.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Helpers/Vcard.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Message.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/IqQueryRoster.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/XRosterItem.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/XDelay.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/XMLStanza.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/IqVcard.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/IdGenerator.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/DiscoIdentity.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/IqQueryVersion.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/StreamParser.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/X.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/XRoster.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/XMuc.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Client.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/IqQuery.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Stream.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Presence.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/JID.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Iq.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/XMucUserItem.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/DiscoItem.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/IqQueryDiscoItems.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Component.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/XMucUser.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/AuthenticationFailure.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/ErrorException.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Connection.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/IqQueryDiscoInfo.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/RosterItem.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Error.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Helpers.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/DiscoFeature.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/CallbackList.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Callback.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/REXML.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/fr_file_index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/fr_class_index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/fr_method_index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/created.rid
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/index.html
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/rdoc-style.css
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq/query
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/iq
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/x
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r/helpers
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib/xmpp4r
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files/lib
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/files
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/REXML
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber/Helpers
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes/Jabber
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%/classes
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/echo_threaded.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/send_vcard.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/change_password.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/versionbot.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rosterrename.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rosterwatch.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/mass_sender.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/component.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/jabbersend.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/roster.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/echo_nonthreaded.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/client.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rosterprint.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/shellmgr/shellmgr_jabber.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/shellmgr/shellmgr.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/shellmgr/shellmgr_test.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/adventure/cube.xml
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/adventure/README
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/adventure/world.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/adventure/tower.xml
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/adventure/adventure.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/adventure/adventuremuc.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/getonline.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/rosterdiscovery.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/versionpoll.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/minimuc.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/migrate.rb
+@dirrm %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/shellmgr
+@dirrm %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/adventure
+@dirrm %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%