summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-12-06 12:37:43 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-12-06 12:37:43 +0000
commit58f793741af5fad1ed31c134f799a06107fd3de2 (patch)
tree7f280c4dbe1726bbae1034378db07c557b26aaa6 /comms
parentUpdate to 4.3.29 (diff)
Add py-bulksms, python client for BulkSMS.co.uk's HTTP API for sending
short text messages to cell phones. Port contains python module and a command-line client 'sms'. PR: ports/59987 Submitted by: Andy Gilligan <andy@evo6.org>
Notes
Notes: svn path=/head/; revision=95182
Diffstat (limited to 'comms')
-rw-r--r--comms/Makefile1
-rw-r--r--comms/py-bulksms/Makefile29
-rw-r--r--comms/py-bulksms/distinfo1
-rw-r--r--comms/py-bulksms/pkg-descr6
-rw-r--r--comms/py-bulksms/pkg-plist19
5 files changed, 56 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile
index 84ebc4534dc2..88358aaae0a7 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -44,6 +44,7 @@
SUBDIR += p5-Device-SerialPort
SUBDIR += plp
SUBDIR += pr
+ SUBDIR += py-bulksms
SUBDIR += py-serial
SUBDIR += qico
SUBDIR += qpage
diff --git a/comms/py-bulksms/Makefile b/comms/py-bulksms/Makefile
new file mode 100644
index 000000000000..6cac0113dd4d
--- /dev/null
+++ b/comms/py-bulksms/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: py-bulksms
+# Date created: 06 Dec 2003
+# Whom: Andy Gilligan <andy@evo6.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= bulksms
+PORTVERSION= 0.1
+CATEGORIES= comms python
+MASTER_SITES= http://botanicus.net/dw/dl/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= andy@evo6.org
+COMMENT= Python client for the BulkSMS.co.uk HTTP API
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+WRKSRC= ${WRKDIR}/bulksms
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_MAN} ${WRKSRC}/README.html ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/comms/py-bulksms/distinfo b/comms/py-bulksms/distinfo
new file mode 100644
index 000000000000..081c1252b646
--- /dev/null
+++ b/comms/py-bulksms/distinfo
@@ -0,0 +1 @@
+MD5 (bulksms-0.1.tar.gz) = 4b19b6fa25bf8ca631bb9dc70a01abae
diff --git a/comms/py-bulksms/pkg-descr b/comms/py-bulksms/pkg-descr
new file mode 100644
index 000000000000..6250861de824
--- /dev/null
+++ b/comms/py-bulksms/pkg-descr
@@ -0,0 +1,6 @@
+This is an implementation of a client for BulkSMS.co.uk's HTTP API.
+It includes an object-oriented Python module which can be used in
+other python code, and an 'sms' program which can be used directly
+from the command line.
+
+WWW: http://botanicus.net/dw/dl/bulksms-README.0.1.html
diff --git a/comms/py-bulksms/pkg-plist b/comms/py-bulksms/pkg-plist
new file mode 100644
index 000000000000..797825d40ac7
--- /dev/null
+++ b/comms/py-bulksms/pkg-plist
@@ -0,0 +1,19 @@
+bin/sms
+%%PYTHON_SITELIBDIR%%/BulkSMS/CLI.py
+%%PYTHON_SITELIBDIR%%/BulkSMS/CLI.pyc
+%%PYTHON_SITELIBDIR%%/BulkSMS/CLI.pyo
+%%PYTHON_SITELIBDIR%%/BulkSMS/MNC.py
+%%PYTHON_SITELIBDIR%%/BulkSMS/MNC.pyc
+%%PYTHON_SITELIBDIR%%/BulkSMS/MNC.pyo
+%%PYTHON_SITELIBDIR%%/BulkSMS/OperatorLogo.py
+%%PYTHON_SITELIBDIR%%/BulkSMS/OperatorLogo.pyc
+%%PYTHON_SITELIBDIR%%/BulkSMS/OperatorLogo.pyo
+%%PYTHON_SITELIBDIR%%/BulkSMS/PhoneBook.py
+%%PYTHON_SITELIBDIR%%/BulkSMS/PhoneBook.pyc
+%%PYTHON_SITELIBDIR%%/BulkSMS/PhoneBook.pyo
+%%PYTHON_SITELIBDIR%%/BulkSMS/__init__.py
+%%PYTHON_SITELIBDIR%%/BulkSMS/__init__.pyc
+%%PYTHON_SITELIBDIR%%/BulkSMS/__init__.pyo
+%%PORTDOCS%%%%DOCSDIR%%/README.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%PYTHON_SITELIBDIR%%/BulkSMS