aboutsummaryrefslogtreecommitdiffstats
path: root/comms/py-serial/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-02-27 11:25:41 +0800
committerijliao <ijliao@FreeBSD.org>2002-02-27 11:25:41 +0800
commitdf169d1b36d2145346b290a3d36862358baeba07 (patch)
treeadd4553a10240a7090210eec032ab5db8334d5fd /comms/py-serial/Makefile
parentae54c7f49cca4aff6623c5615bb53c2bafaea7e7 (diff)
downloadfreebsd-ports-gnome-df169d1b36d2145346b290a3d36862358baeba07.tar.gz
freebsd-ports-gnome-df169d1b36d2145346b290a3d36862358baeba07.tar.zst
freebsd-ports-gnome-df169d1b36d2145346b290a3d36862358baeba07.zip
add py-serial 1.12
Serial port encapsulation library for Python PR: 35367 Submitted by: Hye-Shik Chang <perky@fallin.lv>
Diffstat (limited to 'comms/py-serial/Makefile')
-rw-r--r--comms/py-serial/Makefile30
1 files changed, 30 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>