Lines 25-32
Link Here
|
25 |
BUILD_WRKSRC= ${WRKSRC}/src/swig/python |
25 |
BUILD_WRKSRC= ${WRKSRC}/src/swig/python |
26 |
INSTALL_WRKSRC= ${BUILD_WRKSRC} |
26 |
INSTALL_WRKSRC= ${BUILD_WRKSRC} |
27 |
|
27 |
|
28 |
NO_STAGE= yes |
|
|
29 |
|
30 |
OPTIONS_DEFINE= EXAMPLES |
28 |
OPTIONS_DEFINE= EXAMPLES |
31 |
|
29 |
|
32 |
.include <bsd.port.options.mk> |
30 |
.include <bsd.port.options.mk> |
Lines 40-55
Link Here
|
40 |
@cd ${BUILD_WRKSRC} && ${SH} build |
38 |
@cd ${BUILD_WRKSRC} && ${SH} build |
41 |
|
39 |
|
42 |
do-install: |
40 |
do-install: |
43 |
${INSTALL_LIB} ${INSTALL_WRKSRC}/_mlt.so ${PYTHONPREFIX_SITELIBDIR} |
41 |
@${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} |
44 |
${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/mlt.py ${PYTHONPREFIX_SITELIBDIR} |
42 |
${INSTALL_LIB} ${INSTALL_WRKSRC}/_mlt.so ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} |
45 |
${PYTHON_CMD} -c 'import mlt' |
43 |
${INSTALL_SCRIPT} ${INSTALL_WRKSRC}/mlt.py ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} |
46 |
${PYTHON_CMD} -Oc 'import mlt' |
44 |
@cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${PYTHON_CMD} -c 'import mlt' |
|
|
45 |
@cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${PYTHON_CMD} -Oc 'import mlt' |
47 |
|
46 |
|
48 |
post-install: |
47 |
post-install: |
49 |
.if ${PORT_OPTIONS:MEXAMPLES} |
48 |
.if ${PORT_OPTIONS:MEXAMPLES} |
50 |
${MKDIR} ${EXAMPLESDIR} |
49 |
${MKDIR} ${STAGEDIR}${EXAMPLESDIR} |
51 |
. for f in codecs getimage play waveforms |
50 |
. for f in codecs getimage play waveforms |
52 |
${INSTALL_DATA} ${INSTALL_WRKSRC}/${f}.py ${EXAMPLESDIR} |
51 |
${INSTALL_DATA} ${INSTALL_WRKSRC}/${f}.py ${STAGEDIR}${EXAMPLESDIR} |
53 |
. endfor |
52 |
. endfor |
54 |
.endif |
53 |
.endif |
55 |
|
54 |
|