aboutsummaryrefslogtreecommitdiff
path: root/comms/py-serial
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-02-27 03:25:41 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-02-27 03:25:41 +0000
commit1c4f8b2988b3de1e56c3b50f8def4d809ca74085 (patch)
treed73d9ae84e21335567dbdf760271b6ee625d2fea /comms/py-serial
parentf191bfbe47335427abf46029284beeabc5635eed (diff)
downloadports-1c4f8b2988b3de1e56c3b50f8def4d809ca74085.tar.gz
ports-1c4f8b2988b3de1e56c3b50f8def4d809ca74085.zip
Notes
Diffstat (limited to 'comms/py-serial')
-rw-r--r--comms/py-serial/Makefile30
-rw-r--r--comms/py-serial/distinfo1
-rw-r--r--comms/py-serial/pkg-comment1
-rw-r--r--comms/py-serial/pkg-descr7
-rw-r--r--comms/py-serial/pkg-plist11
5 files changed, 50 insertions, 0 deletions
diff --git a/comms/py-serial/Makefile b/comms/py-serial/Makefile
new file mode 100644
index 000000000000..008a606c91da
--- /dev/null
+++ b/comms/py-serial/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: py-serial
+# Date created: 26 February 2002
+# Whom: Hye-Shik Chang <perky@fallin.lv>
+#
+# $FreeBSD$
+#
+
+PORTNAME= serial
+PORTVERSION= 1.12
+CATEGORIES= comms python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= pyserial
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pyserial-${PORTVERSION}
+
+MAINTAINER= perky@fallin.lv
+
+USE_ZIP= yes
+EXTRACT_BEFORE_ARGS= -a
+USE_PYTHON= yes
+PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g}
+SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
+
+do-build:
+ ${SETUP_CMD} build
+
+do-install:
+ ${SETUP_CMD} install
+
+.include <bsd.port.mk>
diff --git a/comms/py-serial/distinfo b/comms/py-serial/distinfo
new file mode 100644
index 000000000000..7d473f2c307e
--- /dev/null
+++ b/comms/py-serial/distinfo
@@ -0,0 +1 @@
+MD5 (pyserial-1.12.zip) = ac41d76fcb8a7bf3689790f0ad069428
diff --git a/comms/py-serial/pkg-comment b/comms/py-serial/pkg-comment
new file mode 100644
index 000000000000..7f422d8191e2
--- /dev/null
+++ b/comms/py-serial/pkg-comment
@@ -0,0 +1 @@
+Serial port encapsulation library for Python
diff --git a/comms/py-serial/pkg-descr b/comms/py-serial/pkg-descr
new file mode 100644
index 000000000000..e98c04ac4ac7
--- /dev/null
+++ b/comms/py-serial/pkg-descr
@@ -0,0 +1,7 @@
+This module capsulates the access for the serial port.
+It provides backends for stadard Python running on Windows,
+Linux, BSD (possibly any POSIX compilant system) and Jython.
+The module named "serial" automaticaly selects the appropriate
+backed.
+
+WWW: http://pyserial.sourceforge.net/
diff --git a/comms/py-serial/pkg-plist b/comms/py-serial/pkg-plist
new file mode 100644
index 000000000000..2550132df65b
--- /dev/null
+++ b/comms/py-serial/pkg-plist
@@ -0,0 +1,11 @@
+%%PYTHON_SITELIBDIR%%/serial/__init__.py
+%%PYTHON_SITELIBDIR%%/serial/__init__.pyc
+%%PYTHON_SITELIBDIR%%/serial/serialjava.py
+%%PYTHON_SITELIBDIR%%/serial/serialjava.pyc
+%%PYTHON_SITELIBDIR%%/serial/serialposix.py
+%%PYTHON_SITELIBDIR%%/serial/serialposix.pyc
+%%PYTHON_SITELIBDIR%%/serial/serialutil.py
+%%PYTHON_SITELIBDIR%%/serial/serialutil.pyc
+%%PYTHON_SITELIBDIR%%/serial/serialwin32.py
+%%PYTHON_SITELIBDIR%%/serial/serialwin32.pyc
+@dirrm %%PYTHON_SITELIBDIR%%/serial