aboutsummaryrefslogtreecommitdiff
path: root/science/py-ws2300
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2018-02-26 04:16:14 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2018-02-26 04:16:14 +0000
commit19c58aa98b2fd449cb31fc5a327e73b929ffdecb (patch)
treeae48d0abc10b42fbbde435fbca8149719cd78aae /science/py-ws2300
parent181baddf3e06d83aa5fa1610f8287703fb446fb5 (diff)
downloadports-19c58aa98b2fd449cb31fc5a327e73b929ffdecb.tar.gz
ports-19c58aa98b2fd449cb31fc5a327e73b929ffdecb.zip
science/py-ws2300: Unbroke the port.
Port changes: * Fixed shebang * While here, added USE_PYTHON=concurrent Approved by: tcberner (mentor, implicit)
Notes
Notes: svn path=/head/; revision=462989
Diffstat (limited to 'science/py-ws2300')
-rw-r--r--science/py-ws2300/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/science/py-ws2300/Makefile b/science/py-ws2300/Makefile
index 9c11633ee666..320c0787ae7f 100644
--- a/science/py-ws2300/Makefile
+++ b/science/py-ws2300/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ws2300
PORTVERSION= 1.10
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= science python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION}-1
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -15,7 +15,7 @@ LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/agpl-3.0.txt
USES= python:2.7
-USE_PYTHON= distutils autoplist
+USE_PYTHON= distutils concurrent autoplist
NO_ARCH= yes
PLIST_FILES= bin/ws2300 man/man1/ws2300.1.gz
@@ -23,5 +23,6 @@ PLIST_FILES= bin/ws2300 man/man1/ws2300.1.gz
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/ws2300 ${STAGEDIR}${PREFIX}/bin/ws2300
${INSTALL_MAN} ${WRKSRC}/ws2300.1 ${STAGEDIR}${PREFIX}/man/man1/
+ @${REINPLACE_CMD} -i '' -e 's|/usr/bin/env python|${PYTHON_CMD}|' ${STAGEDIR}${PREFIX}/bin/ws2300
.include <bsd.port.mk>