diff options
-rw-r--r-- | multimedia/py-mlt/Makefile | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/multimedia/py-mlt/Makefile b/multimedia/py-mlt/Makefile index 30cc46a99561..c51e67179cf9 100644 --- a/multimedia/py-mlt/Makefile +++ b/multimedia/py-mlt/Makefile @@ -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" |