aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-12-06 20:37:43 +0800
committerpav <pav@FreeBSD.org>2003-12-06 20:37:43 +0800
commita11fea8a6ccb41836072508cce0c08a08f51b08c (patch)
treec53cdc8a07ab1e320bb8d1345a06ba5e1d109e87 /comms
parent722ee12aa0048b37dd1152cdcc71b89a95c727c3 (diff)
downloadfreebsd-ports-gnome-a11fea8a6ccb41836072508cce0c08a08f51b08c.tar.gz
freebsd-ports-gnome-a11fea8a6ccb41836072508cce0c08a08f51b08c.tar.zst
freebsd-ports-gnome-a11fea8a6ccb41836072508cce0c08a08f51b08c.zip
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>
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