aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authoryuri <yuri@FreeBSD.org>2018-02-26 12:16:14 +0800
committeryuri <yuri@FreeBSD.org>2018-02-26 12:16:14 +0800
commit646d918ca517c4b0ec79aab43b4f1b18f5d442c5 (patch)
treeae48d0abc10b42fbbde435fbca8149719cd78aae /science
parent296658dd4098a346a6763c27306b7c3074bc2271 (diff)
downloadfreebsd-ports-gnome-646d918ca517c4b0ec79aab43b4f1b18f5d442c5.tar.gz
freebsd-ports-gnome-646d918ca517c4b0ec79aab43b4f1b18f5d442c5.tar.zst
freebsd-ports-gnome-646d918ca517c4b0ec79aab43b4f1b18f5d442c5.zip
science/py-ws2300: Unbroke the port.
Port changes: * Fixed shebang * While here, added USE_PYTHON=concurrent Approved by: tcberner (mentor, implicit)
Diffstat (limited to 'science')
-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>