summaryrefslogtreecommitdiffstats
path: root/comms/py-serial/Makefile
diff options
context:
space:
mode:
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 0000000..008a606
--- /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>
OpenPOWER on IntegriCloud