Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Feb 2018 04:16:14 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462989 - head/science/py-ws2300
Message-ID:  <201802260416.w1Q4GEEH052851@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Feb 26 04:16:14 2018
New Revision: 462989
URL: https://svnweb.freebsd.org/changeset/ports/462989

Log:
  science/py-ws2300: Unbroke the port.
  
  Port changes:
  * Fixed shebang
  * While here, added USE_PYTHON=concurrent
  
  Approved by:	tcberner (mentor, implicit)

Modified:
  head/science/py-ws2300/Makefile

Modified: head/science/py-ws2300/Makefile
==============================================================================
--- head/science/py-ws2300/Makefile	Mon Feb 26 03:42:57 2018	(r462988)
+++ head/science/py-ws2300/Makefile	Mon Feb 26 04:16:14 2018	(r462989)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802260416.w1Q4GEEH052851>