Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Aug 2014 22:37:49 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364062 - head/multimedia/py-mlt
Message-ID:  <53e00b3d.5311.42d18042@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Mon Aug  4 22:37:49 2014
New Revision: 364062
URL: http://svnweb.freebsd.org/changeset/ports/364062
QAT: https://qat.redports.org/buildarchive/r364062/

Log:
  multimedia/py-mlt: support stage
  
  PR:		192360
  Submitted by:	christian.mangin gmail com

Modified:
  head/multimedia/py-mlt/Makefile

Modified: head/multimedia/py-mlt/Makefile
==============================================================================
--- head/multimedia/py-mlt/Makefile	Mon Aug  4 22:19:31 2014	(r364061)
+++ head/multimedia/py-mlt/Makefile	Mon Aug  4 22:37:49 2014	(r364062)
@@ -5,7 +5,7 @@ PORTREVISION=	0
 CATEGORIES=	multimedia python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Python bindings for the MLT multimedia framework
 
 LICENSE=	GPLv2
@@ -25,8 +25,6 @@ PLIST=		${.CURDIR}/pkg-plist
 BUILD_WRKSRC=	${WRKSRC}/src/swig/python
 INSTALL_WRKSRC=	${BUILD_WRKSRC}
 
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	EXAMPLES
 
 .include <bsd.port.options.mk>
@@ -40,17 +38,14 @@ do-build:
 	@cd ${BUILD_WRKSRC} && ${SH} build
 
 do-install:
-	${INSTALL_LIB} ${INSTALL_WRKSRC}/_mlt.so ${PYTHONPREFIX_SITELIBDIR}
-	${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/mlt.py ${PYTHONPREFIX_SITELIBDIR}
-	${PYTHON_CMD} -c 'import mlt'
-	${PYTHON_CMD} -Oc 'import mlt'
-
-post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
-	${MKDIR} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+	${INSTALL_LIB} ${INSTALL_WRKSRC}/_mlt.so ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+	${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/mlt.py ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+	@cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${PYTHON_CMD} -c 'import mlt'
+	@cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${PYTHON_CMD} -Oc 'import mlt'
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 . for f in codecs getimage play waveforms
-	${INSTALL_DATA} ${INSTALL_WRKSRC}/${f}.py ${EXAMPLESDIR}
+	${INSTALL_DATA} ${INSTALL_WRKSRC}/${f}.py ${STAGEDIR}${EXAMPLESDIR}
 . endfor
-.endif
 
 .include "${MASTERDIR}/Makefile"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e00b3d.5311.42d18042>