Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2019 10:39:52 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518313 - head/multimedia/py-mlt
Message-ID:  <201911241039.xAOAdq3x083055@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sun Nov 24 10:39:51 2019
New Revision: 518313
URL: https://svnweb.freebsd.org/changeset/ports/518313

Log:
  multimedia/py-mlt: fix build
  
  - was forgotten in r518308
  
  Reported by:	antoine

Modified:
  head/multimedia/py-mlt/Makefile

Modified: head/multimedia/py-mlt/Makefile
==============================================================================
--- head/multimedia/py-mlt/Makefile	Sun Nov 24 10:25:07 2019	(r518312)
+++ head/multimedia/py-mlt/Makefile	Sun Nov 24 10:39:51 2019	(r518313)
@@ -5,18 +5,24 @@ PORTREVISION=	0
 CATEGORIES=	multimedia python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-USES=		python:2.7
+USES=		python:2.7 shebangfix
 USE_PYTHON=	flavors
 MASTERDIR=	${.CURDIR:H}/mlt
 SLAVEPORT=	swig Python
 
 PORTEXAMPLES=	*
 
-OPTIONS_DEFINE=	EXAMPLES
+SHEBANG_FILES=	src/swig/python/codecs.py \
+		src/swig/python/switcher.py \
+		src/swig/python/getimage.py \
+		src/swig/python/test_animation.py \
+		src/swig/python/webvfx_generator.py \
+		src/swig/python/play.py \
+		src/swig/python/waveforms.py
 
-post-patch:
-	@${REINPLACE_CMD} -e 's,which python,which ${PYTHON_VERSION},' -e 's,python -c,${PYTHON_VERSION} -c,' \
-			  -e 's,python-config,${PYTHON_VERSION}-config,' ${WRKSRC}/src/swig/python/build
+MAKE_ENV+=	PYTHON="${PYTHON_CMD}"
+
+OPTIONS_DEFINE=	EXAMPLES
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}



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