aboutsummaryrefslogtreecommitdiff
path: root/net-im/py-punjab
diff options
context:
space:
mode:
authorBeech Rintoul <beech@FreeBSD.org>2008-02-15 05:05:56 +0000
committerBeech Rintoul <beech@FreeBSD.org>2008-02-15 05:05:56 +0000
commit1f82db18a4eca4df8e4d289a297d75ed89459f3c (patch)
treebf41e234b67d50f1a7f7df061f69ab3ddddd64ff /net-im/py-punjab
parentd1cc839e3d5cef8cda5a62173d19264becf01314 (diff)
downloadports-1f82db18a4eca4df8e4d289a297d75ed89459f3c.tar.gz
ports-1f82db18a4eca4df8e4d289a297d75ed89459f3c.zip
Notes
Diffstat (limited to 'net-im/py-punjab')
-rw-r--r--net-im/py-punjab/Makefile48
-rw-r--r--net-im/py-punjab/distinfo3
-rw-r--r--net-im/py-punjab/files/pkg-message.in9
-rw-r--r--net-im/py-punjab/files/punjab.sh.in22
-rw-r--r--net-im/py-punjab/pkg-descr9
-rw-r--r--net-im/py-punjab/pkg-plist123
6 files changed, 214 insertions, 0 deletions
diff --git a/net-im/py-punjab/Makefile b/net-im/py-punjab/Makefile
new file mode 100644
index 000000000000..8715be41c5b8
--- /dev/null
+++ b/net-im/py-punjab/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: py-punjab
+# Date created: 17 February 2006
+# Whom: jodocus <jodocus@jodocus.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= punjab
+PORTVERSION= 0.12
+CATEGORIES= net-im python
+MASTER_SITES= http://butterfat.net/punjab/
+PKGNAMEPREFIX= py-
+
+MAINTAINER= beech@FreeBSD.org
+COMMENT= HTTP-polling and HTTP-binding gateway for Jabber
+
+USE_PYTHON= 2.4+
+USE_PYDISTUTILS= yes
+USE_TWISTED= words web conch names
+
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/SOAPpy/__init__.py:${PORTSDIR}/net/py-soappy
+
+PORTDOCS= README.txt INSTALL.txt NOTES.txt PKG-INFO
+
+USE_RC_SUBR= punjab.sh
+SUB_LIST+= "PYTHON_CMD=${PYTHONBASE}/bin/${PYTHON_VERSION}"
+
+SUB_FILES= pkg-message
+
+.include <bsd.port.pre.mk>
+
+post-install:
+ @${INSTALL} -d ${WWWDIR}
+ @${CAT} ${PKGMESSAGE}
+
+.if !defined(NOPORTDOCS)
+ @${INSTALL} -d ${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+.endif
+
+.if !defined(NOPORTEXAMPLES)
+ @cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
+PLIST_SUB+= PORTEXAMPLES=""
+.else
+PLIST_SUB+= PORTEXAMPLES="@comment "
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net-im/py-punjab/distinfo b/net-im/py-punjab/distinfo
new file mode 100644
index 000000000000..bfbe206bba1c
--- /dev/null
+++ b/net-im/py-punjab/distinfo
@@ -0,0 +1,3 @@
+MD5 (punjab-0.12.tar.gz) = 4b103716a259cacd7508cfd6cc35e4a5
+SHA256 (punjab-0.12.tar.gz) = 86fbf646d8a022b1e6af24984c0ad091550b5a6d9528aaaa60c930ef783af5fd
+SIZE (punjab-0.12.tar.gz) = 205343
diff --git a/net-im/py-punjab/files/pkg-message.in b/net-im/py-punjab/files/pkg-message.in
new file mode 100644
index 000000000000..6e0258935edf
--- /dev/null
+++ b/net-im/py-punjab/files/pkg-message.in
@@ -0,0 +1,9 @@
+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+Punjab has been installed.
+
+Please read the html documentation and tutorial at:
+%%EXAMPLESDIR%% for setup and use.
+
+Docs are also installed in %%DOCSDIR%%
+
+* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
diff --git a/net-im/py-punjab/files/punjab.sh.in b/net-im/py-punjab/files/punjab.sh.in
new file mode 100644
index 000000000000..3411803dd292
--- /dev/null
+++ b/net-im/py-punjab/files/punjab.sh.in
@@ -0,0 +1,22 @@
+#!/bin/sh
+#
+
+# PROVIDE: punjab
+# REQUIRE: DAEMON
+# BEFORE:
+
+. %%RC_SUBR%%
+
+punjab_enable=${punjab_enable-"NO"}
+punjab_chdir=${punjab_chdir-"%%HTMLDIR%%"}
+
+name="punjab"
+rcvar=`set_rcvar`
+pidfile="/var/run/twistd.pid"
+command="%%PREFIX%%/bin/twistd"
+command_args="--pidfile $pidfile -f %%PREFIX%%/libexec/punjab.tap"
+command_interpreter="%%PYTHON_CMD%%"
+
+load_rc_config $name
+run_rc_command "$1"
+
diff --git a/net-im/py-punjab/pkg-descr b/net-im/py-punjab/pkg-descr
new file mode 100644
index 000000000000..9de27cbf33a2
--- /dev/null
+++ b/net-im/py-punjab/pkg-descr
@@ -0,0 +1,9 @@
+PunJab is a HTTP jabber client interface. It is a SOAP, XMLRPC,
+JEP-0025 or JEP-0124 server that allows persistent client connections
+to a jabber server. It can be used for many things, but its main
+purpose is to allow for stateless applications (ie web) a stateful
+connection to jabber.
+
+For more information about punjab see the following URL :
+
+WWW: http://www.butterfat.net/wiki/Projects/PunJab
diff --git a/net-im/py-punjab/pkg-plist b/net-im/py-punjab/pkg-plist
new file mode 100644
index 000000000000..6dcdec02d204
--- /dev/null
+++ b/net-im/py-punjab/pkg-plist
@@ -0,0 +1,123 @@
+%%PYTHON_SITELIBDIR%%/punjab/__init__.py
+%%PYTHON_SITELIBDIR%%/punjab/__init__.pyc
+%%PYTHON_SITELIBDIR%%/punjab/__init__.pyo
+%%PYTHON_SITELIBDIR%%/punjab/error.py
+%%PYTHON_SITELIBDIR%%/punjab/error.pyc
+%%PYTHON_SITELIBDIR%%/punjab/error.pyo
+%%PYTHON_SITELIBDIR%%/punjab/httpb.py
+%%PYTHON_SITELIBDIR%%/punjab/httpb.pyc
+%%PYTHON_SITELIBDIR%%/punjab/httpb.pyo
+%%PYTHON_SITELIBDIR%%/punjab/httpp.py
+%%PYTHON_SITELIBDIR%%/punjab/httpp.pyc
+%%PYTHON_SITELIBDIR%%/punjab/httpp.pyo
+%%PYTHON_SITELIBDIR%%/punjab/jabber.py
+%%PYTHON_SITELIBDIR%%/punjab/jabber.pyc
+%%PYTHON_SITELIBDIR%%/punjab/jabber.pyo
+%%PYTHON_SITELIBDIR%%/punjab/livepunjab.py
+%%PYTHON_SITELIBDIR%%/punjab/livepunjab.pyc
+%%PYTHON_SITELIBDIR%%/punjab/livepunjab.pyo
+%%PYTHON_SITELIBDIR%%/punjab/punjab.py
+%%PYTHON_SITELIBDIR%%/punjab/punjab.pyc
+%%PYTHON_SITELIBDIR%%/punjab/punjab.pyo
+%%PYTHON_SITELIBDIR%%/punjab/rest.py
+%%PYTHON_SITELIBDIR%%/punjab/rest.pyc
+%%PYTHON_SITELIBDIR%%/punjab/rest.pyo
+%%PYTHON_SITELIBDIR%%/punjab/sdb.py
+%%PYTHON_SITELIBDIR%%/punjab/sdb.pyc
+%%PYTHON_SITELIBDIR%%/punjab/sdb.pyo
+%%PYTHON_SITELIBDIR%%/punjab/session.py
+%%PYTHON_SITELIBDIR%%/punjab/session.pyc
+%%PYTHON_SITELIBDIR%%/punjab/session.pyo
+%%PYTHON_SITELIBDIR%%/punjab/soap.py
+%%PYTHON_SITELIBDIR%%/punjab/soap.pyc
+%%PYTHON_SITELIBDIR%%/punjab/soap.pyo
+%%PYTHON_SITELIBDIR%%/punjab/stream.py
+%%PYTHON_SITELIBDIR%%/punjab/stream.pyc
+%%PYTHON_SITELIBDIR%%/punjab/stream.pyo
+%%PYTHON_SITELIBDIR%%/punjab/tap.py
+%%PYTHON_SITELIBDIR%%/punjab/tap.pyc
+%%PYTHON_SITELIBDIR%%/punjab/tap.pyo
+%%PYTHON_SITELIBDIR%%/punjab/xmlrpc.py
+%%PYTHON_SITELIBDIR%%/punjab/xmlrpc.pyc
+%%PYTHON_SITELIBDIR%%/punjab/xmlrpc.pyo
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/__init__.py
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/__init__.pyc
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/__init__.pyo
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/client.py
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/client.pyc
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/client.pyo
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/component.py
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/component.pyc
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/component.pyo
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/disco.py
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/disco.pyc
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/disco.pyo
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/error.py
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/error.pyc
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/error.pyo
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/ns.py
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/ns.pyc
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/ns.pyo
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/pubsub.py
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/pubsub.pyc
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/pubsub.pyo
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/server.py
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/server.pyc
+%%PYTHON_SITELIBDIR%%/punjab/xmpp/server.pyo
+%%PYTHON_SITELIBDIR%%/twisted/plugins/punjab.py
+%%PYTHON_SITELIBDIR%%/twisted/plugins/punjab.pyc
+%%PYTHON_SITELIBDIR%%/twisted/plugins/punjab.pyo
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/LPlogin.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/LivePunjab.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/PubSub.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Subscribe.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/about.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chat.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/css/default.css
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/css/newdefault.css
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/demo.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/favicon.ico
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/help.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/close-hover.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/close.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/folder.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/folder_open.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/glade-new-user.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/glade-offline.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/glade-online.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/group_on.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/preview.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/roster/available-away.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/roster/available-chat.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/roster/available-dnd.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/roster/available-online.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/roster/available-xa.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/roster/available.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/roster/glade-groupchat-menu.xpm
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/roster/group-closed.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/roster/group-opened.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/roster/group_off.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/roster/group_on.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/roster/stalker.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/images/roster/unavailable.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/index.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/js/livepunjab.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/js/punchi.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/js/punjab.js
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/jwchat.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/punjab.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/punjab.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/punjab_login.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/punjab_roster.png
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/punjaborig.gif
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/restapi.html
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xmlrpcapi.html
+@dirrm %%PYTHON_SITELIBDIR%%/punjab/xmpp
+@dirrm %%PYTHON_SITELIBDIR%%/punjab
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/js
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/images/roster
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/images
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/css
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+@exec mkdir -p %D/%%WWWDIR%%
+@dirrmtry %%WWWDIR%%