svn commit: r462989 - head/science/py-ws2300

Yuri Victorovich yuri at FreeBSD.org
Mon Feb 26 04:16:15 UTC 2018


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>


More information about the svn-ports-head mailing list