svn commit: r364062 - head/multimedia/py-mlt
William Grzybowski
wg at FreeBSD.org
Mon Aug 4 22:37:50 UTC 2014
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 at FreeBSD.org
+MAINTAINER= ports at 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"
More information about the svn-ports-head
mailing list