diff options
author | wg <wg@FreeBSD.org> | 2014-08-05 06:37:49 +0800 |
---|---|---|
committer | wg <wg@FreeBSD.org> | 2014-08-05 06:37:49 +0800 |
commit | 8519dee8e6fca19a8f98a93f7a3cba3eead6ffbd (patch) | |
tree | 1aeb430aba72c76072312fbcaa70ed9fd5578650 /multimedia | |
parent | cd645b88fb1469a09acfe6b920da6bb9eb68168a (diff) | |
download | freebsd-ports-gnome-8519dee8e6fca19a8f98a93f7a3cba3eead6ffbd.tar.gz freebsd-ports-gnome-8519dee8e6fca19a8f98a93f7a3cba3eead6ffbd.tar.zst freebsd-ports-gnome-8519dee8e6fca19a8f98a93f7a3cba3eead6ffbd.zip |
multimedia/py-mlt: support stage
PR: 192360
Submitted by: christian.mangin gmail com
Diffstat (limited to 'multimedia')
-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" |